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
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)