John Kortink
2015-09-18 09:15:18 UTC
It seems that ProFTPD (1.3.5) has bugs regarding the application of group ownership / permissions.
We have a number of users that exist outside Unix, which are mapped by our ProFTPd extension module to two ordinary Unix users, each within their own separate uid and gid, that cannot login. When ProFTPd spawns a process for either of those users, they run with the correct uid and gid.
We then tested whether or not either user can 'get' files owned by the four combinations of either (one as user, one as group), and with all combinations of permissions. This points out that the rules regarding the user owner are applied correctly (even though a 'cd' to a directory which should be refused according to these rules is always allowed), but that the rules regarding the group owner are not. It seems that in certain cases, both users are considered to be in the same group, and are allowed access, even though they are completely seperate (both in user and group).
If someone can shed some light on this, we would appreciate it.
________________________________
This e-mail, including accompanying communications and attachments, is strictly confidential and only for the intended recipient. Any retention, use or disclosure not expressly authorised by Markit is prohibited. This email is subject to all waivers and other terms at the following link: http://www.markit.com/en/about/legal/email-disclaimer.page
Please visit http://www.markit.com/en/about/contact/contact-us.page for contact information on our offices worldwide.
We have a number of users that exist outside Unix, which are mapped by our ProFTPd extension module to two ordinary Unix users, each within their own separate uid and gid, that cannot login. When ProFTPd spawns a process for either of those users, they run with the correct uid and gid.
We then tested whether or not either user can 'get' files owned by the four combinations of either (one as user, one as group), and with all combinations of permissions. This points out that the rules regarding the user owner are applied correctly (even though a 'cd' to a directory which should be refused according to these rules is always allowed), but that the rules regarding the group owner are not. It seems that in certain cases, both users are considered to be in the same group, and are allowed access, even though they are completely seperate (both in user and group).
If someone can shed some light on this, we would appreciate it.
________________________________
This e-mail, including accompanying communications and attachments, is strictly confidential and only for the intended recipient. Any retention, use or disclosure not expressly authorised by Markit is prohibited. This email is subject to all waivers and other terms at the following link: http://www.markit.com/en/about/legal/email-disclaimer.page
Please visit http://www.markit.com/en/about/contact/contact-us.page for contact information on our offices worldwide.