PREV INDEX NEXT

Author: Unknown
Subject: Issue with open() when setting write permissions to other
Date: Saturday, 28 Nov 2020, 13:27:37

When I try to set write permissions for "others" using open(), it doesn't seem to set it properly. For example, when I call open("test", ..., 777) and use "ls -Al", I get:

 -rwxrwxr-x

instead of  -rwxrwxrwx. It doesn't seem to work for any value I set to the other write permission. Is there a reason why this happens?
PREV INDEX NEXT