| %CHMOD | Index Level | %CLOSE |
| Syntax | variable = %CHOWN( string, owner, group ) |
| Category | BASIC |
| Type | C Function |
| Description | changes the owner ID and group ID of the file "string" to the values specified in "owner" and "group" respectively. |
| Options | |
| See Also | c function CFUNCTION |
| Example |
if %chown( "/tmp/ap.log", 2000, 0) < 0 then
crt 'Cannot change owner'; stop end |
| Warnings | |
| Compatibility | D3/Unix |
| %CHMOD | Index Level | %CLOSE |