Topic complex |
System functions |
Function |
chmod() |
Short |
Changing file rights |
Syntax |
CHMOD(Pfad,Rechte : STRING) : INTEGER |
Parameter |
path : file which rights are to change
rights: string in the form 'rwxrwxrwx' |
Return |
error code of the operating system
|
See also: |
|
Description |
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:
|