Files
php/bin/fixright
T
Macintoshplus dd9b5397a8 add fixright
2015-08-07 09:44:23 +02:00

13 lines
166 B
Bash
Executable File

#!/bin/bash
if [ -d "/src" ]
then
USERID=$(stat -c "%u" /src)
GROUPID=$(stat -c "%g" /src)
groupmod -g $GROUPID phpuser
usermod -u $USERID -g $GROUPID phpuser
fi