When I copy files to a USB disk or another account on the same disk the permissions are not changed to the target. For example, when I copy files from account X to a folder of account Y, than the permission on the files are still of account X.
I like to copy files and change the permissions to that of account Y.
How do I do this?
Best Answer
You can use
ACL
and the commandsetfacl
for that.This is the part you are after:
You do need to add the
acl
option when mounting. In/etc/fstab
addacl
to the options for your disc. Make sure to use a LABEL and not a UUID.