[Top][All Lists]

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

chgrp program gives inappropiate error

From: Eric Maryniak
Subject: chgrp program gives inappropiate error
Date: Wed, 22 Aug 2001 17:48:49 +0200
User-agent: Mutt/1.2.5i

Dear reader,

While testing permissions on my cvsroot as an ordinary user,
I got an inappropiate error messages from chgrp.
It did, however, correctly refused the operation:

    address@hidden:/path/to/cvsroot $ chgrp users .
    chgrp: you are not a member of group `users': Operation not permitted

EM> but i _am_ a member of 'users'! :

    address@hidden:/path/to/cvsroot $ id
    uid=176(joe) gid=100(users) groups=100(users),101(cvsusers)

EM> the '.' dir is owned by root, and therefore chgrp is not allowed
EM> and this is ok, but the error message is wrong :-)

    address@hidden:/path/to/cvsroot $ l
    total 20
    drwxr-x---   5 root     cvsusers     4096 Aug 17 16:47 .
    drwxr-xr-x  11 root     root         4096 May 14 16:08 ..
    drwxrwx---   3 root     cvsusers     4096 Aug 22 17:27 CVSROOT
    drwxrwx---   4 joe      cvsusers     4096 Aug 18 00:15 DBC
    drwxrwx---   9 joe      cvsusers     4096 Aug 21 17:06 Walnut

Thanks for your time and the fine fileutils in Linux,


Eric Maryniak <address@hidden>
WWW homepage: http://pobox.com/~e.maryniak/
Mobile phone: +31 6 52047532, or (06) 520 475 32 in NL.

There is only one real deadline in life...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]