Re: mount fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 03 Feb 2005 17:19:15 +0000, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
> jim lawrence wrote:
> > On Thu, 3 Feb 2005 11:55:35 -0500, jim lawrence <fedorajim@xxxxxxxxx> wrote:
> >
> >>On Thu, 3 Feb 2005 22:13:46 +0530, Rahul Sundaram
> >><rahulsundaram@xxxxxxxxx> wrote:
> >>
> >>>On Thu, 3 Feb 2005 11:17:51 -0500, jim lawrence <fedorajim@xxxxxxxxx> 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@JimsNotebook jim]# chown jim windrive
> > chown: changing ownership of `windrive': Operation not permitted
> > [root@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@xxxxxxxxxx
> 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.
************************************


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux