chgrp- Change group ownership. chown- Change file owner and group. setfacl- Set file access control lists. stat- Display file or file system status. bash syntax - Permissions Equivalent Windows command:CACLS- Change file permissions.
//learn.microsoft.com/en-us/windows-server/administration/windows-commands/icacls
Here, when we use theos.chmod()method, we are writing 0o before setting the permissions. It represents an octal integer. The file permission is set to 755, which means that the owner can read, write and search; others and group can only search in the file. ...