FG

Recursive chmod: rw for files, rwx for directories

Fresh3 days ago
Mar 15, 202636842 views
Confidence Score0%
0%

Problem

I want to a lot of files and directories. As indicates list for directories and execute for regular files I'd like to apply for files and for directories. Is it possible using only the command? If it isn't, what is the most convenient way? Doing a isn't a possibility as I don't want the regular fil…

Error Output

chmod

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Recursive chmod: rw for files, rwx for directories

Low Risk

Use the X permission, from the man page: The execute/search bits if the file is a directory or any of the execute/search bits are set in the original (unmodified) mode. Operations with the perm symbol "X" are only meaningful in conjunction with the …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment