LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File chmod when copied (https://www.linuxquestions.org/questions/linux-newbie-8/file-chmod-when-copied-4175412646/)

nmdc.kzstan 06-21-2012 06:21 AM

File chmod when copied
 
Hi,

Is it possible to change the chmod values of file when copied over scp?
I have a folder on Ubuntu server to which config files of devices are copied
periodically and I don't want these config files to be accessed.

TIA

Didier Spaier 06-21-2012 06:32 AM

Hi, welcome to LQ.

I would use ssh for that.

pan64 06-21-2012 06:36 AM

or maybe rsync


All times are GMT -5. The time now is 04:33 PM.