basic.%chown
Changes owner and group ID.
Syntax
variable=%chown(string, owner, group)
Description
changes the owner ID and group ID of the file 'string' to the values specified in 'owner' and 'group' respectively.
Example
if %chown( '/tmp/ap.log', 2000, 0) < 0 then
crt 'Cannot change owner'; stop
end
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
