While trying the delete or move operation in the command prompt, we faced a issue that even root user can't delete or move or rename the folder or file.
was 👀 looking in the found a solution.
May save your time too ...
Steps to resolve:
1) open a Terminal.
2) go to the previous directory in which you face issue. IN my cases ~/Download is the folder in which i can remove any, due to Operation not permitted issue. So I have moved to /users/xxxx
3) run the following command in sudo.
sudo chflags -R nouchg,nouappnd ~/Downloads/
replace the folder in which you are facing issue in instead of ~/Downloads/ in above command.
Hope will this helped you 👍
was 👀 looking in the found a solution.
May save your time too ...
Steps to resolve:
1) open a Terminal.
2) go to the previous directory in which you face issue. IN my cases ~/Download is the folder in which i can remove any, due to Operation not permitted issue. So I have moved to /users/xxxx
3) run the following command in sudo.
sudo chflags -R nouchg,nouappnd ~/Downloads/
replace the folder in which you are facing issue in instead of ~/Downloads/ in above command.
Hope will this helped you 👍