Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Group permissions - wired problem

0 views
Skip to first unread message

Kristian Kalweit

unread,
Nov 29, 2002, 4:11:00 AM11/29/02
to
Hi, do you understand these:

kallelix@Zapp:/usr/local/data/cvs/Projects > ls -ln
insgesamt 11
drwxrws--- 6 501 133 62 Nov 28 19:08 Adresspruefung
drwxrws--- 9 501 128 4096 Okt 25 17:09 Archmess
drwxrwsr-x 2 500 127 21 Okt 25 17:09 CVS
drwxrws--- 14 501 130 4096 Okt 25 17:09 Kelvin2
drwxrws--- 10 501 131 111 Okt 25 17:10 Kelvin3
drwxrws--- 10 501 132 131 Okt 25 17:10 Misc
drwxrws--- 3 510 134 4096 Okt 25 17:10 Serial2Net
kallelix@Zapp:/usr/local/data/cvs/Projects > cd Serial2Net/
bash: cd: Serial2Net/: Permission denied
kallelix@Zapp:/usr/local/data/cvs/Projects > cd Kelvin3/
kallelix@Zapp:/usr/local/data/cvs/Projects/Kelvin3 >

Some lines of my /etc/group:

cvs_proj_kelv2::130:fantomas,kallelix
cvs_proj_kelv3::131:fantomas,kallelix,werner,thaten
cvs_proj_misc::132:fantomas,kallelix,werner
cvs_proj_adr::133:kallelix,fantomas


Why is the one dir working, and the another one is not? I'm using Linux
Kernel 2.4.18. The filesystem is xfs 1.1 (never got problems with it, much
better than common ext2).


Kristian.


Paul Lutus

unread,
Nov 29, 2002, 4:23:29 AM11/29/02
to
On Fri, 29 Nov 2002 10:11:00 +0100, Kristian Kalweit wrote:

> Hi, do you understand these:

No, because you have listed group and owner numbers instead of names.
Then, later, when you try to reconcile the groups, you use names instead
of numbers. Result: complete confusion.

>
> kallelix@Zapp:/usr/local/data/cvs/Projects > ls -ln
> insgesamt 11
> drwxrws--- 6 501 133 62 Nov 28 19:08 Adresspruefung
> drwxrws--- 9 501 128 4096 Okt 25 17:09 Archmess
> drwxrwsr-x 2 500 127 21 Okt 25 17:09 CVS
> drwxrws--- 14 501 130 4096 Okt 25 17:09 Kelvin2
> drwxrws--- 10 501 131 111 Okt 25 17:10 Kelvin3
> drwxrws--- 10 501 132 131 Okt 25 17:10 Misc
> drwxrws--- 3 510 134 4096 Okt 25 17:10 Serial2Net
> kallelix@Zapp:/usr/local/data/cvs/Projects > cd Serial2Net/
> bash: cd: Serial2Net/: Permission denied

Clearly you are neither owner nor group member for "Serial2Net", and the
executable bit is not set for "others", so the directory cannot be
entered. Try changing the permission on this directory, or adding
yourself to the group that owns the directory.

/ ...

> Why is the one dir working, and the another one is not?

We do not know who owns the directory in question. Don't use "ls -ln", use
"ls -la".

--
Paul Lutus
www.arachnoid.com

Kristian Kalweit

unread,
Nov 29, 2002, 5:19:31 AM11/29/02
to

"Paul Lutus" <nos...@nosite.zzz> schrieb im Newsbeitrag
news:pan.2002.11.29....@nosite.zzz...

> On Fri, 29 Nov 2002 10:11:00 +0100, Kristian Kalweit wrote:
>
> > Hi, do you understand these:
>
> No, because you have listed group and owner numbers instead of names.
> Then, later, when you try to reconcile the groups, you use names instead
> of numbers. Result: complete confusion.
>

I used ls-ln to show you the groups, because the group names are too long
for displaying:

root@Zapp:/usr/local/data/cvs/Projects > ls -la
insgesamt 11
drwxrws--- 10 fantomas cvs_proj 125 Nov 26 14:27 .
drwxrws--- 8 kallelix futurama 88 Jun 17 12:32 ..
drwxrws--- 6 fantomas cvs_proj 62 Nov 28 19:08 Adresspruefung
drwxrws--- 9 fantomas cvs_proj 4096 Okt 25 17:09 Archmess
drwxrwsr-x 2 kallelix cvs_proj 21 Okt 25 17:09 CVS
drwxrws--- 14 fantomas cvs_proj 4096 Okt 25 17:09 Kelvin2
drwxrws--- 10 fantomas cvs_proj 111 Okt 25 17:10 Kelvin3
drwxrws--- 10 fantomas cvs_proj 131 Okt 25 17:10 Misc
drwxrws--- 3 werner cvs_proj 4096 Okt 25 17:10 Serial2Net
root@Zapp:/usr/local/data/cvs/Projects >


> >
> > kallelix@Zapp:/usr/local/data/cvs/Projects > ls -ln
> > insgesamt 11
> > drwxrws--- 6 501 133 62 Nov 28 19:08 Adresspruefung
> > drwxrws--- 9 501 128 4096 Okt 25 17:09 Archmess
> > drwxrwsr-x 2 500 127 21 Okt 25 17:09 CVS
> > drwxrws--- 14 501 130 4096 Okt 25 17:09 Kelvin2
> > drwxrws--- 10 501 131 111 Okt 25 17:10 Kelvin3
> > drwxrws--- 10 501 132 131 Okt 25 17:10 Misc
> > drwxrws--- 3 510 134 4096 Okt 25 17:10 Serial2Net
> > kallelix@Zapp:/usr/local/data/cvs/Projects > cd Serial2Net/
> > bash: cd: Serial2Net/: Permission denied
>
>

> > Why is the one dir working, and the another one is not?
>
> We do not know who owns the directory in question. Don't use "ls -ln", use
> "ls -la".
>

Only the group permissions are important. In the org. post you see my
/etc/group, there are also group numbers (second field after the group name)


Tim Wunder

unread,
Nov 29, 2002, 8:05:39 AM11/29/02
to
On Friday 29 November 2002 04:11 am, someone claiming to be Kristian Kalweit
wrote:

/etc/group contains no group number 134. Serial2Net has a group number of
134.

HTH,
Tim

Paul Lutus

unread,
Nov 29, 2002, 12:38:15 PM11/29/02
to
On Fri, 29 Nov 2002 11:19:31 +0100, Kristian Kalweit wrote:

>
> "Paul Lutus" <nos...@nosite.zzz> schrieb im Newsbeitrag
> news:pan.2002.11.29....@nosite.zzz...
>> On Fri, 29 Nov 2002 10:11:00 +0100, Kristian Kalweit wrote:
>>
>> > Hi, do you understand these:
>>
>> No, because you have listed group and owner numbers instead of names.
>> Then, later, when you try to reconcile the groups, you use names instead
>> of numbers. Result: complete confusion.
>>
>
> I used ls-ln to show you the groups, because the group names are too long
> for displaying:

Well, I hadn't considered that possibility.

> Only the group permissions are important.

No, all three levels of permissions are important.

Please tell us what happened when you implemented my suggestion from the
prior post.

--
Paul Lutus
www.arachnoid.com

Martin Blume

unread,
Nov 29, 2002, 1:30:03 PM11/29/02
to

Kristian Kalweit <kal...@exorpro.de> schrieb in im Newsbeitrag:
as7ate$oho5p$1...@ID-129724.news.dfncis.de...

> drwxrws--- 14 501 130 4096 Okt 25 17:09 Kelvin2
> drwxrws--- 3 510 134 4096 Okt 25 17:10 Serial2Net
> kallelix@Zapp:/usr/local/data/cvs/Projects > cd Serial2Net/
> bash: cd: Serial2Net/: Permission denied
> kallelix@Zapp:/usr/local/data/cvs/Projects > cd Kelvin3/
> kallelix@Zapp:/usr/local/data/cvs/Projects/Kelvin3 >
>
>
>
> Some lines of my /etc/group:
>
> cvs_proj_kelv2::130:fantomas,kallelix
> cvs_proj_kelv3::131:fantomas,kallelix,werner,thaten
> cvs_proj_misc::132:fantomas,kallelix,werner
> cvs_proj_adr::133:kallelix,fantomas
>
>
> Why is the one dir working, and the another one is not? I'm using Linux
> Kernel 2.4.18. The filesystem is xfs 1.1 (never got problems with it, much
> better than common ext2).
>
Probably you are not member of the group 134 and your uid is not 510
(correlating your two posts makes your uid 500).
Unfortunately you only give us groups 130,131,132,133.
Who is member of group 134 ?

Regards
Martin

0 new messages