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-25-2007, 07:03 PM   #1
michaeltipton2222
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
grp usr cannot gain access to share dir


I am taking a Linux+ class and I am stuck! (Using centos as the linux version) I am to create a directory with "drwxrws--- nobody authors /home/horrorbook" which I did. I used chmod 2770 as my command to get the rws setting in group.) I have a user (sking) set up in the group "authors" already (/etc/group). When I logon as "sking", and try to cd /home/horrorbook (from /home/sking) the error says "-bash: cd: horrorbook: permission denied". I went back and looked, and cannot find anything obvious that might be wrong. Can someone out there help out on this question? I tried reading over the other questions, but they did not seem to deal with this specific type of issue. Thanks. Unfortunately, there is no one available that knows unix down to this level.

Last edited by michaeltipton2222; 06-25-2007 at 07:12 PM.
 
Old 06-25-2007, 07:40 PM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 109Reputation: 109
I just tried to replicate your problem and noticed that a user I excluded from the new group still showed up in that group in /etc/group. You should have done

Code:
development@graceland:~$ chmod 770 test-dir
not
Quote:
I used chmod 2770 as my command
chmod 770 will make it read and writable for owner and group, but no one else will be able to enter.
 
  


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
How to restore /usr/share/info/dir file ptmono Linux - General 3 03-26-2006 04:58 PM
Share configuratin dir (.dir) for 3 accounts on local computer LiNuXkOlOnIe Linux - Software 5 01-08-2006 03:36 AM
Can't gain new ROOT access dauphinfay Linux - General 3 07-28-2005 12:38 AM
Gain root access to user longnam Slackware 5 03-29-2005 11:43 AM
no /usr/src/linux dir ??!! Poe Slackware 6 06-21-2003 05:33 PM

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

All times are GMT -5. The time now is 03:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration