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
{{ message }}
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
I have a project for which there is an installation script install.sh - runs composer, WP CLI and some other commands, to simplify and document installation instructions. Of course, that file needs to be executable. When cloned, ls displays permissions for install.sh as -rw-rw-rw-, which is fine. However, same permissions are displayed after running chmod u+x install.sh or chmod u=rwx. No error message is displayed.
I tried r8 because there is a similar issue with scotchbox. However, it appears that I can't use r8 for the same reasons. On the other hand, this suggests that the issue is not with r8 or scotchbox, but with underlying infrastructure. Still, it's probably up to you guys to make it work.
The text was updated successfully, but these errors were encountered:
Ok, apparently it's impossible by design to change permissions on shared (i.e. mounted) folders. So, how can I execute a script in the shared directory without making all mounted files executable? Is this possible at all?
Yes, as far as I know, that's a limitation of Virtualbox. Because of the way it works with shared folders.
But you can invoke your script passing its name to shell executable. So you could run your script not using simple ./install.sh, but using bash install.sh command
Is this a limitation of Virtualbox, no matter what synced folder provider it's using (e.g., SMB, NFS, Rsync, etc)? Or only with the default "VirtualBox" provider? @r8
PS, thanks for the reminder about that handy workaround.
Hi,
I have a project for which there is an installation script
install.sh
- runs composer, WP CLI and some other commands, to simplify and document installation instructions. Of course, that file needs to be executable. When cloned,ls
displays permissions forinstall.sh
as-rw-rw-rw-
, which is fine. However, same permissions are displayed after runningchmod u+x install.sh
orchmod u=rwx
. No error message is displayed.I tried
r8
because there is a similar issue withscotchbox
. However, it appears that I can't user8
for the same reasons. On the other hand, this suggests that the issue is not withr8
orscotchbox
, but with underlying infrastructure. Still, it's probably up to you guys to make it work.The text was updated successfully, but these errors were encountered: