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?

  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.

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


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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