Skip to content

Commit 5465be3

Browse files
committed
Ensure file permissions for log directory are correct.
1 parent b2cd9c7 commit 5465be3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

xdmod/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ then
7979
expect /srv/xdmod/scripts/xdmod-setup-ondemand.tcl | col -b
8080

8181
echo "---> XDMoD Open OnDemand ingest historical data"
82+
chown hpcadmin:xdmod -R /scratch/ondemand/logs
8283
sudo -u xdmod xdmod-ondemand-ingestor -r ondemand -u https://localhost:3443 -d /scratch/ondemand/logs
8384
sudo -u xdmod xdmod-ingestor
8485
sudo -u xdmod xdmod-ondemand-ingestor -r ondemand -u https://localhost:3443 -d /scratch/ondemand/logs

0 commit comments

Comments
 (0)