@StigMortenNegar ,
Prior to deployment, the entire CAS data dir path (not just the public path) can be customized via vars.yml:
https://go.documentation.sas.com/?docsetId=dplyml0phy0lax&docsetTarget=n1knvzbsifo9xqn1al0bh7wxrrkg.htm&docsetVersion=3.4&locale=en#n0y11x45tq21tan1ee3hpwkccpm2
However, after deployment, there is no simple method to change the paths already in use by caslibs like Public. Therefore, I recommend making /opt/sas/viya/config/data/cas/default/public a symlink to the desired new location on the CAS Controller:
- Stop CAS - Copy the content in /opt/sas/viya/config/data/cas/default/public to a new location, preserving permissions on the files - The new directory should be 777 cas:sas to match the old path - Delete the now-empty dir /opt/sas/viya/config/data/cas/default/public - Make a symlink ln -s <new dir containing the public files> /opt/sas/viya/config/data/cas/default/public - Start CAS
... View more