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
Rachel R.2
6 years agoHelpful | Level 5
"Dropbox needs to change permissions" message on startup
Lately, every time I start my Mac (OS 10.14.6) I get a message that reads (in full):
"Dropbox needs to change permissions for the Folder: /Users/[name]/Dropbox
Enter your password to allow this"...
- 6 years ago
Hi Rachel R.2,
Can you try following commands in terminal:
sudo chflags -R noschg "/Users/$USER/Dropbox" sudo chflags -R nouchg "/Users/$USER/Dropbox" sudo chown -R "$USER" "/Users/$USER/Dropbox" chmod -R u+rw "/Users/$USER/Dropbox"
Will be asked for your password (sudo).
Hope this helps. :wink:
Здравко
Legendary | Level 20
Hi Rachel R.2,
Can you try following commands in terminal:
sudo chflags -R noschg "/Users/$USER/Dropbox" sudo chflags -R nouchg "/Users/$USER/Dropbox" sudo chown -R "$USER" "/Users/$USER/Dropbox" chmod -R u+rw "/Users/$USER/Dropbox"
Will be asked for your password (sudo).
Hope this helps. :wink:
FreddoArgento
5 years agoHelpful | Level 5
Ignorant me, is $USER a "wildcard" or I need to type my user, with or without $ in front?
As it is, copy pasted line by line, did not work.....
- Здравко5 years agoLegendary | Level 20
Hi FreddoArgento,
First when you comment something, clarify what exactly you have been comenthing, so to be more clear what you are talking about. Doesn't matter where you touch "Reply", your text will go at the end every time!
FreddoArgento wrote:... is $USER a "wildcard" or I need to type my user, ...
When you type a $ symbol on a command line the name, sticked next to this symbol, represent particular shell environment variable. This is NOT wildcard! There is a set of environment variables preset by the system which could be used in user commands or shell scripts, when convenient. You can see available preset variables using the "env" command, all together. 😉
The variable with name USER keeps inside the login name of your account. You can see what's inside using following:
echo $USER
The $ symbol is a special sign, for most environment shells, making a referral to the particular variable (i.e. $USER will get replaced with your login name). You can use your login name directly, of course. Here $USER is used as a convenience - different users have different login names - $USER always refers to them correctly ( if not explicitly changed! ). That's it.
Hope this clarifies matter.
If something goes wrong, despite of above, post in you next reply what you have typed on the command line and the corresponding result all together.
Good luck.
- mcarter4 years agoExplorer | Level 3
Hi,
I have recently turned on Dropbox Backup (for home and desktop folders) and am now getting the permissions request message "Dropbox needs to change permiossions for the Folder: /Users/drmarkcarter/Dropbox" (twice) after each restart. I tried the following terminal commands:
sudo chflags -R noschg "/Users/$USER/Dropbox" sudo chflags -R nouchg "/Users/$USER/Dropbox" sudo chown -R "$USER" "/Users/$USER/Dropbox" chmod -R u+rw "/Users/$USER/Dropbox"
The first two commands run fine but for the third and fourth I receive the following error messages:
chown: /Users/drmarkcart/Dropbox/My Mac (Mark-Carters-Macbook-Retina-3.local)/Desktop/Incompatible Software/qmasterd: Operation not permitted
chmod: Unable to change file mode on /Users/drmarkcart/Dropbox/My Mac (Mark-Carters-Macbook-Retina-3.local)/Desktop/Incompatible Software/qmasterd: Operation not permitted
Any suggestions?
- Здравко4 years agoLegendary | Level 20
mcarter wrote:chown: /Users/drmarkcart/Dropbox/My Mac (Mark-Carters-Macbook-Retina-3.local)/Desktop/Incompatible Software/qmasterd: Operation not permitted
Hi mcarter,
That's strange. Are you sure you have typed the command correctly? i.e. you haven't skipped the leading "sudo" and the command is:
sudo chown -R "$USER" "/Users/$USER/Dropbox"
but not something like:
chown -R "$USER" "/Users/$USER/Dropbox"
🤔
Can you post the result of following commands:
ls -ld "/Users/drmarkcart/Dropbox/My Mac (Mark-Carters-Macbook-Retina-3.local)/Desktop/Incompatible Software/qmasterd"
id🧐 Hope result will shed some light.
PS: By the way, as the issue seems come from "backup" folders, you can try turn your "Computer Backup" feature off and (if you wish) turn on at the end. Take a look on part "Turn off computer backup" (near the topic end) and at point 6 select "Keep content in folders on this PC/Mac", not "Leave content in Dropbox".
Let's hope this twisting will do the trick for you. 😉
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
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!