LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   second hd permissions (https://www.linuxquestions.org/questions/linux-newbie-8/second-hd-permissions-249896/)

tenmiles 11-01-2004 01:18 PM

second hd permissions
 
i am having problems writing to my second hd. under su i change the umask to 0000 and then i mkdir /mnt/fat32 then i mount /dev/hdd1 /mnt/fat32 then check to make sure the umask is still 0000 cause it likes to change on me. then i go back to my user and try to cp file1 /mnt/fat32 and it says permissions denied. i tried chown and it wont let me do that cause it is a mounted thing. then i tried chmod and it says operation not permitted even though i am running as a su. any ideas as to what could be the problem here?

acid_kewpie 11-01-2004 01:43 PM

in your /etc/fstab create an entry for the partition:
Code:

/dev/hdd1    /mnt/fat32    vfat    defaults,umask=000  0 0

tenmiles 11-01-2004 07:27 PM

thanks, it works perfectly now.


All times are GMT -5. The time now is 04:30 PM.