LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Scientific linux - mount as a root not accessible to normal users ... (https://www.linuxquestions.org/questions/linux-newbie-8/scientific-linux-mount-as-a-root-not-accessible-to-normal-users-949414/)

honeybadger 06-09-2012 03:19 PM

Scientific linux - mount as a root not accessible to normal users ...
 
Hi all I am using SL5.5 (selinux is permissive) and I am mounting a partion on my hard drive as a root but then I am not able to access that partition as a normal user. I read the man page for mount but it seems like there is nothing to help. I also added the user in adm, root groups still no go.
Can anyone advise me what arguments are to be used after mount so that the user is able to access the partition. I used mount --make-shared, mount -o group, mount -o users etc. Nothing works.
Any pointers or advise would be appericiaed.
Thanks for the read.

bigrigdriver 06-09-2012 03:42 PM

What are the permissions on the mounted partition?

You can add the users to as many groups as you like, but if the permissions on the partition restrict access to the root user, then only root will have access.

honeybadger 06-09-2012 04:05 PM

Thanks for the quick reply :)
stat gives permissions as (0700/drwx------) Uid(1000/UNKNOWN) Gid(1000/UNKNOWN)
ope this helps.

chrism01 06-11-2012 08:32 PM

Quote:

Uid(1000/UNKNOWN) Gid(1000/UNKNOWN)
This says the uid & gid are not known to the system. Is this an MS-win mount?
You need to 'fix' this before you can continue.

honeybadger 06-19-2012 04:34 PM

changed the permissions on the partition to 0755 and now all is good. Thanks for the pointer.


All times are GMT -5. The time now is 02:35 AM.