Skip to Content

Unable to browse partitions mounted by root in debian sarge 3.1

Dear Eluggers,

system generally mounts partitons reading fstab

all my partitions are mounted to /mnt folder

but when I login as another user I am unable to cd to the various folders in the mounted directory

eg if /mnt/c contains foo directory, then unable to cd to foo

before mounting my partition to /mnt/c

perms are drwxr-xr-x

after the file system gets mounted ( by root or after reboot )

perms are drwxr--r--

lack of x in group & others is main cause for not being able to do cd

but after mount command is issued who monitors and changes the perms

also after mounting changing of perms don't have any effect manually either

I had not faced such a problem in Fedora ( or prior Redhat versions)

Any help will be great

U could mail me at ssmahadik@yahoo.com

This is my first post here, I am from Mumbai, India

Alaa's picture

check umask

there is an option called umask which you can add in fstab to allow users access to the mounted partitions.

generally speaking if you add umask=0 then you grant all users all permissions as in


/dev/hda1 /mnt/windows vfat umask=0,iocharset=utf8,noexec,nosuid 0 0

for more info check the umask sections in the mount man page.

in mandrake there is actually a GUI wizard for setting these with few preset values for the umask.

Alaa


"i`m feeling for the 2nd time like alice in wonderland reading el wafd"

Conceptor's picture

Every thing documented.

when you set some options (eg: user,users,noatime,rw,ro) it's mounting options and it is not fstab options,so search them on mount man pages.

Diaa Radwan

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum