chown(TCLX)

chown(TCLX)


chown -- set owner of files in specified list

Syntax

chown owner|{owner group} filelist

Description

Sets the owner of each file in the list filelist to owner, which can be a user name or numeric user ID. If the first parameter is a list, then the owner is set to the first element of the list and the group is set to the second element. group can be a group name or numeric group ID. If group is {}, then the file group is set to the login group of the specified user.