unable to create new folder in gui when sync user only has group access rights


Tupsi

Recommended Posts

Running the freebsd version 2.7.2 (1375) here.

I put the user sync is running on in a group and gave that rwx rights to a certain folder. Now whenever I try to create a new folder for a key with the WebGUI I get the error, that sync does not have permission to create a new folder (which is not correct).

I tested this manually, logging into the shell with the same user sync is running and tried to create that new folder, works fine.

So for instance

"su -m rslsync -c 'mkdir test'

works fine, but trying to create a new directory for a new key in this same directory in the webgui fails (see attached screenshots). 

 

If I try to create a new folder in a directory where sync has full access (as a user) everything works as intended.

So it seems to me the web gui does some silly checking if it is the owner of the directory instead of just creating the folder (which would just work).

Would be nice if you could fix that.

 

 

 

webgui.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.