I am still having problems allowing users to work on the same code.
Here are some more infos about my server: its a ubuntu server
(latest version) which uses pam authentication. I tried to set
umask for rstudio-server in /ect/pam.d/ which did not work also
setting umask for logins did not work. When users log in with ssh
they can read , write and modify files in the shared folder. In
rstudio console each user has the umask 0002, which produces
-rw-r-- permissions for new files created in rstudio.
Thank you so much for your hints!!! Got it finally. Here is what
1. all users are in the same primary group
2. I gave the shared folder (is symbolic link in users home) the
user group as owner
3. I changed chmod g+s for the shared folder, so all new files
would get the group rights (new files will be given the group
affiliation of the directory)
4. in rstudio server I call Sys.umask(mode="0002") to set the
unmask then all new files will get -rw-rw-r-- as permissions.
Now the users can read and write all files created by other users
within the shared folder.
Anyway, I think the best would be to manage permissions with
pam, looking forward to this feature. You guys did a great job with
developing this nice tool! Keep doing!
Awesome! Glad to hear you were able to get this working and also
thanks for posting the steps to do so. This is helpful for us as
well as other users looking on. I'll try to message back here when
we implement PAM session if you'd like to test.