D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Permissions are a pain (SOLVED)

 

On Sat, 28 Jun 2014 17:40:52 +0100
bad apple <mr.meowski@xxxxxxxx> wrote:

> 
> Pro tip: nuke the offending USB stick, and start again from scratch -
> this time, format it as NTFS rather than native as ext3/4. While that
> might sound weird, NTFS is a perfectly decent filesystem and Linux can
> handle it with no problem. Cross platform support is also excellent so
> you'll have no issues with r/w access on Windows (obviously) and r/o
> support on Mac OS (unless you install proper drivers from Paragon or
> whoever). As long as you have ntfs-3g installed then your system will
> just take care of everything for you and you won't have to worry about
> permissions and other weirdness.
> 
That is something I must look at. I have never tried NTFS. However, I
have no need of cross platform at all. This USB stick is for my use
only and I am a Linux only user for 15 years now. And wife and daughter
likewise. I will still read up about NTFS though.

> 
> In your case, you need to go brute force mode Neil:
> 
> sudo chown -Rv neil:neil /media/neil/usb-device
> 
> Where "neil" is presumed to be your username and the path should be
> changed to wherever your device is getting mounted. Or umount it, and
> mount it again manually wherever you like. Either way, 'touch
> /path/to/usb-device/hello.world' afterwards should create the file for
> you in the root of your thumbdrive without complaints.
> 
> Cheers
> 
Thanks, that worked. I will make a note of it in case I need it again.
I haven't checked but I assume the -R is recursive and -v is verbose. I
now need to find out why that worked but my attempt of

sudo chown neilwin /media/neilwin/usb-device

did not. As I said I did not get any error messages but nothing had
changed. Permissions can indeed be a pain.

Thanks

Neil

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq