Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Permissions


  • Please log in to reply
3 replies to this topic

#1 brianna6037

brianna6037

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:03:23 PM

Posted 02 May 2015 - 12:30 PM

How would I change the permissions for a directory, so that nobody has any permissions ?



BC AdBot (Login to Remove)

 


#2 Al1000

Al1000

  • Global Moderator
  • 8,026 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:06:23 PM

Posted 02 May 2015 - 12:47 PM

Hi and welcome to Bleeping Computer. The literal answer to your question is:

chmod 000 /path/to/directory
Preface the above command with sudo if directory is owned by root. (change /path/to/directory to the path to the directory you want to change the permissions of)

To check the permissions of a directory:

ls -ld /path/to/directory

Edited by Al1000, 02 May 2015 - 12:49 PM.


#3 brianna6037

brianna6037
  • Topic Starter

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:03:23 PM

Posted 02 May 2015 - 12:48 PM

Hi and welcome to Bleeping Computer. The literal answer to your question is:
 

chmod 000 /path/to/directory
Preface the above command with sudo if directory is owned by root.

To check the permissions of a directory:

ls -ld /path/to/directory

Thank you !! :)



#4 Al1000

Al1000

  • Global Moderator
  • 8,026 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:06:23 PM

Posted 02 May 2015 - 12:50 PM

You're welcome. :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users