-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homes permission in NFS #58
Comments
I @Vladislaff , the code here: https://github.com/sassoftware/viya4-deployment/blob/main/playbooks/playbook.yaml#L34-L51 creates the needed directories under the |
Also, with these items being set when you run the deployment with the |
Hi @thpang , For some reason the directories were not created for me automatically. In SASStudio the showServerFiles was not on after the installation, so I don't see how the home dir would work without any modifications. I am using my own openldap if that matters. |
The Jump server is required as it's the conduit into the NFS component setup for the cluster. If you cannot access your Jump server, then neither can the viya4-deployment code base. You need to be sure to have your key pairs setup for ssh use with that box prior to running the viya4-deployment code base. |
I have the jump server and I can access it. The key pairs are set up correctly. My question is not regarding the jump host - I am asking about the permissions on the nfs share. |
I made a workaround for this. I set up sssd on the nfs server and made a cron script to create home folders. getent passwd | grep ${sasgroup} | awk -F':' '{print $1}' | while read -r user ; do
if [[ ! -e /export/dfmvpdev/homes/$user ]]; then
sudo mkdir -p /export/dfmvpdev/homes/$user
sudo chown -R $user:sasusers /export/dfmvpdev/homes/$user
sudo chmod -R 750 /export/dfmvpdev/homes/$user
fi
done |
Hi,
I created a cluster with storage_type='standard' (nfs vm).
Deployed viya4 with this tool.
Then set identifier.homeDirectoryPrefix in identities to /mnt/viya-share/homes.
On first connect to the SAS Studio compute context the home directory gets created in the nfs share but the permissions are:
drwxr-xr-x. root root.
Because of this the user cannot write anything to their home.
I have tried setting up sssd on the nfs vm - didn't help.
Maybe some mount options on the storage class will resolve this?
How is the homes mount supposed to be used?
Thank you.
The text was updated successfully, but these errors were encountered: