LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 03-15-2016, 04:40 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 99,836

Rep: Reputation: 102Reputation: 102
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux Mint 15 xfce 32bit grub error+won't change file permissions or ownership bta Linux - Newbie 9 07-28-2014 02:11 AM
Can't change permissions on file copy (samba). Teufel Linux - Server 6 11-20-2012 01:02 PM
LXer: Learn Linux, 101: Manage file permissions and ownership LXer Syndicated Linux News 1 12-01-2010 10:31 AM
Change ownership of all games at once? Or remove permissions? okos Slackware 7 01-16-2010 01:19 PM
Copy files retaining ownership/permissions stefaandk Linux - Newbie 4 09-07-2006 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration