|
Post by andreos on Jan 4, 2020 18:36:31 GMT
I'm using Linux + Genymotion, which uses a VirtualBox vm to emulate Android.
In order to access my script folder under genymotion, I have to add a shared folder on VirtualBox, for which I give full access to the guest.
In order to allow AnkuLua to write on the shared folder (which is mounted at /mnt/shared/folder), I have to use these commands:
sudo chmod -R 777 folder/ sudo chown -R user:user folder/ sudo chmod -R o+rw folder/ After that, AnkuLua can successfully write on that folder.
For some reason, however, when AnkuLua creates a file on that folder (region:save("images/image" .. "10" .. ".png", for example), it is created without any kind of permissions (-rw-------, instead of -rwxrwxrwx, thus AnkuLua won't be able to read (open it).
Do we have a solution here?
|
|
|
Post by AnkuLua on Jan 4, 2020 23:20:01 GMT
I'm using Linux + Genymotion, which uses a VirtualBox vm to emulate Android.
In order to access my script folder under genymotion, I have to add a shared folder on VirtualBox, for which I give full access to the guest.
In order to allow AnkuLua to write on the shared folder (which is mounted at /mnt/shared/folder), I have to use these commands:
sudo chmod -R 777 folder/ sudo chown -R user:user folder/ sudo chmod -R o+rw folder/ After that, AnkuLua can successfully write on that folder.
For some reason, however, when AnkuLua creates a file on that folder (region:save("images/image" .. "10" .. ".png", for example), it is created without any kind of permissions (-rw-------, instead of -rwxrwxrwx, thus AnkuLua won't be able to read (open it).
Do we have a solution here?
You should ask genymotion or VirtualBox. It's nothing related with AnkuLua.
|
|