execl-subuidgid¶
Substitutes a literal GID UID with the UID GID of the current owner of the process.
Interface¶
execl-subuidgid [ -o owner ] prog
- Substitutes the variable
UIDGIDon prog.
Exit codes¶
- 0 success
- 100 wrong usage
- 111 system call failed
Options¶
- -o owner : set
UIDGIDof owner instead of the current one.
Usage examples¶
execl-subuidgid
if { mkdir -p /run/user }
chown -R $UID:$GID /run/user
execl-subuidgid -o root
if { mkdir /run }
chmow -R $UID:$GID /run/user