mirror of
https://github.com/macintoshplus/php.git
synced 2026-03-26 01:32:23 +01:00
change wd
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -d "/src" ]
|
||||
if [ -d "/sources" ]
|
||||
then
|
||||
|
||||
USERID=$(stat -c "%u" /src)
|
||||
GROUPID=$(stat -c "%g" /src)
|
||||
USERID=$(stat -c "%u" /sources)
|
||||
GROUPID=$(stat -c "%g" /sources)
|
||||
|
||||
groupmod -g $GROUPID phpuser
|
||||
usermod -u $USERID -g $GROUPID phpuser
|
||||
|
||||
Reference in New Issue
Block a user