||Changing file rights
||CHMOD(Pfad,Rechte : STRING) : INTEGER
||path : file which rights are to change
rights: string in the form 'rwxrwxrwx'
||error code of the operating system
The function resets the file rights under Linux, depending on the rights with which the function was called (therefore only possible as root or owner of the file). The new rights are specified as 'rwxrwxrwx', whereby the first three are the rights of the owner, the second ones the rights for the group and the last ones the rights of the rest of the world. The function result returns the Linux error state.
Write a comment: