LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to give non-root users access to mounted partitions? (http://www.linuxquestions.org/questions/linux-software-2/how-to-give-non-root-users-access-to-mounted-partitions-248516/)

black hole sun 10-28-2004 06:10 PM

How to give non-root users access to mounted partitions?
 
Well of course I can do a su - everytime I want in, but I want to be able to browse the partition with konqueror. Note that this is an NTFS partition which is mounted read-only, so I cannot change it's ownership with chown.

Blinker_Fluid 10-28-2004 06:38 PM

I think you need to change the permissions on the mount point before you do the mount.
ie.
chmod 777 /mnt/foo
then
mount /dev/hda8 /mnt/foo

Komakino 10-28-2004 06:42 PM

try adding
Code:

umask=0,user
to your /etc/fstab file for the NTFS partition.

Tinkster 10-28-2004 06:42 PM

Use the search,, Luke!




Cheers,
Tink

black hole sun 10-28-2004 06:47 PM

Quote:

Originally posted by Komakino
try adding
Code:

umask=0,user
to your /etc/fstab file for the NTFS partition.

Thank you, that did it!

Just to satisfy my curiosity, what does the umask= option mean?

Tinkster 10-28-2004 06:52 PM

Quote:

what does the umask= option mean?
man -k umask



Cheers,
Tink


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