I want to copy all files and folders from one directory to another without changing the permissions of the destination directory. Where origin folder is 555 and destination folder is 775. If I use command below, the destination is changed to 555. I don't want this.cp -r /origin/. /destinationWhat is correct syntax to copy contents of /origin? So that /destination remains 775I do not have sudo.
How to copy contents of a folder without affecting the permissions of destination folder?
permissions;cp