LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   group permissions problem (https://www.linuxquestions.org/questions/linux-general-1/group-permissions-problem-37075/)

ForumKid 12-02-2002 12:17 PM

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

trickykid 12-02-2002 12:26 PM

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.

ForumKid 12-02-2002 12:28 PM

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

ForumKid 12-02-2002 12:52 PM

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.

trickykid 12-02-2002 12:54 PM

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 ??

trickykid 12-02-2002 12:55 PM

Haha.. cool.. I guess my reply was way too late..


All times are GMT -5. The time now is 03:56 PM.