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
Hi,
first of all, i do not know for sure whether my issue can be attributed to the Atlas OS. However, the scarcity of questions and answers on the internet together with my testing leads me to this assumption.
Coming to the problem: Temporary folders created by some processes can neither be removed by these processes nor by the shell even with administrator privileges. Trying to remove them in shell returns: + CategoryInfo : PermissionDenied: (path\tmp5meejgut:DirectoryInfo) [Remove-Item], IOException + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
However, they can be deleted by me via the explorer and also using Remove-Item with the -force flag. The processes in question are for once GAMS where the process returns a 'Failed to delete folder' message and pypsa-eur (testing the example scenario) which creates temporary files with snakemake failing both shutil.rmtree and os.removedirs in the end.
What i tested so far:
Is it related to plain windows? - I dont think so as the pypsa example works fine on my colleagues pc.
Is it related to OneDrive? - Moving the files does not change anything nor does moving the programs out of the Onedrive directories.
Are the folders empty? - Yes and no, deletion of the files inside seems to work. The GAMS files are entirely empty and the pypsa files only contain a desktop.ini
Are the files Read-Only? - Yes, removing this attribute (via attrib -r -s)works but why are they Read-Only in the first place
As I said, I am not sure whether Atlas OS is the reason for that but the GAMS problem also occurred on my laptop running Atlas. Anyway, I would be glad about every single bit of help I can get on this problem cause I am quite lost by now.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
first of all, i do not know for sure whether my issue can be attributed to the Atlas OS. However, the scarcity of questions and answers on the internet together with my testing leads me to this assumption.
Coming to the problem: Temporary folders created by some processes can neither be removed by these processes nor by the shell even with administrator privileges. Trying to remove them in shell returns:
+ CategoryInfo : PermissionDenied: (path\tmp5meejgut:DirectoryInfo) [Remove-Item], IOException
+ FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
However, they can be deleted by me via the explorer and also using
Remove-Item
with the -force flag. The processes in question are for once GAMS where the process returns a 'Failed to delete folder' message and pypsa-eur (testing the example scenario) which creates temporary files with snakemake failing bothshutil.rmtree
andos.removedirs
in the end.What i tested so far:
attrib -r -s
)works but why are they Read-Only in the first placeAs I said, I am not sure whether Atlas OS is the reason for that but the GAMS problem also occurred on my laptop running Atlas. Anyway, I would be glad about every single bit of help I can get on this problem cause I am quite lost by now.
Beta Was this translation helpful? Give feedback.
All reactions