Skip to content
Advertisement

Tag: symfony-filesystem

Symfony Filesystem chmod() sets the incorrect permissions

I am using the Symfony’s Filesystem component, specifically chmod function: But on the terminal the permissions are weird: It is supposed to look like this: Am I doing something wrong? I’m using the 5.2.4 version. Answer public function chmod($files, int $mode, int $umask = 0000, bool $recursive = false) The second param of the function is the number, you are

Advertisement