Shared folder: no "Write" access for Guest

Great shot @gg_jr @enzoturri! Thank you very much guys!

I’ve looked at the code and it seems to confirm the presence of one or even two bugs. At a first glance, the calcDirectoryPermissions() function does not account the special “guest access” case, when nethserver-dc is installed. On the nethserver-directory case, the owner should be “nobody”.

This is compatible with the write access denied symptom (IIUC) that hit @gg_jr, and the workaround from @enzoturri!

https://github.com/NethServer/nethserver-ibays/blob/master/root/etc/e-smith/events/actions/nethserver-ibays-set-permissions#L151

I’m going to open a new bug soon!

4 Likes

Here it is

4 Likes

A package to test the fix is available:

 yum localinstall http://packages.nethserver.org/nethserver/7.2.1511/testing/x86_64/Packages/nethserver-ibays-3.0.1-1.3.g78f6c32.ns7.noarch.rpm
3 Likes