8 lines
177 B
Bash
8 lines
177 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
_tmp_file=$(ls "${INPUT_PROJECTBASEDIR}/" | head -1)
|
||
|
PERM=$(stat -c "%u:%g" "${INPUT_PROJECTBASEDIR}/$_tmp_file")
|
||
|
|
||
|
chown -R $PERM "${INPUT_PROJECTBASEDIR}/"
|