LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fstab issues (https://www.linuxquestions.org/questions/linux-newbie-8/fstab-issues-312144/)

djljjm 04-11-2005 04:47 PM

fstab issues
 
I am having issues with my fstab file. This is what I want. I have an external hard drive, I want read and write access for all users, I have an internal hard drive two partitions, hdc4 is the second partition, I want read and write access to this with all users

this is my file

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hdc3 swap swap defaults 0 0
/dev/hdc4 /mnt/all auto auto,user,rw 0 0
/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/sda1 /media/WD_Combo vfat auto,user,iocharset=utf8,fscontext=system_u:object_r:removable_t,managed 0 0


Another issue is that my external mounted automatically when I plugged it in and it mounted to a place that I didn't want it. I want my external to mount to /media/external. I changed this but when I rebooted it put it back to /media/WD_Combo

Then when I try to go into terminal to change permissions of WD_Combo files such as a folder "Files" I do su, password, chmod -R 777 /media/WD_Combo/Files and nothing happens, the permissions of the folder don't change. I'm getting a little frustrated. So read and write access to hdc4 and sda1....both mounting on boot. hdc4 mounting to /mnt/all and sda1 mounting to /media/external. THANK YOu


djljjm

bigrigdriver 04-11-2005 05:08 PM

In the /etc/fstab entries which list 'user' (that restricts access to the logged-in user), try changing that value to 'users', which should give access to everyone listed in the 'users' group.
If there are any users who are not listed in the 'users' group, you will have to add them to that group.

trey31357 04-11-2005 05:18 PM

I don't know if this will be of any help...but here is the line I added to my /etc/fstab file to allow me to access my windows partition when I'm logged in as myself and not root. If whatever user name is in the appropriate user group, hopefully it should work...(of course replacing hda1 with hdc4, etc. and appropriating the mount points where you would like them...)

/dev/hda1 /mnt/windows vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 0 0
#changed "defaults" script to allow for write access to windows partition 4/7/05


All times are GMT -5. The time now is 12:48 PM.