Can't chmod +g on a directory

Steve Matzura sm at noisynotes.com
Tue Oct 15 15:20:04 UTC 2024


"jim" and "bob" are two directories in /home owned by root and in the 
root group. They both have subdirectories called uploads. 
/home/jim/uploads is owned by jim in the jim group and has protection 
mask 755 (drwx-rx-rx). /home/bob/uploads is owned by bob but in another 
group entirely, and its protection mask is 774 (rwxrwxr--). I want to 
change /home/jim/uploads to the same permissions as /home/bob/uploads, 
but whenever I "sudo chmod +g /home/jim/uploads", nothing happens. Of 
course, I do get the prompt for the admin password, and I provide it, so 
there are no errors generated, but the group flag doesn't change. I also 
tried changing the group ownership of /home/jim/uploads to the same 
group that /home/bob/uploads is in, thinking there's a connection, but 
chmod +g still won't give group write access to /home/jim/uploads. Why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20241015/13566d83/attachment.html>


More information about the ubuntu-users mailing list