Find the answer to your Linux question:
Results 1 to 3 of 3
How do i change my default files and directory permissions to 700?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2005
    Posts
    177

    changing default files and directory permission


    How do i change my default files and directory permissions to 700?

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    I don't know what you mean by 'default files', but to change permissions to 700 the command would be:
    Code:
    chmod 700 <file-or-dir-name>

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Location
    Athens, GA
    Posts
    56
    Code:
    chmod -R 700 dir_name
    changes the permissions to the directory and all the files in it recursively.

Posting Permissions

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