LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need drive write permissions with regular user (https://www.linuxquestions.org/questions/linux-newbie-8/need-drive-write-permissions-with-regular-user-153228/)

vettebro1 03-03-2004 07:57 PM

need drive write permissions with regular user
 
Thanks to everyone for helping me.... I installed a new maxtor harddrive to an existing install of Red Hat 9. I mounted the drive in fstab with

dev/hdb1 /mnt/maxtor vfat auto,unmask=000 0 0

I have write permissions with root but not as a regular user. I changed permissions of the mnt and maxtor folders to chmod 777 and I added the regular user to root as the primary group. I even changed hdb1 file in the dev folder to chmod 777
(the user account is just for me and I used 777 becuase I couldnt get it to work)

Thanks again...

mjrich 03-03-2004 08:14 PM

Hi Vettebro,

Probably need to add the <rw> option to your /etc/fstab file. In other words...

dev/hdb1 /mnt/maxtor vfat auto,rw

Then remount the drive. Also, on my system the option <unmask> is actually <umask>, i.e. the permissions for non-specified processes (see man pages for fstab and mount).

Cheers, M.

urka58 03-04-2004 01:28 PM

You need a line like this in your /etc/fstab
dev/hdb1 /mnt/maxtor vfat noauto,user,rw 0 0
This avoid /dev/hdb1 to be mounted with root permissions at boot
Ciao

vettebro1 03-04-2004 09:16 PM

Yep that was it!!!! Thanks guys....


All times are GMT -5. The time now is 09:51 AM.