Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 93005  / 3 Years ago, mon, july 5, 2021, 12:45:51

I had deleted an important file once
and later i had changed the permissions of a file
which i am not able to revert now. Is there any way through which i can undo delete or revert permissions on files while working with terminal?






And one more question about Ubuntu ... Why do we never get a dialog box asking 'are you sure you want to delete' as compared to windows.I see it as a flaw in Ubuntu GUI. Once you press delete,there it is in the trash but never prompts to ask if we really want it to be deleted and ofcourse, I know ppl would be like -- why you want reassurance before deleting...it is a part of HCI and should be implemented(I am sorry,just a beginner).


More From » permissions

 Answers
2

If deleted the file in a terminal with rm then it will not go to the trash, do it in filemanager and it will.



You 'might' be able to restore the file, but all the time you're using the system the area the file was in could be overwritten.



https://help.ubuntu.com/community/DataRecovery



You should be able to revert permissions on files.



https://help.ubuntu.com/community/FilePermissions


[#39109] Wednesday, July 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
laceanz

Total Points: 86
Total Questions: 113
Total Answers: 104

Location: Australia
Member since Thu, Jan 26, 2023
1 Year ago
;