PHP 8.5.0 Alpha 1 available for testing

Voting

: four minus two?
(Example: nine)

The Note You're Voting On

sam at totallydigital dot co dot nz
22 years ago
The first comment perhaps didn't quite make clear what's on with your umask and the permissions.

The permission passed to a command is first bitwise ANDed with the _INVERSE_ of the current umask, then applied to the file.

For example, umask = 0011 and permission = 0775
The inverse of 0011 = 0766

0775 AND 0766
= 111.111.101 AND 111.110.110
= 111.110.100
= 0764

<< Back to user notes page

To Top