- Thread Author
-
- #1
We are using Dropbox on a Windows Server 2016 DC. Dropbox is used to Sync the files between users in a remote location (due to connection speeds) and then also Syncs between the shared folders on the DC.
Surprisingly it's working really well but I've come across a problem. When a folder (64 Zoo Lane) is created in 'Quotes' via Dropbox. This then Sync's into Quotes on the shared folder.
Once the client (64 Zoo Lane) has paid. A user would then access the shared folder via the network and cut and paste this to another folder 'Jobs in progress'
The trouble is... when the folder is cut and pasted the permissions are not updating as it's missing a user group.
If however, the folder was created via the network and not dropbox this works fine and the permissions update correctly.
Is it possible to having a script running in task manager that refreshes/updates the security permissions of all folders?
I'm kind of thinking some sort of batch script although unsure of the syntax/code.
Surprisingly it's working really well but I've come across a problem. When a folder (64 Zoo Lane) is created in 'Quotes' via Dropbox. This then Sync's into Quotes on the shared folder.
Once the client (64 Zoo Lane) has paid. A user would then access the shared folder via the network and cut and paste this to another folder 'Jobs in progress'
The trouble is... when the folder is cut and pasted the permissions are not updating as it's missing a user group.
If however, the folder was created via the network and not dropbox this works fine and the permissions update correctly.
Is it possible to having a script running in task manager that refreshes/updates the security permissions of all folders?
I'm kind of thinking some sort of batch script although unsure of the syntax/code.
Solution
I ended up creating a batch file which run a ICACLS line to refresh/update the permissions of the directory.When a file or directory is created it will by default inherit the permissions of the parent directory. There are lots of caveats to this some of them included here https://support.microsoft.com/en-us...dled-when-you-copy-and-move-files-and-folders
Are these directories on the same volume and the missing group in particular is it set to propagate or is is it applied to the parent directory only?
Example;
icacls "E:\Dropbox\Jobs In Progress\*" /q /c /t /reset
This worked a treat - I then added a task to task manager to run every 5 minutes.
- Joined
- Jul 4, 2015
- Messages
- 8,998
When a file or directory is created it will by default inherit the permissions of the parent directory. There are lots of caveats to this some of them included here https://support.microsoft.com/en-us...dled-when-you-copy-and-move-files-and-folders
Are these directories on the same volume and the missing group in particular is it set to propagate or is is it applied to the parent directory only?
Are these directories on the same volume and the missing group in particular is it set to propagate or is is it applied to the parent directory only?
- Thread Author
-
- #3
I ended up creating a batch file which run a ICACLS line to refresh/update the permissions of the directory.When a file or directory is created it will by default inherit the permissions of the parent directory. There are lots of caveats to this some of them included here https://support.microsoft.com/en-us...dled-when-you-copy-and-move-files-and-folders
Are these directories on the same volume and the missing group in particular is it set to propagate or is is it applied to the parent directory only?
Example;
icacls "E:\Dropbox\Jobs In Progress\*" /q /c /t /reset
This worked a treat - I then added a task to task manager to run every 5 minutes.
Solution
Similar threads
- Replies
- 7
- Views
- 7K
- Replies
- 18
- Views
- 228K