cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox files & folders

Get in sync with the Dropbox Community. Our users can answer all of your questions on files and folders. Join a discussion or start your own.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

How to make extended attributes not disabled in file to synchronize?

New member | Level 2
New member | Level 2

I have mounted a SD card (using command line

sudo mount -r -t hfs disk2s1 /Dropbox/mountpoint)  

) inside the Dropbox folder in my Mac. 

It looks to dropbox as a regular folder, but it doesn't synchronize.
I understand I need an HFS+ or APFS-formatted hard drive with extended attributes not disabled. But it seems the problematic folder has Extended Attributes Disabled, because other files syncronizing properly show 

drwxr-xr-x@ permisions, but the problematic folder only show 

drwxrwxrwx permisions. 

 So how do I enable extended attributes? I suspect this is the origin of my problem.


All other files succesfully syncronized have extended attributes: 

com.dropbox.attrs

com.dropbox.attributes


3 Replies 3
Highlighted

Re: How to make extended attributes not disabled in file to synchronize?

Dropboxer
Dropboxer

Hi @supercuerda; welcome to our Community and happy Monday!

 

I'm not sure if that's the case indeed, but it looks like you may have some files in your folder that have their permissions incorrectly set somehow which you should be able to fix with the following steps:

 

1. Stop the Dropbox desktop application (if needed)

 

  • Click on the Dropbox icon.
  • Choose Quit/Stop/Exit

2. Open your Terminal app (Located at /Applications/Utilities/Terminal)

 

3. Copy and paste the following lines into the Terminal, one at a time, and press RETURN after each one. Make sure you copy and paste these commands (don't type them by hand), as getting them wrong could cause some harm. You'll be prompted for your computer user's password (not your Dropbox password) after entering the first command. Keep in mind that the password field in the terminal will remain blank as you type your password. After you type it, just press ENTER. You'll know that these instructions complete normally once the initial line of text (called prompt) comes up again:

 

sudo chflags -R nouchg ~/Dropbox ~/.dropbox

 

sudo chown "$USER" "$HOME"

 

sudo chown -R "$USER" ~/Dropbox ~/.dropbox

 

sudo chmod -RN ~/.dropbox ~/Dropbox

 

chmod -R u+rw ~/Dropbox ~/.dropbox

 

Please note that once the prompt displays, the instruction completed the requested task, and is ready for the next command. If the command returns an error, or does not respond after an hour, you may want to try restarting your computer and try these steps again.

 

4. Restart Dropbox from Applications.

 

Let me know the results! 



Walter
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Highlighted

Re: How to make extended attributes not disabled in file to synchronize?

New member | Level 2
New member | Level 2

Hi Walter! Thanks a lot.

This is what the terminal promts:

$ sudo chflags -R nouchg ~/Dropbox ~/.dropbox

chflags: /Users/USER/Dropbox/Rebel/.Spotlight-V100: Operation not permitted

$ sudo chown "$USER" "$HOME"

$ sudo chown -R "$USER" ~/Dropbox ~/.dropbox

chown: /Users/USER/Dropbox/Rebel/.Spotlight-V100: Operation not permitted

chown: /Users/USER/Dropbox/Rebel/.Spotlight-V100: Operation not permitted

$ sudo chmod -RN ~/.dropbox ~/Dropbox

chmod: Failed to clear ACL on file .Spotlight-V100: Operation not permitted

chmod: /Users/USER/Dropbox/Rebel/.Spotlight-V100: Operation not permitted

chmod: Failed to clear ACL on file .Spotlight-V100: Operation not permitted

$ chmod -R u+rw ~/Dropbox ~/.dropbox

chmod: /Users/USER/Dropbox/Rebel/.Spotlight-V100: Operation not permitted

 

Here "Rebel" is the folder that doesn't want to synchronize and the .Spotlight-V100 file is created automatically by the spotlight application of Mac OS. I'm wondering wether I should format by SD card in some different way...
I hope this will be useful.
Thanks again!


Highlighted

Re: How to make extended attributes not disabled in file to synchronize?

Dropboxer
Dropboxer

Thanks for the detailed response @supercuerda.

 

I'm not sure if that's the case, but you may need to grant your Terminal full disk access through your computer's System Preferences (under the 'Security and Privacy' control panel) and try those commands again. 

 

Alternatively, you can have Spotlight ignore this SD card of yours from indexing as this might do the trick for you.

 

If you need further assistance with this, I'd suggest checking with Apple's resources as they'd be preferable in this case. 

 

Keep me posted anyhow! 



Walter
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?