You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable synchronisation for certain directories #7909
Would it be possible to disable synchronisation on certain directories within the user's filesystem, but still allow them to be accessed through the web interface? Failing a general solution, is it possible to disable synchronisation for certain mounted shares?
For example, a user may want to mount several different shares for access through the web interface, but only wants their home share to be synchronised with any clients. This is useful in cases where a large multi-user share is available, and the user wants to be able to manage files in it, but doesn't want to pull down GBs of data, most of which may be useless to them.
@PVince81 A server side solution would greatly aid in getting new users up and running with ownCloud, since the administrator can configure certain shares to be (by default?) not synched, such as the large multi-user shares that I mentioned in the OP. Although a way to get default settings down to the clients would be a good replacement, when combined with the selective sync feature.
Those are two totally different things we should not mix up.
I would never hand over a admin task to the user. That would be a huge security break.
There are a lot of reasons described in #7234 why we should do this differenciations.
(BTW: this description is not limited to mount points...)
Even I have not analyzed the mirall code how it communicates with oC I expect following:
Mirall queries: give me a list of folders to disdplay for sync-selection. As mount points are root folders in oC, for mirall everything looks the same. The answer of oC is just a list of folders
What mirall can not see will not be able to be synced. This is the admin security we need. Nothing to be changed on the mirall side.
We need to think about how we can build this item list based on rules which is then transferred to mirall.
Starting with desabling a mountpoint ist just the first step. There is no difference from the list creation if this is a mount point or a subfolder ect. The only question we have to consider is how we create the user interface on oC to enable/disable items and store the result. Could be a mount point at the first step but expanded to (sub) folders and/or users or whatever we think of in later steps. Nothing lost if we proceed like that.
@jancborchardt as I see this, this is not a duplicate of owncloud/client#1766 and therefor should not be closed as this is complementary to 1766. 1766 is only client side driven. But there MUST be a server side component to disable from the admin side certain directories / mount points generally. Giving an example: are you sure you want to handover folders/mount points to be synced to a client when you have a photo store multi TB in size?? This can not be done from mirall only, there must be a server component. Please read my comment above.
This is exactly what I'm looking for. I'd like (as admin user) be able to add a local/samba/... share to a bunch of users and exclude it from client sync (but still show it in the webinterface of course).
I just attached a samba share as external storage to my OC instance and realized that all the clients will try and synchronize it. The problem is the share contains well over 500GB of photos and no client workstation or laptop has that amount of space available. Not to mention, if someone were to setup the OC client on their own machine (at home for example), it would start sync'ing as well. It would be nice if I could control this on the server side and just make the external storage available via the web UI and mobile apps.
Yeah, that was my first thought too. But in those shares added are folders smaller than 500MB, and those will be synced automatically.
Also, in our usage cases you would like to be able to exclude certain kind of folders regardless the size.
My vote for this feature as well. In my case I want to avoid users to sync a few folders that have sensitive information. I don't want this to be stored by default in their computers (it is an unnecessary exposure). I have no problem that they download the file(s) they need by hand from the web interface, in which case they are aware that these files are on their computers. Would be great to have this feature.
We have the "decline/accept shares" feature.
We also have some redundancy with the new Virtual Files Feature in the desktop client.
In ownCloud infinite scale we will have also spaces to treat large "data buckets" as optional sync targets.
Activity
PVince81 commentedon Mar 27, 2014
See selective sync feature in the client: owncloud/client#100
Not sure if this should be implemented server-side.
RobinMcCorkell commentedon Mar 27, 2014
@PVince81 A server side solution would greatly aid in getting new users up and running with ownCloud, since the administrator can configure certain shares to be (by default?) not synched, such as the large multi-user shares that I mentioned in the OP. Although a way to get default settings down to the clients would be a good replacement, when combined with the selective sync feature.
mmattel commentedon Mar 27, 2014
I made the same request, see my details and analysis
Feature Request: ability to exclude external storage mounts from being synced by mirall
#7234
jancborchardt commentedon Mar 31, 2014
It seems this is a duplicate of owncloud/client#100, or would better be solved by implementing what is described there. What do you think?
PVince81 commentedon Mar 31, 2014
I'll at least close this here as duplicate of #7234
PVince81 commentedon Mar 31, 2014
Hmmm, #7234 is to exclude external storage mounts but this one here is more generic.
I'll reopen until we clear this out.
mmattel commentedon Mar 31, 2014
We have to differenciate two points of view.
Those are two totally different things we should not mix up.
I would never hand over a admin task to the user. That would be a huge security break.
There are a lot of reasons described in #7234 why we should do this differenciations.
(BTW: this description is not limited to mount points...)
Even I have not analyzed the mirall code how it communicates with oC I expect following:
Mirall queries: give me a list of folders to disdplay for sync-selection. As mount points are root folders in oC, for mirall everything looks the same. The answer of oC is just a list of folders
What mirall can not see will not be able to be synced. This is the admin security we need. Nothing to be changed on the mirall side.
We need to think about how we can build this item list based on rules which is then transferred to mirall.
Starting with desabling a mountpoint ist just the first step. There is no difference from the list creation if this is a mount point or a subfolder ect. The only question we have to consider is how we create the user interface on oC to enable/disable items and store the result. Could be a mount point at the first step but expanded to (sub) folders and/or users or whatever we think of in later steps. Nothing lost if we proceed like that.
jancborchardt commentedon Aug 19, 2014
Closing because this is an issue with the client (which is going to be fixed soon) and a duplicate of owncloud/client#1766
mmattel commentedon Aug 21, 2014
@jancborchardt as I see this, this is not a duplicate of owncloud/client#1766 and therefor should not be closed as this is complementary to 1766. 1766 is only client side driven. But there MUST be a server side component to disable from the admin side certain directories / mount points generally. Giving an example: are you sure you want to handover folders/mount points to be synced to a client when you have a photo store multi TB in size?? This can not be done from mirall only, there must be a server component. Please read my comment above.
23 remaining items
marvelloard commentedon Oct 30, 2015
This is exactly what I'm looking for. I'd like (as admin user) be able to add a local/samba/... share to a bunch of users and exclude it from client sync (but still show it in the webinterface of course).
mgbowman commentedon Feb 12, 2016
Toss another vote for this feature!
I just attached a samba share as external storage to my OC instance and realized that all the clients will try and synchronize it. The problem is the share contains well over 500GB of photos and no client workstation or laptop has that amount of space available. Not to mention, if someone were to setup the OC client on their own machine (at home for example), it would start sync'ing as well. It would be nice if I could control this on the server side and just make the external storage available via the web UI and mobile apps.
marvelloard commentedon Feb 16, 2016
Same here, photos, videos, audio material, software. This shouldn't be synchronised but accessible via the web interface. Urgently needed!
MorrisJobke commentedon Feb 16, 2016
The current client doesn't sync folder bigger than 500MB by default. You need to actively enable the sync for those folders.
marvelloard commentedon Feb 16, 2016
Yeah, that was my first thought too. But in those shares added are folders smaller than 500MB, and those will be synced automatically.
Also, in our usage cases you would like to be able to exclude certain kind of folders regardless the size.
PVince81 commentedon Oct 10, 2016
Add webdav property to tell sync client to not sync an entry: #26311
mkormendy commentedon Feb 6, 2019
PING! This is still a much needed feature.
jfarjona commentedon Apr 2, 2021
My vote for this feature as well. In my case I want to avoid users to sync a few folders that have sensitive information. I don't want this to be stored by default in their computers (it is an unnecessary exposure). I have no problem that they download the file(s) they need by hand from the web interface, in which case they are aware that these files are on their computers. Would be great to have this feature.
micbar commentedon Sep 16, 2021
We have the "decline/accept shares" feature.
We also have some redundancy with the new Virtual Files Feature in the desktop client.
In ownCloud infinite scale we will have also spaces to treat large "data buckets" as optional sync targets.
mmattel commentedon Sep 20, 2021
@micbar this is not about client, but server settings...