-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
destination file's permission can't be edited #37
Comments
+1 It would be nice to allow setting owner/group/mode directly from wget call. |
+1 |
can you suggest a PR ? |
Working on a PR now. |
Fixed in #44 |
vote for reopen. if i want to prevent the access from other user ( the solution from https://unix.stackexchange.com/questions/118670/changing-default-permissions-for-wget is to call my workaround was to create a directory with the right permission, which i use as cache directory but sadly this workaround don't work for me, because i only want to download the file once and not redownload if the remote file chances. but there is no |
I am facing an issue to give permission to the destination file when the cache dir is set, because the the resource is already defined in the wget::fetch module. So the workaround is to set the destination to a temporary location and create a new resource by sourcing it to from the temporary location.
this is the code from the wget::fetch module.
The text was updated successfully, but these errors were encountered: