Skip to content

Commit ca4ba65

Browse files
committed
docs: (IAC-1138) Add info about jump server cloud-init overwriting file permissions & ownership (#332)
1 parent b3fe07b commit ca4ba65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

files/cloud-init/jump/cloud-config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,13 @@ runcmd:
4343
# mount the nfs
4444
#
4545
- while [ `df -h | grep "${rwx_filestore_endpoint}:${rwx_filestore_path}" | wc -l` -eq 0 ]; do sleep 5 && mount -a ; done
46+
# Create pvs folder and adjust permissions and ownership only if the folder doesn't exist
47+
# On subsequent jump server creation if the mounted NFS already contains a "pvs" directory
48+
# then do not overwrite permissions and ownership set by SAS Viya
4649
- if ! [ -d "${jump_rwx_filestore_path}/pvs" ]
4750
- then
4851
#
49-
# Change permissions and owner
52+
# Change permissions and ownership
5053
#
5154
- mkdir -p ${jump_rwx_filestore_path}/pvs
5255
- $(chmod -fR 777 ${jump_rwx_filestore_path} ; echo)

0 commit comments

Comments
 (0)