roms Posted July 8, 2013 Report Share Posted July 8, 2013 From time now (at least 1.0.134 and up to 1.1.27), folders created with btsync does not get correct permission on Linux.All new folders get permission like this :user running btsync : rwxgroups : rxcan you fix this and honor the inheritance of ACL.For example, with 2 hosts ( A and B ), the created folder's on A : ACL are OK (of course) and are these :Host A :-------------------------------------# file: btshare/test# owner: roms# group: admins# flags: -s-user::rwxgroup::rwxgroup:btsync:rwxgroup:admins:rwxgroup:g_test:rwxmask::rwxother::---default:user::rwxdefault:group::rwxdefault:group:btsync:rwxdefault:group:admins:rwxdefault:group:g_test:rwxdefault:mask::rwxdefault:other::----------------------------------------On host B the created folder's have this permission (this ACL is not correct and BtSync did not honor the inheritence) :-------------------------------------# file: btshare/test# owner: btsync# group: adminsuser::rwxgroup::rwx #effective:r-xgroup:btsync:rwx #effective:r-xgroup:admins:rwx #effective:r-xgroup:g_test:rwx #effective:r-xmask::r-xother::---default:user::rwxdefault:group::rwxdefault:group:btsync:rwxdefault:group:admins:rwxdefault:group:g_test:rwxdefault:mask::rwxdefault:other::----------------------------------------Expected result :-------------------------------------# file: btshare/test# owner: btsync# group: adminsuser::rwxgroup::rwxgroup:btsync:rwxgroup:admins:rwxgroup:g_test:rwxmask::rwxother::---default:user::rwxdefault:group::rwxdefault:group:btsync:rwxdefault:group:admins:rwxdefault:group:g_test:rwxdefault:mask::rwxdefault:other::----------------------------------------Like you can see, group mode of folders are not inherited.For files creation, ACL are like this :On host A :-------------------------------------# file: btshare/test/bgrun.wsf# owner: roms# group: adminsuser::rwxgroup::rwxgroup:btsync:rwxgroup:admins:rwxgroup:g_test:rwxmask::rwxother::----------------------------------------On host B :-------------------------------------# file: btshare/test/bgrun.wsf# owner: btsync# group: btsyncuser::rwxgroup::rwxgroup:btsync:rwxgroup:admins:rwxgroup:g_test:rwxmask::rwxother::r---------------------------------------Expected result on Host B :-------------------------------------# file: btshare/test/bgrun.wsf# owner: btsync# group: btsyncuser::rwxgroup::rwxgroup:btsync:rwxgroup:admins:rwxgroup:g_test:rwxmask::rwxother::----------------------------------------Some post said to try umask but that does not work (I have tried umask 0000 / 000 / etc ). Quote Link to comment Share on other sites More sharing options...
roms Posted July 12, 2013 Author Report Share Posted July 12, 2013 Fixed in release 1.1.33 :-)Big Thanks ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.