Trouble giving write access to non root users to the hard disk (FC-5)
hi fellows i have FC 5 installed on my system along with windows XP. i am trying to give write access to non root users but it doesnt seems to work. i edited Fstab for that. here it is
/dev/hda6 /mnt/Ddrive vfat rw 0 0
can anyone tell me why its not working?
Probably the mounting permissions are correct, but you need to check the folder permissions and ownership as well. Can you give us the results of:-
#ls -ld /mnt/Ddrive
#ls -l /mnt/Ddrive/
Naturally we would only be interested in the permissions and ownership, not your personal files.
here is the output of two commnads
[Sama@localhost ~]$ ls -ld /mnt/D1_D
drwxr-xr-x 5 root root 8192 Jan 1 1970 /mnt/D1_D
[Sama@localhost ~]$ ls -l /mnt/D1_D/
drwxr-xr-x 2 root root 8192 Mar 2 19:27 found.000
drwxr-xr-x 3 root root 8192 Aug 25 2007 Recycled
drwxr-xr-x 5 root root 8192 Dec 7 2006 System Volume Information
can u tell whats wrong?
i think its because i dont have write permission on the directories i mount my drives on.
is that right. actually i am not regular user of FC but i love using it. Its just that i do job on microsoft technologies and i dont get to work on linux much but its still a passion with me.
Yet I am not sure if you can change these "attributes" on a vfat partition. You might have to Google around for answers. Nevertheless I would first try the usual ways with chmod and chown. Remember however that vfat does not support them, so probably they will not work.
I worked on FC4 and FC6 for quite some time, and I agree that it is fun, until I tried SuSe. Being hard-headed, I then installed Slackware (because everyone says it is the distro not to use) for good.
i got ur point. i will try that one. but thanx for giving direction.
i came to linux because of its speed, property that its light on resources and its customizability and none of its features have disappointed me yet. i plan to use FC 8 but only thing thats bothers me sometimes is that they (Fedora) doesnt give the support for the later releases. like they finished support for FC3,4. and every time when there is a new verision up there u have to upgrade ur system.
I found the following in a Linux Magazine called Linux Format Issue 106 P110... Frequently asked questions....
add the following line in /etc/fstab:
dev/hda6 /mnt/D1_D vfat umask=000,uid=SAMA,gid=SAMA 0 0
Naturally you might need to update some fields according to your settings.
I hope it works.
|All times are GMT -5. The time now is 06:07 AM.|