lando / symfony

The Official Symfony Lando Plugin
https://docs.lando.dev/symfony/
GNU General Public License v3.0
6 stars 2 forks source link

Cache directory randomly inaccessible due to permissions in Windows #46

Closed mostlyhuman closed 6 months ago

mostlyhuman commented 6 months ago

Hello there, I am not changing any permissions so I am not sure why Icaros keeps losing access rights. Can you tell me exactly which permissions Icaros requires the folder to have? Perhaps that will help me explore the issue further. One thing to note, when this happens Icaros cant fix the permissions right away, but then later i can try again and suddenly it can, very strange.

reynoldsalec commented 6 months ago

Hey @mostlyhuman, to my knowledge Lando isn't using Icaros for anything. Could you show me an example of the error you're seeing?

Also curious what version of Windows you're on and if you're running Lando in WSL2.

reynoldsalec commented 6 months ago

It's possible if you're on an old computer you're experiencing a race condition with permission sweeping that could cause problems...unfortunately that won't get resolved until the rearchitecture in Lando v4 is released.

mostlyhuman commented 6 months ago

I figured out it had something to do with OneDrive, it would have the same behavior no matter which OneDrive monitored directory/folder I tried but it works fine in unmonitored directories.

On Thu, Mar 28, 2024 at 3:09 PM Alec Reynolds @.***> wrote:

Hey @mostlyhuman https://github.com/mostlyhuman, to my knowledge Lando isn't using Icaros for anything. Could you show me an example of the error you're seeing?

Also curious what version of Windows you're on and if you're running Lando in WSL2.

— Reply to this email directly, view it on GitHub https://github.com/lando/symfony/issues/46#issuecomment-2026023159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7TKCSR274FOYGMQADDIATY2R2HBAVCNFSM6AAAAABFMBN47WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRWGAZDGMJVHE . You are receiving this because you were mentioned.Message ID: @.***>

mostlyhuman commented 6 months ago

it's just that standard error where next to the thumbnail cache path it shows like a red triangle and it says you can click the red triangle to try to have Icaros set the permissions and then when it tries it says it couldn't do it because of a running process or something along those lines

reynoldsalec commented 6 months ago

Gotcha, sounds pretty specific to your conditions so I'll close this out unless you had any followups, thanks @mostlyhuman!