-
Notifications
You must be signed in to change notification settings - Fork 762
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
Permissions of binary files in install_github packages #326
Comments
What if |
On 07/09/2013 03:04 PM, hadley wickham wrote:
Sounds good, at least the option can be set before calling Iago |
What if there is no |
On 07/09/2013 04:10 PM, Kirill Müller wrote:
That appears to default to "internal". And file permissions are not an Iago |
I'd appreciate you trying this out and letting me know if it fixes the problem. |
Yes, this seems to work as expected. Many thanks. Iago |
When calling install_github on a pkg that contains binary files, the call to unzip() does not keep the executable permissions for files in, for example, inst/bin/linux in
https://github.com/colinpmillar/FLa4a/archive/master.zip
utils::unzip uses the internal unzip, which does not seem to keep the permissions. If
unzip("FLa4a-master.zip", unzip=getOption("unzip"))
is used on the file above in a Linux machine where getOption("unzip") returns
[1] "/usr/bin/unzip"
permissions are kept. So this seems to be an issue upstream with unzip in utils/libs/utils.so, but right now it affects devtools. Could maybe install_github have an unzip option?
The text was updated successfully, but these errors were encountered: