Code-server:Failed to save "filenew.cpp": Unable to write file (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/home/.....') #6047
Unanswered
jesusdeveloper
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Perhaps, you make a user group, make sure the directory is in the group, and the files are also in said group. Then, you add your other user to the same group. Maybe then, access to files can be globalised. Hope it helps :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
In VSC, I used an extension "yy0931.save-as-root" |
Beta Was this translation helpful? Give feedback.
1 reply
-
@jesusdeveloper |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use docker ubuntu with code-server installed and in it I have mounted with webdav a Nextcloud directory.
When I access docker the username (which has davfs2 permissions) can see Nextcloud files in code-server.
When it saves it shows the message:
The solution is easy, I run the following:
And now the user abc can save the file and modify it.
I can use chown for whole directories and that's fine. The problem is that if another linux user creates a new file, if I want to edit it I have to run sudo chown..... again.
My question is, is there a way to give chown permissions to a user for a directory even if new files are added?
THANK YOU
Beta Was this translation helpful? Give feedback.
All reactions