LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Proplems with mounted drive permissions (https://www.linuxquestions.org/questions/linux-newbie-8/proplems-with-mounted-drive-permissions-30243/)

Davschm 09-12-2002 09:30 PM

Problems with mounted drive permissions
 
I am having problems with accessing other drives as a regular user. I understand that if I login as root, I would be able to access anything I need. But I was told that being root is dangerous for my system and I should only use it when installing apps.

As a regular user, I have been trying to access a second mounted hard drive (this drive is formated FAT32 and used by Windows, also installed on this PC) I am able to read this drive, but cant wright to it. I tried adding myself to the ROOT group, but I was still unable to wright to this drive. Then I noticed that the user "root" had full access, but the group "root" only had read. I have tried to change the permissions for this drive, but they wont stick.

MasterC 09-13-2002 01:19 AM

see man mount for more options...

You will need to edit your /etc/fstab file and change the entry 'default' to something else to allow users to access/mount it. Something like:
users,auto,rw
might be a good replacement, but man mount will tell you more about that.

Cool

Thymox 09-15-2002 05:35 PM

I think the key point made there was that of users,auto,rw.
I believe that, as per default, filesystems mounted at boot are mounted as root. Adding users as opposed to user (notice the 's' on the end) should allow any user to mount and umount that filesystem, and therefore read and write it, regardless of who initially mounted it.

HTH


All times are GMT -5. The time now is 05:36 AM.