imsnif/diskonaut
Bug: when deleting a folder that contains a file we can't delete, we get an uninformative message
Aperta
#11 aperta il 17 giu 2020
good first issuehelp wanted
Metriche repository
- Star
- (3066 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
To reproduce:
- Create folder
/path_to_my/folder - Create nested_folder
/path_to_my/folder/nested_folder - Create a file inside nested_folder
/path_to_my_folder/folder/nested_folder/file.txt - Change the permissions of
nested_folderto be read only. - Start diskonaut and give it
/path_to_myas its path (diskonaut /path_to_my). - Try to delete folder.
- See that we get an uninformative error message and are unsure what happened.
In this scenario, the message should read something like "Permission denied deleting /path_to_my/folder/nested_folder".