Open bertfrees opened 11 years ago
I would like to set the mode on some files, but it seems to me like this feature isn't implemented yet. Am I right?
Changing this in the code did the trick for me (but I'm sure it's not the the way you intended):
In org.codehaus.mojo.unix.core.FsFileCollector.CopyFileIoEffect, on line 159, I added:
org.codehaus.mojo.unix.core.FsFileCollector.CopyFileIoEffect
File toFile = root.resolve(adjustedTo.path).file; Option<UnixFileMode> mode = adjustedTo.attributes.mode; if (mode.isSome()) { UnixUtil.chmod(toFile, mode.some().toOctalString());
Also, when is a recent version going to be available in a public repository?
Thanks for this great plugin! Bert
I would like to set the mode on some files, but it seems to me like this feature isn't implemented yet. Am I right?
Changing this in the code did the trick for me (but I'm sure it's not the the way you intended):
In
org.codehaus.mojo.unix.core.FsFileCollector.CopyFileIoEffect
, on line 159, I added:Also, when is a recent version going to be available in a public repository?
Thanks for this great plugin! Bert