"Multiple Errors: DoPhysicalFiles - Access to the path is denied. " when deleting files. What permission shall I use?

Hi community,

I want to delete some orphaned files in the File Vault. We don´t use the "delete automatically" variable. I am able to discover the affected files in the file vault.

But when I try to delete one orphaned file manually in the File ItemType I get the following error message:

Multiple Errors: DoPhysicalFiles - Access to the path is denied. -

I assume I have add an additional permission to the Vault-folder structure in the File vault. But which one shall I use?

I remember I added one additional permission in the past on my old MS Server 2012. But I didn´t use the setting on my new 2022 instance. I assume I used "IIS_USRS" or similar in the past. But I never knew if this was the "correct" permission to use.

Does anyone know the "official" solution for this one? 

Thanks and best regards!

Angela

Parents
  • Solved it! I used the fake file approach. There were a lot more files affected. Issues was caused by Innovator 12 update in 2019. I guess a wrong IIS setting was the root cause. It´s not an issue in newer Aras versions. My file Vault is now clean and only contains valid files with correct permission.

    Here is a possible repair solution for adventurous admins that will definitely make Aras support cry:

    • Rebuild the missing folders with fake text files (Innovator only cares for the folder ids, not for the file inside). Fake files are important, without them later cleanup it will not work!
    • Add VaultApp permission to affected folders with Powerscript.
    • Now finally delete the corrupted orphaned files in Innovator
    • Et voilà – nobody will notice that anything shady ever happened. 

    Of course try with single files first, cause a lot of things can go wrong. Make a backup of everything before doing these kind of operations!

    I love that the software actually allows me to do stuff like this! Very much appreciated!

Reply
  • Solved it! I used the fake file approach. There were a lot more files affected. Issues was caused by Innovator 12 update in 2019. I guess a wrong IIS setting was the root cause. It´s not an issue in newer Aras versions. My file Vault is now clean and only contains valid files with correct permission.

    Here is a possible repair solution for adventurous admins that will definitely make Aras support cry:

    • Rebuild the missing folders with fake text files (Innovator only cares for the folder ids, not for the file inside). Fake files are important, without them later cleanup it will not work!
    • Add VaultApp permission to affected folders with Powerscript.
    • Now finally delete the corrupted orphaned files in Innovator
    • Et voilà – nobody will notice that anything shady ever happened. 

    Of course try with single files first, cause a lot of things can go wrong. Make a backup of everything before doing these kind of operations!

    I love that the software actually allows me to do stuff like this! Very much appreciated!

Children
No Data