How to set permission "-rw-rw-r--" to file?
41,245
Either
chmod a-x,g+w file
or
chmod ug=rw,o=r file
or using octal representation
chmod 664 file
Related videos on Youtube
Author by
Markus
Updated on September 18, 2022Comments
-
Markus over 1 year
I have a file with permission
-rwxr-xr-x
in Ubuntu. How can I change it to-rw-rw-r--
. I played withchmod
settings, but was unable to get-rw-rw-r--
.-
mja over 5 years
-
PerlDuck over 5 yearsYou may want to go through Unix/Linux Permissions - a tutorial.
-