Struppi: Problem mit chmod

Beitrag lesen

ich wollte nur die 777-Rechte auf ein Verzeichnis setzen, leider bekam ich den Rückgabewert 0. Was mache ich falsch?

Keine Ahnung was du erwartest, meine Doku sagt über chmod:
"Changes the permissions of a list of files. The first element of the list must be the numerical mode, which should probably be an octal number, and which definitely should not a string of octal digits: 0644 is okay, '0644' is not. Returns the number of files successfully changed. See also oct, if all you have is a string."

Offensichtlich wurde kein File geändert.

Struppi.