FG
💻 Software

How to specify group with 'chmod'

Fresh7 days ago
Mar 15, 2026169137 views
Confidence Score0%
0%

Problem

I was asked to add group-wrx permissions to a directory in another user's home folder. I believe I should run in the parent directory. I can't find how to specify which group I want to give these permissions to. I'm personally in a number of groups, and in a bunch I don't know about as root. In cas…

Error Output

chmod 771 -R directoryname

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to specify group with 'chmod'

Low Risk

The system call, and by extension the program, does not affect the group of a file or directory (or other type of file: block special, character special, socket, ... symlink is something of a special case). So, the group to which the permission is g…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment