Skip to content

Commit 3d7cab9

Browse files
committed
fixup! fixup! Try to see if xrootd will run as a different user
1 parent 670f0b5 commit 3d7cab9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

scripts/ci/gh-actions/linux-setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ find "$local_scripts_dir" -type f -name '*.sh' -perm /a=x -exec ./{} \;
1919
find "$local_scripts_dir" -type f -name '*.cmake' -exec cmake --trace -VV -P {} \;
2020

2121
echo "**********Install dependencies End**********"
22+
23+
useradd user
24+
echo -e "placeholder\nplaceholder" | passwd user
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/sh
2+
3+
set -x
4+
25
if [ "$(id -u)" -eq 0 ]; then
3-
# UID 1 means daemon in any ubuntu distro
4-
ROOT_ARGS="-R 1"
6+
ROOT_ARGS="-R user"
57
fi
8+
69
"$1" -b -l /tmp/xroot.log "$ROOT_ARGS" -w "$2" -c "$2"/xroot/etc/xrootd/xrootd-ssi.cfg

0 commit comments

Comments
 (0)