File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
services/web/server/docker Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,9 @@ if [ "${SC_BUILD_TARGET}" = "development" ]; then
6464 usermod --uid " $HOST_USERID " --gid " $HOST_GROUPID " " $SC_USER_NAME "
6565
6666 echo " $INFO " " Changing group properties of files around from $SC_USER_ID to group $CONT_GROUPNAME "
67- find / -path /proc -prune -o -group " $SC_USER_ID " -exec chgrp --no-dereference " $CONT_GROUPNAME " {} \;
68- # change user property of files already around
67+ fdfind --owner " :$SC_USER_ID " --exclude proc --exec-batch chgrp --no-dereference " $CONT_GROUPNAME "
6968 echo " $INFO " " Changing ownership properties of files around from $SC_USER_ID to group $CONT_GROUPNAME "
70- find / -path /proc -prune -o -user " $SC_USER_ID " -exec chown --no-dereference " $SC_USER_NAME " {} \;
69+ fdfind --owner " $SC_USER_ID : " --exclude proc -- exec-batch chown --no-dereference " $SC_USER_NAME "
7170 fi
7271fi
7372
You can’t perform that action at this time.
0 commit comments