new smb remote fails
-
I have a clean install from sources in debian of Xen Orchestra. The product is not running as root.
When I create a new smb remote to a Windows Share (with remote username and password) It fails with the following error{ "errno": -13, "code": "EACCES", "syscall": "mkdir", "path": "/run/xo-server" }What can I do? Thanks
-
Did you follow the documentation for running as a non-root user?
-
@Danp Yes, I have tried all this stuff. Have modified all config.toml files found in the whole filesystem with useSudo = true add added in sudoers, xo_username ALL=(root) NOPASSWD: /bin/mount, /bin/umount, /bin/findmnt. Removed and recreated the remote, and same error
remote.test { "id": "3ee175c8-41b7-410e-9607-463ca468a980" } { "errno": -13, "code": "EACCES", "syscall": "mkdir", "path": "/run/xo-server", "message": "EACCES: permission denied, mkdir '/run/xo-server'", "name": "Error", "stack": "Error: EACCES: permission denied, mkdir '/run/xo-server'" }Is there any filesystem permission missing?
-
@gonzametal I modified sudoers and could create the folder in the terminar but the error still there (I think because the syscall). I will install as root again to avoid this kind of issues in the future
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login