Sam MacDonald wrote:

> For the life of me I can't remember what the "human" values of 0750 
> are.  And I can't remember the command to set permissions.  The 
> permissions should be corrected just in case I want to torcher myself 
> with a graphical login in some far off time.
>
> Sam. 

That'd be 0 (sticky bit, you can pretty much ignore this one), 7 
(read/write/execute for user), 5 (read and execute for group), and 0 
(allow nothing for other users who aren't in your group).

Use chmod to change them.  It works out to:

4   Read
2   Write
1   Execute

So, 4+2+1=7, for 'read/write/execute', or '4+1=5' for 'read/execute'.

To change a file to 0750, you'd do 'chmod 0750 filename'.  You can also 
do more readable versions:

chmod u+r filename
will add read permissions for users to filename.  Also works with -r 
(remove read), or +w/-w to add or remove write, and +x/-x to add or 
remove execute.  Use u for user, g for group, o for everyone else, and a 
for all three.

Hope this is helpful.

Michael Vieths
Foeclan at Visi.com



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list