We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
enjayare
6 years agoExplorer | Level 3
Locked folder that can't be removed?
Hello Forum members, I have a folder that was sent to me by a client a couple of years ago that I can't remove from my Dropbox. The folder has a grey padlock on the bottom left corner and also an X ...
- 6 years ago
enjayare, may be something else have happened. Probably immutable flag have been set. If so, you can trow it out using: "sudo chflags nouchg /Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee" and/or "sudo chflags noschg /Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee". Try it, just to be sure.
Finally give the result from "ls -lO /Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee" or just take a look on get info window to check is "Locked" is still checked.
Здравко
Legendary | Level 20
Hi enjayare,
Strange... :thinking: Did you try "ls /Users/"? What is the result? Also, what gives the command "whoami"?
enjayare
6 years agoExplorer | Level 3
Whoami = njrcon
The folder name is Tender - 160 Brook St, Coogee so I typed the following in terminal: -
sudo chown njrcon ~/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee
It told me
Operation not permitted
- Здравко6 years agoLegendary | Level 20
enjayare, may be something else have happened. Probably immutable flag have been set. If so, you can trow it out using: "sudo chflags nouchg /Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee" and/or "sudo chflags noschg /Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee". Try it, just to be sure.
Finally give the result from "ls -lO /Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee" or just take a look on get info window to check is "Locked" is still checked.
- Здравко6 years agoLegendary | Level 20
Oh.. And don't ask for your password?
- enjayare6 years agoExplorer | Level 3
Sorry yes it did ask for my password but then it said No such file.
Here is the whole script
Last login: Tue Aug 27 18:17:47 on ttys000
Nicks-27-iMac:~ njrcon$ sudo chown njrcon ~/Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee
Password:
chown: /Users/njrcon/Users/njrcon/Dropbox/Tender - 160 Brook St, Coogee: No such file or directory
Nicks-27-iMac:~ njrcon$ sudo chown njrcon ~/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee
chown: /Users/njrcon/njrcon/Dropbox/Tender - 160 Brook St, Coogee: No such file or directory
Nicks-27-iMac:~ njrcon$ sudo chown njrcon ~/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee
chown: /Users/njrcon/Dropbox/Tender - 160 Brook St, Coogee: Operation not permitted
Nicks-27-iMac:~ njrcon$
- enjayare6 years agoExplorer | Level 3
Thank you I will try all these tomorrow and let you know what happens.
- enjayare6 years agoExplorer | Level 3
The Folder is in the Bin!!!
Thank you so much everyone for your on going help, it was "sudo chflags noschg /Users/njrcon/Dropbox/Tender\ -\ 160\ Brook\ St\,\ Coogee" that unlocked the folder.
Cheers Nick.
- Willem Groenewald5 years agoExplorer | Level 3
I have recently loaded my Personal Account on a Business Account and due to a locked file on my Dropbox-folder on my Macbook the Dorpbox-app can no longer sync.
On Finder it says I have no permission to delete the locked folder and I cannot unlock the folder. What to do?
- Lusil5 years agoDropbox Staff
Hi Willem Groenewald, thanks for nudging us on this thread.
Since you mention that you're unable to delete a folder from your account, could you send me a screenshot (without any personal info) of the notification that you get when you try to remove it?
Keep me posted - thanks!
- Willem Groenewald5 years agoExplorer | Level 3
Hi Lusil, please send me your email address so that I can send you the screenshots of the locked file.
I will need to take a decision soon whether to continue with Dropbox or not. My folders are not syncing and it seems as if no-one has an answer to resolve the lock-file issue that prevents syncing.
Regards, Willem
About Delete, edit, and organize
Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!