Skip to content

Instantly share code, notes, and snippets.

@jakekara
Last active September 6, 2024 04:46
Show Gist options
  • Save jakekara/cc3354977a05d3283bfd8c8dd0ea11a5 to your computer and use it in GitHub Desktop.
Save jakekara/cc3354977a05d3283bfd8c8dd0ea11a5 to your computer and use it in GitHub Desktop.
List all possible UNIX file permissions -- example to teach myself enums and structs in Swift
// Unix File Permissions - List all possible file permissions
// Written to teach myself structs and enums in Swift
// Jake Kara, September 2017
enum Permission:Int{
case None = 0
case Execute, // 1
Write, // 2
ExecuteWrite, // 1 + 2 = 3
Read, // 4
ExecuteRead, // 1 + 4 = 5
WriteRead, // 2 + 4 = 6
ExecuteWriteRead // 7
var numericString:String { return "\(self.rawValue)" }
var symbolicString:String {
switch(self){
case .None:
return "---"
case.Execute:
return "--x"
case .Write:
return "-w-"
case .Read:
return "r--"
case .ExecuteWrite:
return "-wx"
case .ExecuteRead:
return "r-x"
case .WriteRead:
return "rw-"
case .ExecuteWriteRead:
return "rwx"
}
}
var verboseString:String {
switch(self){
case .None:
return "cannot access"
case .Execute:
return "can execute file"
case .Write:
return "can write to file"
case .Read:
return "can read from file"
case .ExecuteWrite:
return "can write to and execute file"
case .ExecuteRead:
return "can execute and read from file"
case .WriteRead:
return "can write to and read from file"
case .ExecuteWriteRead:
return "can execute, write to and read from file"
}
}
}
enum Triad:Int{
case owner, group, other
}
struct FilePermission {
var owner:Permission = Permission.None
var group:Permission = Permission.None
var other:Permission = Permission.None
var numericString: String { return "\(owner.numericString)\(group.numericString)\(other.numericString)" }
var symbolicString: String { return "-\(owner.symbolicString)\(group.symbolicString)\(other.symbolicString)"}
var verboseString: String { return "File's owner \(owner.verboseString); group members \(group.verboseString); and others \(other.verboseString)"}
}
var ow, gr, ot: Int
print ("Numeric\tSymbolic\tPlain English")
for ow in 0...7 {
for gr in 0...7 {
for ot in 0...7{
var fp = FilePermission()
fp.owner = Permission(rawValue: ow)!
fp.group = Permission(rawValue: gr)!
fp.other = Permission(rawValue: ot)!
print ("\(fp.numericString)\t\(fp.symbolicString)\t\(fp.verboseString)")
}
}
}
Numeric Symbolic Plain English
000 ---------- File's owner cannot access; group members cannot access; and others cannot access
001 ---------x File's owner cannot access; group members cannot access; and others can execute file
002 --------w- File's owner cannot access; group members cannot access; and others can write to file
003 --------wx File's owner cannot access; group members cannot access; and others can write to and execute file
004 -------r-- File's owner cannot access; group members cannot access; and others can read from file
005 -------r-x File's owner cannot access; group members cannot access; and others can execute and read from file
006 -------rw- File's owner cannot access; group members cannot access; and others can write to and read from file
007 -------rwx File's owner cannot access; group members cannot access; and others can execute, write to and read from file
010 ------x--- File's owner cannot access; group members can execute file; and others cannot access
011 ------x--x File's owner cannot access; group members can execute file; and others can execute file
012 ------x-w- File's owner cannot access; group members can execute file; and others can write to file
013 ------x-wx File's owner cannot access; group members can execute file; and others can write to and execute file
014 ------xr-- File's owner cannot access; group members can execute file; and others can read from file
015 ------xr-x File's owner cannot access; group members can execute file; and others can execute and read from file
016 ------xrw- File's owner cannot access; group members can execute file; and others can write to and read from file
017 ------xrwx File's owner cannot access; group members can execute file; and others can execute, write to and read from file
020 -----w---- File's owner cannot access; group members can write to file; and others cannot access
021 -----w---x File's owner cannot access; group members can write to file; and others can execute file
022 -----w--w- File's owner cannot access; group members can write to file; and others can write to file
023 -----w--wx File's owner cannot access; group members can write to file; and others can write to and execute file
024 -----w-r-- File's owner cannot access; group members can write to file; and others can read from file
025 -----w-r-x File's owner cannot access; group members can write to file; and others can execute and read from file
026 -----w-rw- File's owner cannot access; group members can write to file; and others can write to and read from file
027 -----w-rwx File's owner cannot access; group members can write to file; and others can execute, write to and read from file
030 -----wx--- File's owner cannot access; group members can write to and execute file; and others cannot access
031 -----wx--x File's owner cannot access; group members can write to and execute file; and others can execute file
032 -----wx-w- File's owner cannot access; group members can write to and execute file; and others can write to file
033 -----wx-wx File's owner cannot access; group members can write to and execute file; and others can write to and execute file
034 -----wxr-- File's owner cannot access; group members can write to and execute file; and others can read from file
035 -----wxr-x File's owner cannot access; group members can write to and execute file; and others can execute and read from file
036 -----wxrw- File's owner cannot access; group members can write to and execute file; and others can write to and read from file
037 -----wxrwx File's owner cannot access; group members can write to and execute file; and others can execute, write to and read from file
040 ----r----- File's owner cannot access; group members can read from file; and others cannot access
041 ----r----x File's owner cannot access; group members can read from file; and others can execute file
042 ----r---w- File's owner cannot access; group members can read from file; and others can write to file
043 ----r---wx File's owner cannot access; group members can read from file; and others can write to and execute file
044 ----r--r-- File's owner cannot access; group members can read from file; and others can read from file
045 ----r--r-x File's owner cannot access; group members can read from file; and others can execute and read from file
046 ----r--rw- File's owner cannot access; group members can read from file; and others can write to and read from file
047 ----r--rwx File's owner cannot access; group members can read from file; and others can execute, write to and read from file
050 ----r-x--- File's owner cannot access; group members can execute and read from file; and others cannot access
051 ----r-x--x File's owner cannot access; group members can execute and read from file; and others can execute file
052 ----r-x-w- File's owner cannot access; group members can execute and read from file; and others can write to file
053 ----r-x-wx File's owner cannot access; group members can execute and read from file; and others can write to and execute file
054 ----r-xr-- File's owner cannot access; group members can execute and read from file; and others can read from file
055 ----r-xr-x File's owner cannot access; group members can execute and read from file; and others can execute and read from file
056 ----r-xrw- File's owner cannot access; group members can execute and read from file; and others can write to and read from file
057 ----r-xrwx File's owner cannot access; group members can execute and read from file; and others can execute, write to and read from file
060 ----rw---- File's owner cannot access; group members can write to and read from file; and others cannot access
061 ----rw---x File's owner cannot access; group members can write to and read from file; and others can execute file
062 ----rw--w- File's owner cannot access; group members can write to and read from file; and others can write to file
063 ----rw--wx File's owner cannot access; group members can write to and read from file; and others can write to and execute file
064 ----rw-r-- File's owner cannot access; group members can write to and read from file; and others can read from file
065 ----rw-r-x File's owner cannot access; group members can write to and read from file; and others can execute and read from file
066 ----rw-rw- File's owner cannot access; group members can write to and read from file; and others can write to and read from file
067 ----rw-rwx File's owner cannot access; group members can write to and read from file; and others can execute, write to and read from file
070 ----rwx--- File's owner cannot access; group members can execute, write to and read from file; and others cannot access
071 ----rwx--x File's owner cannot access; group members can execute, write to and read from file; and others can execute file
072 ----rwx-w- File's owner cannot access; group members can execute, write to and read from file; and others can write to file
073 ----rwx-wx File's owner cannot access; group members can execute, write to and read from file; and others can write to and execute file
074 ----rwxr-- File's owner cannot access; group members can execute, write to and read from file; and others can read from file
075 ----rwxr-x File's owner cannot access; group members can execute, write to and read from file; and others can execute and read from file
076 ----rwxrw- File's owner cannot access; group members can execute, write to and read from file; and others can write to and read from file
077 ----rwxrwx File's owner cannot access; group members can execute, write to and read from file; and others can execute, write to and read from file
100 ---x------ File's owner can execute file; group members cannot access; and others cannot access
101 ---x-----x File's owner can execute file; group members cannot access; and others can execute file
102 ---x----w- File's owner can execute file; group members cannot access; and others can write to file
103 ---x----wx File's owner can execute file; group members cannot access; and others can write to and execute file
104 ---x---r-- File's owner can execute file; group members cannot access; and others can read from file
105 ---x---r-x File's owner can execute file; group members cannot access; and others can execute and read from file
106 ---x---rw- File's owner can execute file; group members cannot access; and others can write to and read from file
107 ---x---rwx File's owner can execute file; group members cannot access; and others can execute, write to and read from file
110 ---x--x--- File's owner can execute file; group members can execute file; and others cannot access
111 ---x--x--x File's owner can execute file; group members can execute file; and others can execute file
112 ---x--x-w- File's owner can execute file; group members can execute file; and others can write to file
113 ---x--x-wx File's owner can execute file; group members can execute file; and others can write to and execute file
114 ---x--xr-- File's owner can execute file; group members can execute file; and others can read from file
115 ---x--xr-x File's owner can execute file; group members can execute file; and others can execute and read from file
116 ---x--xrw- File's owner can execute file; group members can execute file; and others can write to and read from file
117 ---x--xrwx File's owner can execute file; group members can execute file; and others can execute, write to and read from file
120 ---x-w---- File's owner can execute file; group members can write to file; and others cannot access
121 ---x-w---x File's owner can execute file; group members can write to file; and others can execute file
122 ---x-w--w- File's owner can execute file; group members can write to file; and others can write to file
123 ---x-w--wx File's owner can execute file; group members can write to file; and others can write to and execute file
124 ---x-w-r-- File's owner can execute file; group members can write to file; and others can read from file
125 ---x-w-r-x File's owner can execute file; group members can write to file; and others can execute and read from file
126 ---x-w-rw- File's owner can execute file; group members can write to file; and others can write to and read from file
127 ---x-w-rwx File's owner can execute file; group members can write to file; and others can execute, write to and read from file
130 ---x-wx--- File's owner can execute file; group members can write to and execute file; and others cannot access
131 ---x-wx--x File's owner can execute file; group members can write to and execute file; and others can execute file
132 ---x-wx-w- File's owner can execute file; group members can write to and execute file; and others can write to file
133 ---x-wx-wx File's owner can execute file; group members can write to and execute file; and others can write to and execute file
134 ---x-wxr-- File's owner can execute file; group members can write to and execute file; and others can read from file
135 ---x-wxr-x File's owner can execute file; group members can write to and execute file; and others can execute and read from file
136 ---x-wxrw- File's owner can execute file; group members can write to and execute file; and others can write to and read from file
137 ---x-wxrwx File's owner can execute file; group members can write to and execute file; and others can execute, write to and read from file
140 ---xr----- File's owner can execute file; group members can read from file; and others cannot access
141 ---xr----x File's owner can execute file; group members can read from file; and others can execute file
142 ---xr---w- File's owner can execute file; group members can read from file; and others can write to file
143 ---xr---wx File's owner can execute file; group members can read from file; and others can write to and execute file
144 ---xr--r-- File's owner can execute file; group members can read from file; and others can read from file
145 ---xr--r-x File's owner can execute file; group members can read from file; and others can execute and read from file
146 ---xr--rw- File's owner can execute file; group members can read from file; and others can write to and read from file
147 ---xr--rwx File's owner can execute file; group members can read from file; and others can execute, write to and read from file
150 ---xr-x--- File's owner can execute file; group members can execute and read from file; and others cannot access
151 ---xr-x--x File's owner can execute file; group members can execute and read from file; and others can execute file
152 ---xr-x-w- File's owner can execute file; group members can execute and read from file; and others can write to file
153 ---xr-x-wx File's owner can execute file; group members can execute and read from file; and others can write to and execute file
154 ---xr-xr-- File's owner can execute file; group members can execute and read from file; and others can read from file
155 ---xr-xr-x File's owner can execute file; group members can execute and read from file; and others can execute and read from file
156 ---xr-xrw- File's owner can execute file; group members can execute and read from file; and others can write to and read from file
157 ---xr-xrwx File's owner can execute file; group members can execute and read from file; and others can execute, write to and read from file
160 ---xrw---- File's owner can execute file; group members can write to and read from file; and others cannot access
161 ---xrw---x File's owner can execute file; group members can write to and read from file; and others can execute file
162 ---xrw--w- File's owner can execute file; group members can write to and read from file; and others can write to file
163 ---xrw--wx File's owner can execute file; group members can write to and read from file; and others can write to and execute file
164 ---xrw-r-- File's owner can execute file; group members can write to and read from file; and others can read from file
165 ---xrw-r-x File's owner can execute file; group members can write to and read from file; and others can execute and read from file
166 ---xrw-rw- File's owner can execute file; group members can write to and read from file; and others can write to and read from file
167 ---xrw-rwx File's owner can execute file; group members can write to and read from file; and others can execute, write to and read from file
170 ---xrwx--- File's owner can execute file; group members can execute, write to and read from file; and others cannot access
171 ---xrwx--x File's owner can execute file; group members can execute, write to and read from file; and others can execute file
172 ---xrwx-w- File's owner can execute file; group members can execute, write to and read from file; and others can write to file
173 ---xrwx-wx File's owner can execute file; group members can execute, write to and read from file; and others can write to and execute file
174 ---xrwxr-- File's owner can execute file; group members can execute, write to and read from file; and others can read from file
175 ---xrwxr-x File's owner can execute file; group members can execute, write to and read from file; and others can execute and read from file
176 ---xrwxrw- File's owner can execute file; group members can execute, write to and read from file; and others can write to and read from file
177 ---xrwxrwx File's owner can execute file; group members can execute, write to and read from file; and others can execute, write to and read from file
200 --w------- File's owner can write to file; group members cannot access; and others cannot access
201 --w------x File's owner can write to file; group members cannot access; and others can execute file
202 --w-----w- File's owner can write to file; group members cannot access; and others can write to file
203 --w-----wx File's owner can write to file; group members cannot access; and others can write to and execute file
204 --w----r-- File's owner can write to file; group members cannot access; and others can read from file
205 --w----r-x File's owner can write to file; group members cannot access; and others can execute and read from file
206 --w----rw- File's owner can write to file; group members cannot access; and others can write to and read from file
207 --w----rwx File's owner can write to file; group members cannot access; and others can execute, write to and read from file
210 --w---x--- File's owner can write to file; group members can execute file; and others cannot access
211 --w---x--x File's owner can write to file; group members can execute file; and others can execute file
212 --w---x-w- File's owner can write to file; group members can execute file; and others can write to file
213 --w---x-wx File's owner can write to file; group members can execute file; and others can write to and execute file
214 --w---xr-- File's owner can write to file; group members can execute file; and others can read from file
215 --w---xr-x File's owner can write to file; group members can execute file; and others can execute and read from file
216 --w---xrw- File's owner can write to file; group members can execute file; and others can write to and read from file
217 --w---xrwx File's owner can write to file; group members can execute file; and others can execute, write to and read from file
220 --w--w---- File's owner can write to file; group members can write to file; and others cannot access
221 --w--w---x File's owner can write to file; group members can write to file; and others can execute file
222 --w--w--w- File's owner can write to file; group members can write to file; and others can write to file
223 --w--w--wx File's owner can write to file; group members can write to file; and others can write to and execute file
224 --w--w-r-- File's owner can write to file; group members can write to file; and others can read from file
225 --w--w-r-x File's owner can write to file; group members can write to file; and others can execute and read from file
226 --w--w-rw- File's owner can write to file; group members can write to file; and others can write to and read from file
227 --w--w-rwx File's owner can write to file; group members can write to file; and others can execute, write to and read from file
230 --w--wx--- File's owner can write to file; group members can write to and execute file; and others cannot access
231 --w--wx--x File's owner can write to file; group members can write to and execute file; and others can execute file
232 --w--wx-w- File's owner can write to file; group members can write to and execute file; and others can write to file
233 --w--wx-wx File's owner can write to file; group members can write to and execute file; and others can write to and execute file
234 --w--wxr-- File's owner can write to file; group members can write to and execute file; and others can read from file
235 --w--wxr-x File's owner can write to file; group members can write to and execute file; and others can execute and read from file
236 --w--wxrw- File's owner can write to file; group members can write to and execute file; and others can write to and read from file
237 --w--wxrwx File's owner can write to file; group members can write to and execute file; and others can execute, write to and read from file
240 --w-r----- File's owner can write to file; group members can read from file; and others cannot access
241 --w-r----x File's owner can write to file; group members can read from file; and others can execute file
242 --w-r---w- File's owner can write to file; group members can read from file; and others can write to file
243 --w-r---wx File's owner can write to file; group members can read from file; and others can write to and execute file
244 --w-r--r-- File's owner can write to file; group members can read from file; and others can read from file
245 --w-r--r-x File's owner can write to file; group members can read from file; and others can execute and read from file
246 --w-r--rw- File's owner can write to file; group members can read from file; and others can write to and read from file
247 --w-r--rwx File's owner can write to file; group members can read from file; and others can execute, write to and read from file
250 --w-r-x--- File's owner can write to file; group members can execute and read from file; and others cannot access
251 --w-r-x--x File's owner can write to file; group members can execute and read from file; and others can execute file
252 --w-r-x-w- File's owner can write to file; group members can execute and read from file; and others can write to file
253 --w-r-x-wx File's owner can write to file; group members can execute and read from file; and others can write to and execute file
254 --w-r-xr-- File's owner can write to file; group members can execute and read from file; and others can read from file
255 --w-r-xr-x File's owner can write to file; group members can execute and read from file; and others can execute and read from file
256 --w-r-xrw- File's owner can write to file; group members can execute and read from file; and others can write to and read from file
257 --w-r-xrwx File's owner can write to file; group members can execute and read from file; and others can execute, write to and read from file
260 --w-rw---- File's owner can write to file; group members can write to and read from file; and others cannot access
261 --w-rw---x File's owner can write to file; group members can write to and read from file; and others can execute file
262 --w-rw--w- File's owner can write to file; group members can write to and read from file; and others can write to file
263 --w-rw--wx File's owner can write to file; group members can write to and read from file; and others can write to and execute file
264 --w-rw-r-- File's owner can write to file; group members can write to and read from file; and others can read from file
265 --w-rw-r-x File's owner can write to file; group members can write to and read from file; and others can execute and read from file
266 --w-rw-rw- File's owner can write to file; group members can write to and read from file; and others can write to and read from file
267 --w-rw-rwx File's owner can write to file; group members can write to and read from file; and others can execute, write to and read from file
270 --w-rwx--- File's owner can write to file; group members can execute, write to and read from file; and others cannot access
271 --w-rwx--x File's owner can write to file; group members can execute, write to and read from file; and others can execute file
272 --w-rwx-w- File's owner can write to file; group members can execute, write to and read from file; and others can write to file
273 --w-rwx-wx File's owner can write to file; group members can execute, write to and read from file; and others can write to and execute file
274 --w-rwxr-- File's owner can write to file; group members can execute, write to and read from file; and others can read from file
275 --w-rwxr-x File's owner can write to file; group members can execute, write to and read from file; and others can execute and read from file
276 --w-rwxrw- File's owner can write to file; group members can execute, write to and read from file; and others can write to and read from file
277 --w-rwxrwx File's owner can write to file; group members can execute, write to and read from file; and others can execute, write to and read from file
300 --wx------ File's owner can write to and execute file; group members cannot access; and others cannot access
301 --wx-----x File's owner can write to and execute file; group members cannot access; and others can execute file
302 --wx----w- File's owner can write to and execute file; group members cannot access; and others can write to file
303 --wx----wx File's owner can write to and execute file; group members cannot access; and others can write to and execute file
304 --wx---r-- File's owner can write to and execute file; group members cannot access; and others can read from file
305 --wx---r-x File's owner can write to and execute file; group members cannot access; and others can execute and read from file
306 --wx---rw- File's owner can write to and execute file; group members cannot access; and others can write to and read from file
307 --wx---rwx File's owner can write to and execute file; group members cannot access; and others can execute, write to and read from file
310 --wx--x--- File's owner can write to and execute file; group members can execute file; and others cannot access
311 --wx--x--x File's owner can write to and execute file; group members can execute file; and others can execute file
312 --wx--x-w- File's owner can write to and execute file; group members can execute file; and others can write to file
313 --wx--x-wx File's owner can write to and execute file; group members can execute file; and others can write to and execute file
314 --wx--xr-- File's owner can write to and execute file; group members can execute file; and others can read from file
315 --wx--xr-x File's owner can write to and execute file; group members can execute file; and others can execute and read from file
316 --wx--xrw- File's owner can write to and execute file; group members can execute file; and others can write to and read from file
317 --wx--xrwx File's owner can write to and execute file; group members can execute file; and others can execute, write to and read from file
320 --wx-w---- File's owner can write to and execute file; group members can write to file; and others cannot access
321 --wx-w---x File's owner can write to and execute file; group members can write to file; and others can execute file
322 --wx-w--w- File's owner can write to and execute file; group members can write to file; and others can write to file
323 --wx-w--wx File's owner can write to and execute file; group members can write to file; and others can write to and execute file
324 --wx-w-r-- File's owner can write to and execute file; group members can write to file; and others can read from file
325 --wx-w-r-x File's owner can write to and execute file; group members can write to file; and others can execute and read from file
326 --wx-w-rw- File's owner can write to and execute file; group members can write to file; and others can write to and read from file
327 --wx-w-rwx File's owner can write to and execute file; group members can write to file; and others can execute, write to and read from file
330 --wx-wx--- File's owner can write to and execute file; group members can write to and execute file; and others cannot access
331 --wx-wx--x File's owner can write to and execute file; group members can write to and execute file; and others can execute file
332 --wx-wx-w- File's owner can write to and execute file; group members can write to and execute file; and others can write to file
333 --wx-wx-wx File's owner can write to and execute file; group members can write to and execute file; and others can write to and execute file
334 --wx-wxr-- File's owner can write to and execute file; group members can write to and execute file; and others can read from file
335 --wx-wxr-x File's owner can write to and execute file; group members can write to and execute file; and others can execute and read from file
336 --wx-wxrw- File's owner can write to and execute file; group members can write to and execute file; and others can write to and read from file
337 --wx-wxrwx File's owner can write to and execute file; group members can write to and execute file; and others can execute, write to and read from file
340 --wxr----- File's owner can write to and execute file; group members can read from file; and others cannot access
341 --wxr----x File's owner can write to and execute file; group members can read from file; and others can execute file
342 --wxr---w- File's owner can write to and execute file; group members can read from file; and others can write to file
343 --wxr---wx File's owner can write to and execute file; group members can read from file; and others can write to and execute file
344 --wxr--r-- File's owner can write to and execute file; group members can read from file; and others can read from file
345 --wxr--r-x File's owner can write to and execute file; group members can read from file; and others can execute and read from file
346 --wxr--rw- File's owner can write to and execute file; group members can read from file; and others can write to and read from file
347 --wxr--rwx File's owner can write to and execute file; group members can read from file; and others can execute, write to and read from file
350 --wxr-x--- File's owner can write to and execute file; group members can execute and read from file; and others cannot access
351 --wxr-x--x File's owner can write to and execute file; group members can execute and read from file; and others can execute file
352 --wxr-x-w- File's owner can write to and execute file; group members can execute and read from file; and others can write to file
353 --wxr-x-wx File's owner can write to and execute file; group members can execute and read from file; and others can write to and execute file
354 --wxr-xr-- File's owner can write to and execute file; group members can execute and read from file; and others can read from file
355 --wxr-xr-x File's owner can write to and execute file; group members can execute and read from file; and others can execute and read from file
356 --wxr-xrw- File's owner can write to and execute file; group members can execute and read from file; and others can write to and read from file
357 --wxr-xrwx File's owner can write to and execute file; group members can execute and read from file; and others can execute, write to and read from file
360 --wxrw---- File's owner can write to and execute file; group members can write to and read from file; and others cannot access
361 --wxrw---x File's owner can write to and execute file; group members can write to and read from file; and others can execute file
362 --wxrw--w- File's owner can write to and execute file; group members can write to and read from file; and others can write to file
363 --wxrw--wx File's owner can write to and execute file; group members can write to and read from file; and others can write to and execute file
364 --wxrw-r-- File's owner can write to and execute file; group members can write to and read from file; and others can read from file
365 --wxrw-r-x File's owner can write to and execute file; group members can write to and read from file; and others can execute and read from file
366 --wxrw-rw- File's owner can write to and execute file; group members can write to and read from file; and others can write to and read from file
367 --wxrw-rwx File's owner can write to and execute file; group members can write to and read from file; and others can execute, write to and read from file
370 --wxrwx--- File's owner can write to and execute file; group members can execute, write to and read from file; and others cannot access
371 --wxrwx--x File's owner can write to and execute file; group members can execute, write to and read from file; and others can execute file
372 --wxrwx-w- File's owner can write to and execute file; group members can execute, write to and read from file; and others can write to file
373 --wxrwx-wx File's owner can write to and execute file; group members can execute, write to and read from file; and others can write to and execute file
374 --wxrwxr-- File's owner can write to and execute file; group members can execute, write to and read from file; and others can read from file
375 --wxrwxr-x File's owner can write to and execute file; group members can execute, write to and read from file; and others can execute and read from file
376 --wxrwxrw- File's owner can write to and execute file; group members can execute, write to and read from file; and others can write to and read from file
377 --wxrwxrwx File's owner can write to and execute file; group members can execute, write to and read from file; and others can execute, write to and read from file
400 -r-------- File's owner can read from file; group members cannot access; and others cannot access
401 -r-------x File's owner can read from file; group members cannot access; and others can execute file
402 -r------w- File's owner can read from file; group members cannot access; and others can write to file
403 -r------wx File's owner can read from file; group members cannot access; and others can write to and execute file
404 -r-----r-- File's owner can read from file; group members cannot access; and others can read from file
405 -r-----r-x File's owner can read from file; group members cannot access; and others can execute and read from file
406 -r-----rw- File's owner can read from file; group members cannot access; and others can write to and read from file
407 -r-----rwx File's owner can read from file; group members cannot access; and others can execute, write to and read from file
410 -r----x--- File's owner can read from file; group members can execute file; and others cannot access
411 -r----x--x File's owner can read from file; group members can execute file; and others can execute file
412 -r----x-w- File's owner can read from file; group members can execute file; and others can write to file
413 -r----x-wx File's owner can read from file; group members can execute file; and others can write to and execute file
414 -r----xr-- File's owner can read from file; group members can execute file; and others can read from file
415 -r----xr-x File's owner can read from file; group members can execute file; and others can execute and read from file
416 -r----xrw- File's owner can read from file; group members can execute file; and others can write to and read from file
417 -r----xrwx File's owner can read from file; group members can execute file; and others can execute, write to and read from file
420 -r---w---- File's owner can read from file; group members can write to file; and others cannot access
421 -r---w---x File's owner can read from file; group members can write to file; and others can execute file
422 -r---w--w- File's owner can read from file; group members can write to file; and others can write to file
423 -r---w--wx File's owner can read from file; group members can write to file; and others can write to and execute file
424 -r---w-r-- File's owner can read from file; group members can write to file; and others can read from file
425 -r---w-r-x File's owner can read from file; group members can write to file; and others can execute and read from file
426 -r---w-rw- File's owner can read from file; group members can write to file; and others can write to and read from file
427 -r---w-rwx File's owner can read from file; group members can write to file; and others can execute, write to and read from file
430 -r---wx--- File's owner can read from file; group members can write to and execute file; and others cannot access
431 -r---wx--x File's owner can read from file; group members can write to and execute file; and others can execute file
432 -r---wx-w- File's owner can read from file; group members can write to and execute file; and others can write to file
433 -r---wx-wx File's owner can read from file; group members can write to and execute file; and others can write to and execute file
434 -r---wxr-- File's owner can read from file; group members can write to and execute file; and others can read from file
435 -r---wxr-x File's owner can read from file; group members can write to and execute file; and others can execute and read from file
436 -r---wxrw- File's owner can read from file; group members can write to and execute file; and others can write to and read from file
437 -r---wxrwx File's owner can read from file; group members can write to and execute file; and others can execute, write to and read from file
440 -r--r----- File's owner can read from file; group members can read from file; and others cannot access
441 -r--r----x File's owner can read from file; group members can read from file; and others can execute file
442 -r--r---w- File's owner can read from file; group members can read from file; and others can write to file
443 -r--r---wx File's owner can read from file; group members can read from file; and others can write to and execute file
444 -r--r--r-- File's owner can read from file; group members can read from file; and others can read from file
445 -r--r--r-x File's owner can read from file; group members can read from file; and others can execute and read from file
446 -r--r--rw- File's owner can read from file; group members can read from file; and others can write to and read from file
447 -r--r--rwx File's owner can read from file; group members can read from file; and others can execute, write to and read from file
450 -r--r-x--- File's owner can read from file; group members can execute and read from file; and others cannot access
451 -r--r-x--x File's owner can read from file; group members can execute and read from file; and others can execute file
452 -r--r-x-w- File's owner can read from file; group members can execute and read from file; and others can write to file
453 -r--r-x-wx File's owner can read from file; group members can execute and read from file; and others can write to and execute file
454 -r--r-xr-- File's owner can read from file; group members can execute and read from file; and others can read from file
455 -r--r-xr-x File's owner can read from file; group members can execute and read from file; and others can execute and read from file
456 -r--r-xrw- File's owner can read from file; group members can execute and read from file; and others can write to and read from file
457 -r--r-xrwx File's owner can read from file; group members can execute and read from file; and others can execute, write to and read from file
460 -r--rw---- File's owner can read from file; group members can write to and read from file; and others cannot access
461 -r--rw---x File's owner can read from file; group members can write to and read from file; and others can execute file
462 -r--rw--w- File's owner can read from file; group members can write to and read from file; and others can write to file
463 -r--rw--wx File's owner can read from file; group members can write to and read from file; and others can write to and execute file
464 -r--rw-r-- File's owner can read from file; group members can write to and read from file; and others can read from file
465 -r--rw-r-x File's owner can read from file; group members can write to and read from file; and others can execute and read from file
466 -r--rw-rw- File's owner can read from file; group members can write to and read from file; and others can write to and read from file
467 -r--rw-rwx File's owner can read from file; group members can write to and read from file; and others can execute, write to and read from file
470 -r--rwx--- File's owner can read from file; group members can execute, write to and read from file; and others cannot access
471 -r--rwx--x File's owner can read from file; group members can execute, write to and read from file; and others can execute file
472 -r--rwx-w- File's owner can read from file; group members can execute, write to and read from file; and others can write to file
473 -r--rwx-wx File's owner can read from file; group members can execute, write to and read from file; and others can write to and execute file
474 -r--rwxr-- File's owner can read from file; group members can execute, write to and read from file; and others can read from file
475 -r--rwxr-x File's owner can read from file; group members can execute, write to and read from file; and others can execute and read from file
476 -r--rwxrw- File's owner can read from file; group members can execute, write to and read from file; and others can write to and read from file
477 -r--rwxrwx File's owner can read from file; group members can execute, write to and read from file; and others can execute, write to and read from file
500 -r-x------ File's owner can execute and read from file; group members cannot access; and others cannot access
501 -r-x-----x File's owner can execute and read from file; group members cannot access; and others can execute file
502 -r-x----w- File's owner can execute and read from file; group members cannot access; and others can write to file
503 -r-x----wx File's owner can execute and read from file; group members cannot access; and others can write to and execute file
504 -r-x---r-- File's owner can execute and read from file; group members cannot access; and others can read from file
505 -r-x---r-x File's owner can execute and read from file; group members cannot access; and others can execute and read from file
506 -r-x---rw- File's owner can execute and read from file; group members cannot access; and others can write to and read from file
507 -r-x---rwx File's owner can execute and read from file; group members cannot access; and others can execute, write to and read from file
510 -r-x--x--- File's owner can execute and read from file; group members can execute file; and others cannot access
511 -r-x--x--x File's owner can execute and read from file; group members can execute file; and others can execute file
512 -r-x--x-w- File's owner can execute and read from file; group members can execute file; and others can write to file
513 -r-x--x-wx File's owner can execute and read from file; group members can execute file; and others can write to and execute file
514 -r-x--xr-- File's owner can execute and read from file; group members can execute file; and others can read from file
515 -r-x--xr-x File's owner can execute and read from file; group members can execute file; and others can execute and read from file
516 -r-x--xrw- File's owner can execute and read from file; group members can execute file; and others can write to and read from file
517 -r-x--xrwx File's owner can execute and read from file; group members can execute file; and others can execute, write to and read from file
520 -r-x-w---- File's owner can execute and read from file; group members can write to file; and others cannot access
521 -r-x-w---x File's owner can execute and read from file; group members can write to file; and others can execute file
522 -r-x-w--w- File's owner can execute and read from file; group members can write to file; and others can write to file
523 -r-x-w--wx File's owner can execute and read from file; group members can write to file; and others can write to and execute file
524 -r-x-w-r-- File's owner can execute and read from file; group members can write to file; and others can read from file
525 -r-x-w-r-x File's owner can execute and read from file; group members can write to file; and others can execute and read from file
526 -r-x-w-rw- File's owner can execute and read from file; group members can write to file; and others can write to and read from file
527 -r-x-w-rwx File's owner can execute and read from file; group members can write to file; and others can execute, write to and read from file
530 -r-x-wx--- File's owner can execute and read from file; group members can write to and execute file; and others cannot access
531 -r-x-wx--x File's owner can execute and read from file; group members can write to and execute file; and others can execute file
532 -r-x-wx-w- File's owner can execute and read from file; group members can write to and execute file; and others can write to file
533 -r-x-wx-wx File's owner can execute and read from file; group members can write to and execute file; and others can write to and execute file
534 -r-x-wxr-- File's owner can execute and read from file; group members can write to and execute file; and others can read from file
535 -r-x-wxr-x File's owner can execute and read from file; group members can write to and execute file; and others can execute and read from file
536 -r-x-wxrw- File's owner can execute and read from file; group members can write to and execute file; and others can write to and read from file
537 -r-x-wxrwx File's owner can execute and read from file; group members can write to and execute file; and others can execute, write to and read from file
540 -r-xr----- File's owner can execute and read from file; group members can read from file; and others cannot access
541 -r-xr----x File's owner can execute and read from file; group members can read from file; and others can execute file
542 -r-xr---w- File's owner can execute and read from file; group members can read from file; and others can write to file
543 -r-xr---wx File's owner can execute and read from file; group members can read from file; and others can write to and execute file
544 -r-xr--r-- File's owner can execute and read from file; group members can read from file; and others can read from file
545 -r-xr--r-x File's owner can execute and read from file; group members can read from file; and others can execute and read from file
546 -r-xr--rw- File's owner can execute and read from file; group members can read from file; and others can write to and read from file
547 -r-xr--rwx File's owner can execute and read from file; group members can read from file; and others can execute, write to and read from file
550 -r-xr-x--- File's owner can execute and read from file; group members can execute and read from file; and others cannot access
551 -r-xr-x--x File's owner can execute and read from file; group members can execute and read from file; and others can execute file
552 -r-xr-x-w- File's owner can execute and read from file; group members can execute and read from file; and others can write to file
553 -r-xr-x-wx File's owner can execute and read from file; group members can execute and read from file; and others can write to and execute file
554 -r-xr-xr-- File's owner can execute and read from file; group members can execute and read from file; and others can read from file
555 -r-xr-xr-x File's owner can execute and read from file; group members can execute and read from file; and others can execute and read from file
556 -r-xr-xrw- File's owner can execute and read from file; group members can execute and read from file; and others can write to and read from file
557 -r-xr-xrwx File's owner can execute and read from file; group members can execute and read from file; and others can execute, write to and read from file
560 -r-xrw---- File's owner can execute and read from file; group members can write to and read from file; and others cannot access
561 -r-xrw---x File's owner can execute and read from file; group members can write to and read from file; and others can execute file
562 -r-xrw--w- File's owner can execute and read from file; group members can write to and read from file; and others can write to file
563 -r-xrw--wx File's owner can execute and read from file; group members can write to and read from file; and others can write to and execute file
564 -r-xrw-r-- File's owner can execute and read from file; group members can write to and read from file; and others can read from file
565 -r-xrw-r-x File's owner can execute and read from file; group members can write to and read from file; and others can execute and read from file
566 -r-xrw-rw- File's owner can execute and read from file; group members can write to and read from file; and others can write to and read from file
567 -r-xrw-rwx File's owner can execute and read from file; group members can write to and read from file; and others can execute, write to and read from file
570 -r-xrwx--- File's owner can execute and read from file; group members can execute, write to and read from file; and others cannot access
571 -r-xrwx--x File's owner can execute and read from file; group members can execute, write to and read from file; and others can execute file
572 -r-xrwx-w- File's owner can execute and read from file; group members can execute, write to and read from file; and others can write to file
573 -r-xrwx-wx File's owner can execute and read from file; group members can execute, write to and read from file; and others can write to and execute file
574 -r-xrwxr-- File's owner can execute and read from file; group members can execute, write to and read from file; and others can read from file
575 -r-xrwxr-x File's owner can execute and read from file; group members can execute, write to and read from file; and others can execute and read from file
576 -r-xrwxrw- File's owner can execute and read from file; group members can execute, write to and read from file; and others can write to and read from file
577 -r-xrwxrwx File's owner can execute and read from file; group members can execute, write to and read from file; and others can execute, write to and read from file
600 -rw------- File's owner can write to and read from file; group members cannot access; and others cannot access
601 -rw------x File's owner can write to and read from file; group members cannot access; and others can execute file
602 -rw-----w- File's owner can write to and read from file; group members cannot access; and others can write to file
603 -rw-----wx File's owner can write to and read from file; group members cannot access; and others can write to and execute file
604 -rw----r-- File's owner can write to and read from file; group members cannot access; and others can read from file
605 -rw----r-x File's owner can write to and read from file; group members cannot access; and others can execute and read from file
606 -rw----rw- File's owner can write to and read from file; group members cannot access; and others can write to and read from file
607 -rw----rwx File's owner can write to and read from file; group members cannot access; and others can execute, write to and read from file
610 -rw---x--- File's owner can write to and read from file; group members can execute file; and others cannot access
611 -rw---x--x File's owner can write to and read from file; group members can execute file; and others can execute file
612 -rw---x-w- File's owner can write to and read from file; group members can execute file; and others can write to file
613 -rw---x-wx File's owner can write to and read from file; group members can execute file; and others can write to and execute file
614 -rw---xr-- File's owner can write to and read from file; group members can execute file; and others can read from file
615 -rw---xr-x File's owner can write to and read from file; group members can execute file; and others can execute and read from file
616 -rw---xrw- File's owner can write to and read from file; group members can execute file; and others can write to and read from file
617 -rw---xrwx File's owner can write to and read from file; group members can execute file; and others can execute, write to and read from file
620 -rw--w---- File's owner can write to and read from file; group members can write to file; and others cannot access
621 -rw--w---x File's owner can write to and read from file; group members can write to file; and others can execute file
622 -rw--w--w- File's owner can write to and read from file; group members can write to file; and others can write to file
623 -rw--w--wx File's owner can write to and read from file; group members can write to file; and others can write to and execute file
624 -rw--w-r-- File's owner can write to and read from file; group members can write to file; and others can read from file
625 -rw--w-r-x File's owner can write to and read from file; group members can write to file; and others can execute and read from file
626 -rw--w-rw- File's owner can write to and read from file; group members can write to file; and others can write to and read from file
627 -rw--w-rwx File's owner can write to and read from file; group members can write to file; and others can execute, write to and read from file
630 -rw--wx--- File's owner can write to and read from file; group members can write to and execute file; and others cannot access
631 -rw--wx--x File's owner can write to and read from file; group members can write to and execute file; and others can execute file
632 -rw--wx-w- File's owner can write to and read from file; group members can write to and execute file; and others can write to file
633 -rw--wx-wx File's owner can write to and read from file; group members can write to and execute file; and others can write to and execute file
634 -rw--wxr-- File's owner can write to and read from file; group members can write to and execute file; and others can read from file
635 -rw--wxr-x File's owner can write to and read from file; group members can write to and execute file; and others can execute and read from file
636 -rw--wxrw- File's owner can write to and read from file; group members can write to and execute file; and others can write to and read from file
637 -rw--wxrwx File's owner can write to and read from file; group members can write to and execute file; and others can execute, write to and read from file
640 -rw-r----- File's owner can write to and read from file; group members can read from file; and others cannot access
641 -rw-r----x File's owner can write to and read from file; group members can read from file; and others can execute file
642 -rw-r---w- File's owner can write to and read from file; group members can read from file; and others can write to file
643 -rw-r---wx File's owner can write to and read from file; group members can read from file; and others can write to and execute file
644 -rw-r--r-- File's owner can write to and read from file; group members can read from file; and others can read from file
645 -rw-r--r-x File's owner can write to and read from file; group members can read from file; and others can execute and read from file
646 -rw-r--rw- File's owner can write to and read from file; group members can read from file; and others can write to and read from file
647 -rw-r--rwx File's owner can write to and read from file; group members can read from file; and others can execute, write to and read from file
650 -rw-r-x--- File's owner can write to and read from file; group members can execute and read from file; and others cannot access
651 -rw-r-x--x File's owner can write to and read from file; group members can execute and read from file; and others can execute file
652 -rw-r-x-w- File's owner can write to and read from file; group members can execute and read from file; and others can write to file
653 -rw-r-x-wx File's owner can write to and read from file; group members can execute and read from file; and others can write to and execute file
654 -rw-r-xr-- File's owner can write to and read from file; group members can execute and read from file; and others can read from file
655 -rw-r-xr-x File's owner can write to and read from file; group members can execute and read from file; and others can execute and read from file
656 -rw-r-xrw- File's owner can write to and read from file; group members can execute and read from file; and others can write to and read from file
657 -rw-r-xrwx File's owner can write to and read from file; group members can execute and read from file; and others can execute, write to and read from file
660 -rw-rw---- File's owner can write to and read from file; group members can write to and read from file; and others cannot access
661 -rw-rw---x File's owner can write to and read from file; group members can write to and read from file; and others can execute file
662 -rw-rw--w- File's owner can write to and read from file; group members can write to and read from file; and others can write to file
663 -rw-rw--wx File's owner can write to and read from file; group members can write to and read from file; and others can write to and execute file
664 -rw-rw-r-- File's owner can write to and read from file; group members can write to and read from file; and others can read from file
665 -rw-rw-r-x File's owner can write to and read from file; group members can write to and read from file; and others can execute and read from file
666 -rw-rw-rw- File's owner can write to and read from file; group members can write to and read from file; and others can write to and read from file
667 -rw-rw-rwx File's owner can write to and read from file; group members can write to and read from file; and others can execute, write to and read from file
670 -rw-rwx--- File's owner can write to and read from file; group members can execute, write to and read from file; and others cannot access
671 -rw-rwx--x File's owner can write to and read from file; group members can execute, write to and read from file; and others can execute file
672 -rw-rwx-w- File's owner can write to and read from file; group members can execute, write to and read from file; and others can write to file
673 -rw-rwx-wx File's owner can write to and read from file; group members can execute, write to and read from file; and others can write to and execute file
674 -rw-rwxr-- File's owner can write to and read from file; group members can execute, write to and read from file; and others can read from file
675 -rw-rwxr-x File's owner can write to and read from file; group members can execute, write to and read from file; and others can execute and read from file
676 -rw-rwxrw- File's owner can write to and read from file; group members can execute, write to and read from file; and others can write to and read from file
677 -rw-rwxrwx File's owner can write to and read from file; group members can execute, write to and read from file; and others can execute, write to and read from file
700 -rwx------ File's owner can execute, write to and read from file; group members cannot access; and others cannot access
701 -rwx-----x File's owner can execute, write to and read from file; group members cannot access; and others can execute file
702 -rwx----w- File's owner can execute, write to and read from file; group members cannot access; and others can write to file
703 -rwx----wx File's owner can execute, write to and read from file; group members cannot access; and others can write to and execute file
704 -rwx---r-- File's owner can execute, write to and read from file; group members cannot access; and others can read from file
705 -rwx---r-x File's owner can execute, write to and read from file; group members cannot access; and others can execute and read from file
706 -rwx---rw- File's owner can execute, write to and read from file; group members cannot access; and others can write to and read from file
707 -rwx---rwx File's owner can execute, write to and read from file; group members cannot access; and others can execute, write to and read from file
710 -rwx--x--- File's owner can execute, write to and read from file; group members can execute file; and others cannot access
711 -rwx--x--x File's owner can execute, write to and read from file; group members can execute file; and others can execute file
712 -rwx--x-w- File's owner can execute, write to and read from file; group members can execute file; and others can write to file
713 -rwx--x-wx File's owner can execute, write to and read from file; group members can execute file; and others can write to and execute file
714 -rwx--xr-- File's owner can execute, write to and read from file; group members can execute file; and others can read from file
715 -rwx--xr-x File's owner can execute, write to and read from file; group members can execute file; and others can execute and read from file
716 -rwx--xrw- File's owner can execute, write to and read from file; group members can execute file; and others can write to and read from file
717 -rwx--xrwx File's owner can execute, write to and read from file; group members can execute file; and others can execute, write to and read from file
720 -rwx-w---- File's owner can execute, write to and read from file; group members can write to file; and others cannot access
721 -rwx-w---x File's owner can execute, write to and read from file; group members can write to file; and others can execute file
722 -rwx-w--w- File's owner can execute, write to and read from file; group members can write to file; and others can write to file
723 -rwx-w--wx File's owner can execute, write to and read from file; group members can write to file; and others can write to and execute file
724 -rwx-w-r-- File's owner can execute, write to and read from file; group members can write to file; and others can read from file
725 -rwx-w-r-x File's owner can execute, write to and read from file; group members can write to file; and others can execute and read from file
726 -rwx-w-rw- File's owner can execute, write to and read from file; group members can write to file; and others can write to and read from file
727 -rwx-w-rwx File's owner can execute, write to and read from file; group members can write to file; and others can execute, write to and read from file
730 -rwx-wx--- File's owner can execute, write to and read from file; group members can write to and execute file; and others cannot access
731 -rwx-wx--x File's owner can execute, write to and read from file; group members can write to and execute file; and others can execute file
732 -rwx-wx-w- File's owner can execute, write to and read from file; group members can write to and execute file; and others can write to file
733 -rwx-wx-wx File's owner can execute, write to and read from file; group members can write to and execute file; and others can write to and execute file
734 -rwx-wxr-- File's owner can execute, write to and read from file; group members can write to and execute file; and others can read from file
735 -rwx-wxr-x File's owner can execute, write to and read from file; group members can write to and execute file; and others can execute and read from file
736 -rwx-wxrw- File's owner can execute, write to and read from file; group members can write to and execute file; and others can write to and read from file
737 -rwx-wxrwx File's owner can execute, write to and read from file; group members can write to and execute file; and others can execute, write to and read from file
740 -rwxr----- File's owner can execute, write to and read from file; group members can read from file; and others cannot access
741 -rwxr----x File's owner can execute, write to and read from file; group members can read from file; and others can execute file
742 -rwxr---w- File's owner can execute, write to and read from file; group members can read from file; and others can write to file
743 -rwxr---wx File's owner can execute, write to and read from file; group members can read from file; and others can write to and execute file
744 -rwxr--r-- File's owner can execute, write to and read from file; group members can read from file; and others can read from file
745 -rwxr--r-x File's owner can execute, write to and read from file; group members can read from file; and others can execute and read from file
746 -rwxr--rw- File's owner can execute, write to and read from file; group members can read from file; and others can write to and read from file
747 -rwxr--rwx File's owner can execute, write to and read from file; group members can read from file; and others can execute, write to and read from file
750 -rwxr-x--- File's owner can execute, write to and read from file; group members can execute and read from file; and others cannot access
751 -rwxr-x--x File's owner can execute, write to and read from file; group members can execute and read from file; and others can execute file
752 -rwxr-x-w- File's owner can execute, write to and read from file; group members can execute and read from file; and others can write to file
753 -rwxr-x-wx File's owner can execute, write to and read from file; group members can execute and read from file; and others can write to and execute file
754 -rwxr-xr-- File's owner can execute, write to and read from file; group members can execute and read from file; and others can read from file
755 -rwxr-xr-x File's owner can execute, write to and read from file; group members can execute and read from file; and others can execute and read from file
756 -rwxr-xrw- File's owner can execute, write to and read from file; group members can execute and read from file; and others can write to and read from file
757 -rwxr-xrwx File's owner can execute, write to and read from file; group members can execute and read from file; and others can execute, write to and read from file
760 -rwxrw---- File's owner can execute, write to and read from file; group members can write to and read from file; and others cannot access
761 -rwxrw---x File's owner can execute, write to and read from file; group members can write to and read from file; and others can execute file
762 -rwxrw--w- File's owner can execute, write to and read from file; group members can write to and read from file; and others can write to file
763 -rwxrw--wx File's owner can execute, write to and read from file; group members can write to and read from file; and others can write to and execute file
764 -rwxrw-r-- File's owner can execute, write to and read from file; group members can write to and read from file; and others can read from file
765 -rwxrw-r-x File's owner can execute, write to and read from file; group members can write to and read from file; and others can execute and read from file
766 -rwxrw-rw- File's owner can execute, write to and read from file; group members can write to and read from file; and others can write to and read from file
767 -rwxrw-rwx File's owner can execute, write to and read from file; group members can write to and read from file; and others can execute, write to and read from file
770 -rwxrwx--- File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others cannot access
771 -rwxrwx--x File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others can execute file
772 -rwxrwx-w- File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others can write to file
773 -rwxrwx-wx File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others can write to and execute file
774 -rwxrwxr-- File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others can read from file
775 -rwxrwxr-x File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others can execute and read from file
776 -rwxrwxrw- File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others can write to and read from file
777 -rwxrwxrwx File's owner can execute, write to and read from file; group members can execute, write to and read from file; and others can execute, write to and read from file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment