I found, that root can't modify file's group is he's not a member of this
group. I believed for root there have to be no problems to change any
permissions. The target filesystem is ext2fs.
--[root@hydroel]~# chgrp 100 c/ chgrp: you are not a member of group '100': Operation not permitted [root@hydroel]~# chgrp users c/ chgrp: you are not a member of group 'users': Operation not permitted [root@hydroel]~# cat /etc/group root::0:root,vps bin::1:root,bin,daemon daemon::2:root,bin,daemon sys::3:root,bin,adm,vps adm::4:root,adm,daemon tty::5: disk::6:root lp::7:daemon,lp mem::8: kmem::9: wheel::10:root mail::12:mail news::13:news uucp::14:uucp man::15: games::20: gopher::30: dip::40: ftp::50:vps,root nobody::99: users::100: nw::200:vps,nwadmin,root [root@hydroel]~# chown --version chown - GNU fileutils-3.13 [root@hydroel]~# uname -a Linux hydroel.niimm.spb.su 2.1.36 #12 Wed May 14 16:16:55 MSD 1997 i586 [root@hydroel]~#
--
Bye.
-- Do not read this fortune under penalty of law. Violators will be prosecuted. (Penal Code sec. 2.3.2 (II.a.))
-- With best of best regards, Pawel S. Veselov (aka Black Angel) internet : vps@beta.niimm.spb.su fidonet : 2:5030/5.412 schoolnet : 21:9000/412 Web page : http://www.niimm.spb.su/~vps/