You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are creating directories using DataProducerPathTemplate and setting permission using PermMapper When I'm reading the content of produced deb I see different results between jdeb 1.4 and 1.6. I register directory /var/logs/directory with 1.4 I'm reading /var/logs/directory with 1.6 I'm getting //var/logs/directory
I believe it is related to change in version of commons-compress from 1.8 to 1.15 and its different implementation of setName used in PermMapper
I remember a discussion that paths actually should be relative all the time with no leading slashes at all. I guess this needs to be checked and the code adjusted accordingly.
Thanks for digging into this. Seems like it really was just a bug in the PermMapper.
The right thing to do would be write a test case for the PermMapper, but I think it shoulds be fixed now. Let me know.
We are creating directories using
DataProducerPathTemplate
and setting permission usingPermMapper
When I'm reading the content of produced deb I see different results between jdeb 1.4 and 1.6. I register directory/var/logs/directory
with 1.4 I'm reading/var/logs/directory
with 1.6 I'm getting//var/logs/directory
I believe it is related to change in version of commons-compress from 1.8 to 1.15 and its different implementation of
setName
used inPermMapper
setName
in commons-compress:1.8setName
in commons-compress:1.15Here is an complete example which shows the difference
The text was updated successfully, but these errors were encountered: