Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I need to backup some Directories but sudo chmod 777 * Wont include permissions for daughter dirs Do you know a solution? Thanks...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    8

    Permisions rebelion

    Hi,
    I need to backup some Directories but

    sudo chmod 777 *

    Wont include permissions for daughter dirs

    Do you know a solution?

    Thanks

  2. #2
    Just Joined!
    Join Date
    May 2007
    Posts
    72
    sudo chmod -R 777 /dir
    will change permissions for dir and everything in it. I would NOT use:
    sudo chmod -R 777 *
    This might get you into a lot of trouble.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I agree with impert. Do not execute chmod command with *. Use it selectively on file/folder groups instead.

    If you are using sudo then why do you need to change file permissions for backup? sudo gives you full privileges to copy/move file anywhere in file structure.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...