Activity Stream
48,167 MEMBERS
61073 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Banned

    Default How do I change ownership of files which are into a folder (CHOWN)?

    I want to change ownership few files which are into a folder. There is almost 15 files. so is there anyway to change all files ownership by giving single ssh command? or i have to chown each of files
    The Dude Reviewed by The Dude on . How do I change ownership of files which are into a folder (CHOWN)? I want to change ownership few files which are into a folder. There is almost 15 files. so is there anyway to change all files ownership by giving single ssh command? or i have to chown each of files :( Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Developer
    Recursive chown?

    Code: 
    chown -R owner_name /path/to/files/*
    This would change the ownership of of all files in the /path/to/files/ folder to "owner_name". I think.

    Edit: http://publib.boulder.ibm.com/infoce...zahz/chown.htm

  4.     
    #3
    Banned
    super works perfect, thanks a lot.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Proper file/folder ownership
    By Hillside in forum Technical Help Desk Support
    Replies: 2
    Last Post: 12th Apr 2011, 03:42 PM
  2. need SSH command to change file/folder's Owner
    By onel0ve in forum Webmaster Discussion
    Replies: 7
    Last Post: 17th Jan 2011, 06:19 PM
  3. SSH commando to change file ownership
    By Divvy in forum Server Management
    Replies: 5
    Last Post: 24th Dec 2010, 06:01 PM
  4. Take Ownership Tool - Delete/Rename ALL Files
    By l0calh0st in forum Web Development Area
    Replies: 9
    Last Post: 11th Aug 2010, 05:26 PM
  5. Change of ownership : skankd.net
    By Foxy in forum Webmaster Discussion
    Replies: 4
    Last Post: 14th Jul 2009, 08:28 AM

Tags for this Thread

BE SOCIAL