LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-02-2002, 01:17 PM   #1
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Rep: Reputation: 30
group permissions problem


I have user oracle who has access to /oraclework.
These are the permissions from ls -al:
drwxrwxrwx 2 oracle oinstall 131072 Dec 2 13:01 oraclework

I add a new user called ftp like this and cannot access oraclework and all permissions look good.
useradd -d /oraclework -G oinstall ftp

I get permission denied. Any reason why? The group has read/write access....

Thanks
 
Old 12-02-2002, 01:26 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Is this the only directory they can't view or access ? What does your /etc/passwd file show for user ftp ??

You shouldn't be getting any type of error for any user, since you have full access rights given to the world as well. Something wrong with the user account, not the permissions on the directory most likely.
 
Old 12-02-2002, 01:28 PM   #3
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
yes this is the only directory. The passwd file shows this:
# more /etc/passwd
root:x:0:1:Super-User:/:/sbin/sh
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:
lp:x:71:8:Line Printer Admin:/usr/spool/lp:
uucp:x:5:5:uucp Admin:/usr/lib/uucp:
nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
listen:x:37:4:Network Admin:/usr/net/nls:
nobody:x:60001:60001:Nobody:/:
noaccess:x:60002:60002:No Access User:/:
nobody4:x:65534:65534:SunOS 4.x Nobody:/:
oracle:x:100:100:Oracle Software Owner:/oracle:/bin/ksh
ftp:x:101:1::/oraclework:/bin/sh
 
Old 12-02-2002, 01:52 PM   #4
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
Hi,
I found the problem. Its a shared drive on a windows box. Sharing being done with Sharity. Its the windows box denying the connection. Thanks and hope this helps someone in the future.
 
Old 12-02-2002, 01:54 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
And this seems to be on Solaris right ? Not sure if this would affect adding a user but try copying over the skeleton files as well if you have them in /etc/skel
And also what does your /etc/group file look like ??
 
Old 12-02-2002, 01:55 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Haha.. cool.. I guess my reply was way too late..
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
regarding group permissions zameer_india Linux - Networking 1 02-11-2005 05:07 AM
group permissions mikeghet Linux - Newbie 1 12-06-2004 04:49 AM
Group Permissions mallikarjun Linux - Security 4 07-03-2002 05:37 PM
group permissions once Linux - Newbie 5 06-02-2002 04:09 AM
group permissions once Linux - Security 21 06-01-2002 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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