LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Linux:Copy, change permissions and ownership of a file in a command (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-linux-copy-change-permissions-and-ownership-of-a-file-in-a-command-4175574932/)

LXer 03-15-2016 04:40 AM

LXer: Linux:Copy, change permissions and ownership of a file in a command
 
Published at LXer:

Today I came across a requirement to copy couple of files and change permissions to execute those files when writing some ansible playbooks. We can do this by using cp, chmod, chown command as shown below. Ownership is changed from root user to normal user surendra.

Read More...


All times are GMT -5. The time now is 02:56 AM.