[ubuntu-uk] Changing File/Folder permissions
Stephen Garton
sheepeatingtaz at sheepeatingtaz.co.uk
Mon Apr 27 14:47:20 BST 2009
2009/4/27 Matthew Daubney <matt at daubers.co.uk>
> On Mon, 2009-04-27 at 12:57 +0100, Stephen Garton wrote:
> > Afternoon All,
> >
> > I have a spare drive in my machine, formatted as fat32. All of the
> > folders in this drive (automounts to /media/storage) as listed as
> > being owned by root. When I try to change this (I've tried sudo chown
> > -R and sudo nautilus) I get permission denied errors.
> >
> > Any idea why this would be, and/or how I can change the permissions to
> > my user?
> >
> > Thanks,
> >
> > Steve Garton
> > sheepeatingtaz.co.uk
>
> You can use the uid and gid options with mount to make it mount fat32
> drives as if you own all the files. e.g.
>
> sudo mount /dev/sdX /media/MOUNTPOINT -o uid=1000,gid=1000
>
> HTH
>
> -Matt Daubney
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
>
Cheers Matt (and Chris),
I'll edit fstab to add these options see if that helps.
Steve Garton
sheepeatingtaz.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20090427/000945be/attachment.htm
More information about the ubuntu-uk
mailing list