Hi there,

Well, I am quite new to Linux, but basically I know how chgrp should 
work. I noticed a bug (?), its a minor defect.

Let's have a file named "somefile". It is created by root so it is 
owned by root, and its group membership is root (I am in windows now, 
so I cannot easily give you exactly what ls command returns, but it 
says what I said - owner=group="root").

Then I login as an ordinary user "mlodek". I change to the directory 
where "somefile" file resides and try to change its group to my basic 
group named mlodek:

chgrp mlodek somefile

It fails, and this is OK, but the message is:

chgrp: you are not a member of group 'mlodek': Operation not permitted

Well, I am a member of mlodek (I issued groups command to make sure 
%*), but it should have displayed something like:

chgrp: you are not a member of group 'root': Operation not permitted

(root group instead of mlodek group)

The same message appears if chgrp is applied to a directory, not an 
ordinary file.

I think that somebody must have already told you about it, but I 
thought that it would be better to write this mail. Or maybe I don't 
understand something, so tell me, and I'll search for the reason why 
chgrp displays such a message.

Sorry for the inconvenience and thanks for the great software you 
give to the folks.

Regards,

Piotr "Lodek" Hosowicz
Piotr Hosowicz
----------------------------------
Zajrzyj na moją stronę z freewarem:
http://www.mcsoft.stopklatka.pl

Reply via email to