Don't allow users to build workspaces as root user
This was SVN commit r15369.
This commit is contained in:
parent
86aa30e0d9
commit
519c00c1a6
@ -1,5 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$(id -u)" == "0" ]; then
|
||||
echo "Running as root will mess up file permissions. Aborting ..." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
die()
|
||||
{
|
||||
echo ERROR: $*
|
||||
|
Loading…
Reference in New Issue
Block a user