Can't chmod +g on a directory
Steve Matzura
sm at noisynotes.com
Tue Oct 15 19:34:06 UTC 2024
On 10/15/2024 1:15 PM, Colin Watson wrote:
> 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.
Yes, that was exactly the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20241015/64bf61ae/attachment.html>
More information about the ubuntu-users
mailing list