LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting problem (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-problem-226514/)

scng 09-04-2004 07:47 AM

mounting problem
 
I have a problem on how to let users (other than root) to delete files in a mounted device.
The system only permits root to mount. It is no doubt that mounted device belongs to "root". Permission is automatically set as: drwxr-xr-x. As a result other users can read/copy files inside the mounted volume at most, delete/rename/move are denied. Buddies pls help. Thnx!

leonscape 09-04-2004 08:43 AM

you could alter the permissions in /etc/fstab to allow users to mount disks or set special permissions, for a windows partition this is what I have set

Code:

/dev/hdb1 /mnt/mydocs vfat rw,user,noauto 0 0
This allows users to mount the disk, so they get write permissions. ( change /dev and /mnt to whatever you have ).

You can also set guid and others ( see man fstab ).

jomen 09-04-2004 08:48 AM

"The system only permits root to mount."

if a device is not mentioned in /etc/fstab then this is standard behaviour and cannot be changed - only devices mentioned there are - depending on the options there - mountable/readable/writable by other users.

are you the admin of this system - then you can add the device in question add to /etc/fstab - with less restrictive permissions - or the admin (root) could mount the device with less restrictive permissions...

scng 09-04-2004 09:36 AM

thank you, it's done


All times are GMT -5. The time now is 01:29 PM.