How to get permission number by string : -rw-r--r-- What do you mean by “set the same”? Do you already have a file with -rw-r--r-- permission and want to set another file with the same permissions? Then see if your chmod supports --reference: “--reference=RFILE use RFILE's mode instead of MODE values” – man chmod
Advanced File permission and how to read them correctly So, in our example of -rw-rw-r--: the permissions for the user who created the file are rw- So that user can read and write to the file, but not execute it the permissions for the user's group are also rw-, which means that the user's group can read and write to it, too
Remount linux filesystem from ro to rw [duplicate] I need to remount my linux filesystem from ro to rw But nothing gonna work I will be very grateful if someone help me # mount dev mtdblock3 on type squashfs (ro) proc on proc type proc (rw)