Bug #6796
closedgeneric methods permissions (non recursive) is indeed recursive
Description
Using "method_call" usebundle => permissions("/chroot/sftp", "711", "root", "root") will recursively change permissions on /chroot/sftp, which is not what is expected
Updated by Alexis Mousset over 9 years ago
- Status changed from New to In progress
Updated by Alexis Mousset over 9 years ago
depth => "0" seems to do the same as depth => "1".
A solution could be to remove the depth_search when depth is 0.
Updated by Alexis Mousset over 9 years ago
When there is a depth_search attribute, cf-engine only tests recursion depth after browsing the base directory, so a depth of 0 and 1 have the same effect.
Updated by Alexis Mousset over 9 years ago
In the case of file copy, the depth is handled correctly, only the base dir is created. The problem only happens in the DepthSearch function which manages file attributes updates.
Updated by Alexis Mousset over 9 years ago
Upstream issue: https://dev.cfengine.com/issues/7310
Updated by Alexis Mousset over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/211
Updated by Alexis Mousset over 9 years ago
- Status changed from Pending technical review to In progress
- Assignee changed from Nicolas CHARLES to Alexis Mousset
Updated by Alexis Mousset over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Nicolas CHARLES
Updated by Alexis Mousset over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:919882dddc1bbd8ae70bc4e09547444e7c446686.
Updated by Nicolas CHARLES over 9 years ago
Applied in changeset commit:3a053020b44807144ff3cb9181f674022d2397b4.
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category set to Generic methods