Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to change a file to the foll

Status
Not open for further replies.

071

MIS
Aug 9, 2000
153
I need to change a file to the following permissions,
-rwxr-xr-x

Anyone know how to do this numerically ?
 
071,

chmod 755 filename

Using octal notation, file permissions are split into 3 parts, and for each part, just add up the permissions you want.
Code:
-  4 2 1  4 2 1  4 2 1
-  r w x  r w x  r w x
Greg.
 
Thanks Greg, that did the job !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top