How to use cp command without to overwrite target file permissions
For example
cp /tmp/file /home/file
I dont want to change chown and chgrp on /home/file
|
How to use cp command without to overwrite target file permissions For example
I dont want to change chown and chgrp on |
||||
|
|
Use
(archiving) or
(preserve mode, ownership and timestamps) |
|||||
|
|
There is a better answer at ServerFault:
|
||||
|
|