cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We love to hear how every person gets the most from Dropbox, and it seems everyone has a slightly different use for it - tell us yours here!

Dropbox files & folders

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

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

Maintain file and folder permission during a copy

Maintain file and folder permission during a copy

biglickProfile
Explorer | Level 4

I need a way to maintain all file and folder permissions while cleaning up my Dropbox.   Currently when I move files or folders it replacing the permissions I had set previously.  What is the best way to maintain the security set on the original folder during the copy process?   Is there a copy with permissions option?

 

Please email me at [email address removed] if you have suggestions.

5 Replies 5

Re: Maintain file and folder permission during a copy

Elixir
Super User

Hello @biglickProfile, which operating system are you using? If you are on Windows (or macOS), and copying to non-NTFS formatted (or non APFS, HFS formatted in case of macOS) drive, you might lose some attributes. If you are on linux and you can try using cp with -p flag to preserve permissions or use rsync with -a flag. 

 

Re: Maintain file and folder permission during a copy

biglickProfile
Explorer | Level 4

Elixir, we are wanting to move in Dropbox, for example making an (Archive or Old) folder where we can move the files in to while we are cleaning up the Dropbox space, then move off or delete once we determine the need.   I do not want to just move them to a google workspace or windows before I have time to clean up some.   Can we not move with in Dropbox and maintain security?

Re: Maintain file and folder permission during a copy

Elixir
Super User

Sorry, I might have misunderstood your issue. Are you talking about the maintaining Dropbox shared folder permissions (I thought operating system read-write-execute permissions for user, group, and others)? In case of Dropbox shared folder permissions, if you copy and paste the folders, I think it won't maintain the permissions. But if you move a shared folder inside a non-shared folder, it should maintain the permissions. You cannot however move a shared folder inside another shared folder. 

Re: Maintain file and folder permission during a copy

biglickProfile
Explorer | Level 4

Yes, The point was maintaining the permission inside of dropbox.  So the key is to move it to a new folder but you can not share that new folder?  That doesn't work too well.   I will see what options that helps me solve. and continue to strive forward.

Re: Maintain file and folder permission during a copy

Elixir
Super User

The rule inside Dropbox folder is: you cannot put a shared folder inside another shared folder. However, you can organise multiple shared folders inside a non-shared folder (you can move/drag-and-drop shared folders inside a non-shared folder). Once you create a shared folder, dropbox treats it as a top-level folder. The shared permissions you set for this folder applies to every folder/file under it. You cannot set separate permissions for a shared folder and a sub-folder under it.

 

In your case, you are trying to free up space in Dropbox, that means moving shared folders out of Dropbox. I am not aware of any builtin Dropbox method to maintain share permission in such case. If you are comfortable to work with developer APIs, it is possible to export permissions of a shared folder. Later you can make API calls to share the folders and apply the same rules. You can check out the developer docs here https://developers.dropbox.com/dbx-sharing-guide

Who's talking

Top contributors to this post

  • User avatar
    Elixir Super User
  • User avatar
    biglickProfile Explorer | Level 4
What do Dropbox user levels mean?
Need more support?