Conclusion:
***without read+write permission on the
parent you can edit the file/contents, cat them But cannot create/delete
contents/files.
***without read permission on the parent you
can edit the file/contents and delete/create them as well.
***without execution permission on the parent
you cannot edit the file/contents and cannot delete/create them as well. You cannot
see the permission of contents also.
***without write permission on the parent you
cannot delete/create contents/files in the parent folder/directory.
File Permission:
Execution permission of a file means whether the file can be executed or not.
So it is only applicable to those file which are runable or executables I mean
script or compiled binary executables. So unless it is a script or binary the
max permission for a file will be 666.
Read
permission means whether you can cat/vi it or not that means you cannot have
the access until having read permission but still you can edit with echo command.
If you vi it ,it will tell read only if there is no read permission though it
has the write permission on it. So without reading or read permission you
cannot edit it in an editor.
Write
permission means whether you can change the content and save or not. But with
read permission you can still vi it or cat it to see the content but cannot
edit and save.
--------------------------Conclusion---------------------------
Without execution permission you cannot run a
script/binary.
Without read permission you cannot cat the
content or open the file with a editor.
Without write permission you cannot
change/edit the content.
Prepared By:
Md. Asraful islam
CCNA,RHCSA,RHCE,OCP
itasraful@gmail.com
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন