Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > user privilegies

user privilegies
Thread Tools
Dedicated MacNNer
Join Date: Nov 2005
Status: Offline
Reply With Quote
Oct 21, 2011, 09:31 PM
 
I want to se some user privilegies using the terminal. My problem is that I don't understand some permissions from my operating system. So, for example I have a file with the rights drwxrwxxr-x. My question is what does the last x mean? How do I use chmod to add it or delete it?

Thank you
     
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Oct 22, 2011, 03:56 AM
 
The d means it's a directory (i.e. a folder). The three sets of rwx refer to the right to read from, write to, and execute programs from that directory, for its owner, his group, and all other users on the system. A hyphen (-) signifies that the user/group does not have that particular right.

Those two xx's in the middle of your example are wrong.

Also: if you don't know exactly what you're doing with regard to permissions, BE CAREFUL and better just leave it alone.

It's very easy to render large parts of your data inaccessible and/or make your machine completely unusable.

What are you trying to do?
     
Artanis  (op)
Dedicated MacNNer
Join Date: Nov 2005
Status: Offline
Reply With Quote
Oct 22, 2011, 12:45 PM
 
Originally Posted by Spheric Harlot View Post
The d means it's a directory (i.e. a folder). The three sets of rwx refer to the right to read from, write to, and execute programs from that directory, for its owner, his group, and all other users on the system. A hyphen (-) signifies that the user/group does not have that particular right.

Those two xx's in the middle of your example are wrong.

Also: if you don't know exactly what you're doing with regard to permissions, BE CAREFUL and better just leave it alone.

It's very easy to render large parts of your data inaccessible and/or make your machine completely unusable.

What are you trying to do?
I have knowledge about the chmod command from linux. I know what rwx means for all the 3 categories:its owner, group, others. It seems that I've wrongly counted the x values. Its ok. Thank you anyway
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2