File Permissions

Hello, My RStudio server is installed in ubunutu 17.04. I am trying to save changes to the app.R file and I get "This source file is read-only, so changes cannot be saved" I gave myself permissions to save the file in the folder and I gave myself permissions to write to the file.

Folder permissions
username@username-desktop:~/Development/glycoPipeApp$ sudo su
root@username-desktop:/home/username/Development/glycoPipeApp# chown -R username /home/username/Development/glycoPipeApp

Write to file permissions
sudo chmod 775 /home/username/Development/glycoPipeApp

I solved this problem by creating a project in the directory and creating an R script file inside the project.

1 Like