After installation, the Public caslib points to /opt/sas/viya/config/data/cas/default/public/ which I find not the best place.
So I moved the cas directory and its content to /data/cas on another file system and created symlink /opt/sas/viya/config/data/cas to point to /data/cas. I thought that would do the trick instantly but instead I get this error:
The path of the specified file 'CLASS2 FROM CSV.sashdat' does not match the definition for caslib 'Public'.
The action stopped due to errors.