LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2012, 03:19 PM   #1
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
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.
 
Old 06-09-2012, 03:42 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
1 members found this post helpful.
Old 06-09-2012, 04:05 PM   #3
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Original Poster
Rep: Reputation: Disabled
Thanks for the quick reply
stat gives permissions as (0700/drwx------) Uid(1000/UNKNOWN) Gid(1000/UNKNOWN)
ope this helps.
 
Old 06-11-2012, 08:32 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
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.
 
Old 06-19-2012, 04:34 PM   #5
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Original Poster
Rep: Reputation: Disabled
changed the permissions on the partition to 0755 and now all is good. Thanks for the pointer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root sees scanner, but not normal users wufo Slackware 5 11-21-2007 03:30 PM
Only root can use X, while normal users can't (FreeBSD 6.2 with Xorg-7.2). Seph64 *BSD 1 06-23-2007 12:01 PM
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 03:09 AM
Normal users can't su to root? Why not? jon_k Linux - Software 12 07-09-2004 04:09 PM
giving normal users mount capabilites J.Q. Monkey Linux - Security 4 02-11-2004 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration