subuserchown

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
AUTHOR
SEE ALSO

NAME

subuserchown − change the owner of a file owned by a sub-user

SYNOPSIS

subuserchown username filename

DESCRIPTION

Changes the owner of a file to the named owner. This is useful for reclaiming output files from subusers. Requires that two conditions be met:

The file is currently owned by the calling user or some subuser of the calling user.

The username given is either the calling user’s username or the username of a descendant in the subuser tree of the calling user.

For an overview of how the subuser tools interact and how they keep track of what users “belong” to whom, see subusers(7).

OPTIONS

username

the name of the user to assign ownership to. Must be either the calling user’s username or the username of some descendant of the calling user.

filename

the name of the file to assign ownership of. Must be owned by either the calling user or some descendant of the calling user.

FILES

/etc/subusers

the file containing the ancestry relationships between users.

AUTHOR

Phil Snowberger (psnowber (at) cse.nd.edu)

SEE ALSO

subuseradd(1) subuserdel(1) subusersu(1) subusersudo(1) subusers(7)