www.webdeveloper.com
Results 1 to 3 of 3

Thread: chown a directory + all subdirectories and files

  1. #1
    Join Date
    Jun 2004
    Location
    London UK
    Posts
    541

    chown a directory + all subdirectories and files

    I know how to chown just a file or a directory

    e.g.
    chown newowner file.ext
    chown newowner directory

    But how do I chown a directory + all subdirectories and files.

    Any ideas?
    Successful people ask better questions, and as a result, they get better answers - Anthony Robbins

  2. #2
    Join Date
    Jul 2006
    Location
    Nebraska
    Posts
    380
    chown -R
    http://www.computerhope.com/unix/uchown.htm
    It's also handy to know how to do "user:group" in there too.
    My Site
    Web Design On Linux: Sure It Takes Longer To Get It Right In IE, But Who Really Cares?

  3. #3
    Join Date
    Jun 2004
    Location
    London UK
    Posts
    541
    cheers

    Successful people ask better questions, and as a result, they get better answers - Anthony Robbins

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles