CHMOD in WS_FTP
I'm using WS_FTP to upload my scripts, but most script instructions say to "chmod to 755", or "777".
I know 777 is to select all of them, but is there a quick guide reference?
I could just try every single combination and write them down, but I was looking for a guide for others at work as well.
There's:
OWNER GROUP OTHER
read read read
write write write
execute execute execute
To check all is 777,
To check only read on all 3 is 444, etc.
Thanks
Maverick posted this at 15:53 — 30th April 2000.
They have: 334 posts
Joined: Dec 1999
It goes:
Owner/Group/Public
Read/Write/Execute
Read=4
Write=2
Execute=1
So, If the owner gets all and the group/public gets read/execute, it's 755. If all groups get read and write, it's 666. If owner gets all and the other 2 groups get only execute, it's 711. Etc etc etc.
fairhousing posted this at 05:06 — 1st May 2000.
They have: 1,587 posts
Joined: Mar 1999
if it's 777 u want to chmod to then just check all nine places. if it's 775 check all except for the far right middle one.
------------------
CLICK 4 some tested resources for making money $, hosting, and web promotions.
My Site got hacked, but i'm coming back?
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
fairhousing posted this at 05:07 — 1st May 2000.
They have: 1,587 posts
Joined: Mar 1999
oops, the above 775 should be 755, sorry.
------------------
CLICK 4 some tested resources for making money $, hosting, and web promotions.
My Site got hacked, but i'm coming back?
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
forumoron posted this at 05:30 — 1st May 2000.
They have: 26 posts
Joined: Apr 2000
Thanks guys,
You hit the common ones I forgot to ask for specifically, and the 4,2,1 formula is great.
NSS posted this at 05:59 — 1st May 2000.
They have: 488 posts
Joined: Feb 2000
The Ftp chmod code is based on octal code i.e 1,2,4, by using this example you can work out any code you like to chmod your file http://www.netaxs.com/netaxs/userguide/chmod.html
[This message has been edited by NSS (edited 01 May 2000).]
[This message has been edited by NSS (edited 01 May 2000).]
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.