mount fstab
jim lawrence
fedorajim at gmail.com
Thu Feb 3 17:37:29 UTC 2005
On Thu, 03 Feb 2005 17:19:15 +0000, Paul Howarth <paul at city-fan.org> wrote:
> jim lawrence wrote:
> > On Thu, 3 Feb 2005 11:55:35 -0500, jim lawrence <fedorajim at gmail.com> wrote:
> >
> >>On Thu, 3 Feb 2005 22:13:46 +0530, Rahul Sundaram
> >><rahulsundaram at gmail.com> wrote:
> >>
> >>>On Thu, 3 Feb 2005 11:17:51 -0500, jim lawrence <fedorajim at gmail.com> wrote:
> >>>
> >>>>hi all,I just want to make sure this line that I put into fsab is
> >>>>going to allow me to automount my "D drive" and allow me to read &
> >>>>write to that drive without being root.
> >>>
> >>>looks good enough to me
> >>>
> >>>--
> >>>Regards,
> >>>Rahul Sundaram
> >>>
> >>
> >>i just rebooted and the permissions on the mounted drive are as follows
> >>
> >>drwxr-xr-x 9 root root 4096 Dec 31 1969 windrive
> >>
> >>how can i change them to me ??
> >>the drive is a fat32 partition just to let you know
> >
> >
> > -- i keep getting a permission denied
> >
> > drwxr-xr-x 9 root root 4096 Dec 31 1969 windrive
> > drwxrwxr-x 4 jim jim 4096 Jan 19 23:44 wireless
> > [root at JimsNotebook jim]# chown jim windrive
> > chown: changing ownership of `windrive': Operation not permitted
> > [root at JimsNotebook jim]#
>
> VFAT has no concept of who owns files, so you can't chown them. You need
> to specify who the owner should be at mount time, so try adding the
> options uid=jim,gid=jim to your fstab entry for this filesystem.
>
> Next time you mount it, you should then be the owner of the files.
>
> Paul.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
So this should do.....?
/dev/hda5 /home/jim/windrive vfat
defaults,rw,nodev,uid=jim,gid=jim,noexec 0 0
--
Jim Lawrence
Registered Linux User: #376813
********************************************************
When I'm feeling down, I like to whistle.
It makes the neighbor's dog run to the end of his chain and gag himself.
************************************
More information about the fedora-list
mailing list