/etc/fstab problem
Hello,
I've successfully set up a Win32 /Redhat dual boot situation here at the office. Using the #mkdir /mnt/data #mount /dev/sda5 /mnt/data I am manually able to mount the Fat32 partition. When I update the /etc/fstab with an appropriate /dev/sda5 line and run a manual #mount /mnt/data I am successfully able to mount the Fat32 partition. However, when I reboot, the reboot somehow blows away the line I just appended in /etc/fstab and the /mnt/data directory disappears. What's going on? How can I remedy this problem? Thanks. --juggler |
P.S.
The version of Redhat is 7.3
|
that sounds really wierd. Are you sure that you saved your /etc/fstab? do:
cat /etc/fstab and post that here. the /mnt/data directory DISAPPEARS? that shouldn't happen do ls /mnt and see if it's there. You also might need to be doing this: mount -t vfat /dev/scda5 /mnt/data and a line like this in /etc/fstab : /dev/scda5 /mnt/data vfat defaults 0 0 I don't know... that's all I can think of. good luck -Adam |
New fstab problem
I figured out that if "kudzu" is included anywhere on the /dev/sda5 options, kudzu for whatever reason wipes out
/mnt/data and erases the /dev/sda5 line in our /etc/fstab. Our /etc/fstab line now reads: /dev/sda5 /mnt/data vfat defaults,uid=500,gid=100 0 0 Is there any way we can do a uid=*,gid=* or open up the /mnt/data to a multitude of uids (e.g. uid=500-700)? It's kind of a pain to manually enter all UIDs in. I tried simply setting gid=100 but then the user with uid=500 no longer had access. Thanks. |
Do you want everyone on earth (or at least with an account with access to that computer) to have access to that directory? IF so, remove uid and gid and place:
umask=000 Instead. Cool |
How about...
That sounds like a nice workaround.
How about allowing just a single group, say the users group (GID=500) to be able to access /mnt/data? How would I go about doing that? |
I don't know how to use fstab for that, but you can do this:
chown -R :500 /mnt/data and make sure that it has group read/write .... whatever you want ooh... I forgot it's a vfat partition.... I'm not sure if that'll work, but you can try good luck -Adam |
Re: How about...
Quote:
So a better way of putting this (and quoting from Acid): Quote:
You want to allow full group access, but no one else : umask=007 What this will set is: user full perm group full perm world (everyone else) no perm And chown user:group /path/to/folder This should, I believe set the correct values and abilities for that. Cool |
All times are GMT -5. The time now is 12:14 PM. |