chgrp: operation not permitted even though I own the file!
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Nope, same "operation not permitted result".
Thanks for everyone's comments. I'm starting to think its something uniquely screwy with my RedHat 7.2 installation. (Although, otherwise, I haven't had problems with it.) I'll try it out on another system and report back later.
If anyone has any weird ideas, feel free to tell me!
Apparently I needed to reboot (on both 7.2 and 9.0) to get the system to fully (?) recognize the new group settings. I added the group "ezra" with groupadd, and then manually edited /etc/group to put user "will" in group "ezra". Rebooting let me change the group permission, as sought above.
Perhaps I should have used "usermod -G ezra will" to do this.
Groups don't update until you log-in again. So even if you edit /etc/groups, you still have to logout and log in again (or just run another shell inside the current one. That should give the same effect :-)