#89: Implemented packArchivePosixMask mechanism#90
#89: Implemented packArchivePosixMask mechanism#90norru wants to merge 2 commits intoxerial:mainfrom
Conversation
|
Sorry for the delay of response. I have failed to notice this PR. Thanks |
|
For your purpose, I think having a setting And the default flow is simple as follows:
Rather than defining multiple functions (posixXXX, posixNone, etc.) for setting posix permission, it would be better to define a function as follows (pseudo code): And also, rather than using Int, allowing to use String (posix mask string)] might be easier to use. |
|
I'll have a look. The functions are provided to be assigned as posixArchiveFilePermission Octal mask definition tends to be more common than "rwxrwx" style. Is that On 9 November 2015 at 00:28, Taro L. Saito notifications@github.com wrote:
Cheers, |
|
When you say posix mask string, do you mean the octal representation of On 9 November 2015 at 10:56, Nicola Orrù nigu.orru@gmail.com wrote:
Cheers, |
Yes. And it would be better to allow "755" too. |
|
Ok, sounds sensible :) On 9 November 2015 at 20:59, Taro L. Saito notifications@github.com wrote:
Cheers, |
Hi,
I managed to implement a possible solution at #89.
The following setting implements the desired behaviour
packArchivePosixMask := posixMaskFromFilesystemThe following setting implements the default behaviour
The following setting prevents masks from being set in the archive
packArchivePosixMask := posixMaskNoneIt should be ready for you to review, adjust and integrate
Cheers
Nico