How to set default permissions for files moved or copied to a directory?
Fresh3 days ago
Mar 15, 202615745 viewsConfidence Score0%
0%
Problem
My question is similar to How to set the default file permissions on ALL newly created files in linux - but differs in important ways: I want all files created in (or copied to or moved to) a certain directory to inherit a set of default permissions that is different from the system default. Ration…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to set default permissions for files moved or copied to a directory?
Low Risk
You can use an ACL (access control list) to set the default permissions for files in a directory. From : If a default ACL is associated with a directory, the mode parameter to the functions creating file objects and the default ACL of the directory …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix