Can't chmod +g on a directory
Colin Watson
cjwatson at ubuntu.com
Tue Oct 15 17:15:09 UTC 2024
On Tue, Oct 15, 2024 at 11:20:04AM -0400, Steve Matzura wrote:
> "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.
"chmod +g" is not valid. Perhaps you meant "chmod g+w"; or you could
just use "chmod 774" if you find it easier to remember the numeric mode
syntax than the symbolic mode syntax.
--
Colin Watson (he/him) [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list