[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: group permission weirdness



On Wed, Dec 10, 2003 at 10:30:18AM -0500, mark hellewell wrote:
> On Wednesday December 10 2003, Wouter de Vries wrote:

> > I am logged in as user `test`.
> > 
> > $ groupinfo deb3528
> > name deb3528
> > passwd *
> > gid 1020
> > members test
> > 
> > a `ls -al`:
> > drwxr-xr-x  25 root             daemon           512 Dec 10 15:54 .
> > drwxr-xr-x  14 root             daemon           512 Nov 20 17:52 ..
> > drwxr-x---  2  deb3528	deb3528 	 512 Dec 10 15:54  testje
>   ^^^^^^^^^^
> 
> Those permissions mean: read + write + execute for owner, read +
> execute for the group, nothing for anybody else. As the directory
> testje is deb3528:deb3528 (user:group) you must either add the user
> 'test' to the group deb3528 or change group ownership of testje to a
> group which user 'test' belongs.

Um, you did not read the email closely.

> > sh: cd: /var/www/htdocs/testje - Permission denied
> > 
> > Any idea how this is possible??

Did you log in as test _after_ adding test to group deb3528.

-- 
<jakemsr_(_at_)_jakemsr_(_dot_)_com>



Visit your host, monkey.org