View Single Post
Old 17-11-2007, 22:27   #10
The Jackal
cf.mega poster
 
Join Date: Oct 2006
Posts: 1,572
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: Secure files on an FTP server

Think binary when doing these

Read, Write, Execute
rwx
111 = 7

Read, Write
rw-
110 = 6

Write only
-w-
010 = 2

Read only
r--
100 = 4

etc

So a chmod 701 implies the following

Owner = 7 = 111 = rwx (owner can read write and execute)
Group = 0 = 000 = --- (group has no permissions at all)
World = 1 = 001 = --x (world can execute only)

Yes I'm bored
__________________
The Jackal is offline   Reply With Quote