5
rated 0 times
[
5]
[
0]
/ answers: 1 / hits: 9969
/ 2 Years ago, thu, april 28, 2022, 12:41:25
When I copy files from one directory to another, the directory permissions get reset (e.g: from 0755 to 0775), and this causes problems, forcing me to go back and manually reset directory permissions. I'm currently doing cp -r /source/directory /destination/directory
I want to copy all of the files and new directories, but not overwrite permissions of existing directories.
More From » command-line