The GitHub issue refers to the workarounds - one for your case might be to
tar up the files yourself and publish a file artifact for the tarball
archive rather than a directory artifact, then untar it after fetch.

-Chad

On Wed, 28 Dec 2022, 04:28 Rabea, <[email protected]> wrote:

> I have an issue when I publish my artifact (as a build artifact type) and
> then fetch
> files permissions are not preserved
> my artifact is as follows:
> I do git clone, then npm install and I publish the whole folder (my repo
> after npm install)
> and after fetching the artifact , I can see that the binaries under
> node_modules/.bin
> don't have execute permission. (That is just one example)
>
> I have see open git issue from 2015 but it did not get resolved.
>
> https://github.com/gocd/gocd/issues/464
>
> is there a solution or a workaround?
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/113bb637-2855-4e24-9dac-309b997085e8n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/113bb637-2855-4e24-9dac-309b997085e8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAA1RwH8JtT_UQdF6F6XHyjOMP5q7O-tKrzQgqS4NRdLhui4%3D8w%40mail.gmail.com.

Reply via email to