English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi plz tell me .

If the permission for a file is 000,then the file can be accessed by whom

2006-08-15 14:23:34 · 4 answers · asked by AshishBatra 5 in Computers & Internet Programming & Design

4 answers

If this is a Linux/Unix/Solaris question, the permissions are an octal representation for three groups of three bits, indicating read, write, and execute permissions for file's owner, owner's group, and the rest of the world. 000 would mean nobody has any permissions. The owner of the file can change them.

2006-08-15 14:43:23 · answer #1 · answered by Ken H 4 · 0 0

Actually, the *correct* answer is that if it's a Unix/Linux based system, and the permissions are 000, then the *user* can't access the file either - at that point, only the 'root' user can access the file, because processes running with effective UID of zero bypass the permissions checks.

2006-08-15 15:04:18 · answer #2 · answered by Valdis K 6 · 0 0

It can be accessed only by the user or root, but the user's access is limited to just changing the permissions of the file. Root can read or write to the file (but it seems like execution will not work, probably for security reasons) without changing the permissions.

2006-08-15 15:09:41 · answer #3 · answered by anonymous 7 · 0 0

Assuming this is on UNIX, I can only think of two people who can access the file.

1. The owner of the file

2. Root user

2006-08-15 14:46:14 · answer #4 · answered by Raj Sola 1 · 0 0

fedest.com, questions and answers