I'm having issues with dropbox so I'd like to uninstall and reinstall it. To do so I need to remove ~/.dropbox-dist but no matter what I do it won't budge. If I run ls -l I get:drwxr-xr-x   3 user user     4096 Nov 13  2014 .dropbox-distI have full permissions on the machine. I have tried,sudo rm -rf ~/.dropbox-distrm -rvf ~/.dropbox-distsudo su, rm -rf /home/user/.dropbox-distRemoving from Nautiluschmod 777 ~/.dropbox-distBut the error is always the same, Operation not permitted
How to delete stubborn directory?
permissions;rm;chmod;dropbox
There are few things you could do here: First check whether you have a Dropbox daemon running. Check the attributes of the Dropbox folder using lsattr and if the folder is not editable, then change its attributes to editable using chattr.UPDATEAs OP has reported in the comments, the .dropbox-dist folder contains i attribute which means the folder cannot be modified, deleted or renamed. Hence to change the attrubute, you should use chattr: sudo  chattr =e .dropbox-dist