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
Clean All fails on files that are "Read Only".
Including a git repository in lib_deps some files in the .git directory are marked read only which blocks cleaning.
Adding this line os.chmod(dst, stat.S_IWRITE) to the piotarget.py file just before the remove allows the clean to run successfully but I'm not sure if this is the best way to fix it.
The text was updated successfully, but these errors were encountered:
Configuration
Operating system: Windows 11
PlatformIO Version (
platformio --version
): 6.0.2Description of problem
Clean All fails on files that are "Read Only".
Including a git repository in lib_deps some files in the
.git
directory are marked read only which blocks cleaning.Steps to Reproduce
Actual Results
Expected Results
The files to be removed.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Additional info
Adding this line
os.chmod(dst, stat.S_IWRITE)
to thepiotarget.py
file just before theremove
allows the clean to run successfully but I'm not sure if this is the best way to fix it.The text was updated successfully, but these errors were encountered: