Frage

I want to set a directory to

-rwx r-x r-x 

using the octal form of chmod

what should i type in the terminal after chmod? and how do i calculate the digits in octal form?

War es hilfreich?

Lösung

It goes like this:

rwx rwx rwx
421 421 421

so what you want is

rwx r-x r-x
421 4-1 4-1
  7   5   5

so you type

chmod 755 nameofdirectory
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top