mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-10-09 12:02:10 +02:00
Change ownership of /dev/pts/0 to new user
This commit is contained in:
1 parent
0ca299216e
commit
dcb6bde44b
1 file changed
+2
-2
@@ -27,8 +27,8 @@ if [[ -n $BUILDER_UID ]] && [[ -n $BUILDER_GID ]]; then
|
||||
groupadd -o -g "$BUILDER_GID" "$BUILDER_GROUP" 2> /dev/null
|
||||
useradd -o -m -g "$BUILDER_GID" -u "$BUILDER_UID" "$BUILDER_USER" 2> /dev/null
|
||||
|
||||
# Change ownership of /dev/pts/0 to new user and group
|
||||
chown -R "$BUILDER_UID":"$BUILDER_GID" /dev/pts/0
|
||||
# Change ownership of /dev/pts/0 to new user
|
||||
chown "$BUILDER_UID" /dev/pts/0
|
||||
|
||||
export HOME=/home/${BUILDER_USER}
|
||||
shopt -s dotglob
|
||||
|
||||
Reference in new issue
Block a user