owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 662 forks source link

[OS X] Local sync folder on smb/afp network drive #4639

Open mk3d opened 8 years ago

mk3d commented 8 years ago

Expected behaviour

On Mac OS, i mount a volume via smb or afp. With the owncloud client, i defined my local folder as /Volumes/my-shared-drive The volume is always mounted on the mac. But the ownCloud client don't discover the changes automatically.

Actual behaviour

ownCloud client don't discover the changes automatically if the defined local directory is stored on a shared drive. (smb/afp)

Steps to reproduce

  1. Define the sync folder on a shared drive
  2. Make change on the shared drive from another machine
  3. the owncloud client don't see any changes.

But, if i just leave an opened Finder window with the content of the local folder, it's ok.

Server configuration

Operating system: Centos7

Web server: Apache

Database: MySQL

PHP version: 5.4

ownCloud version: 9

Storage backend:

Client configuration

Client version: Mac OS Operating system: X 10.11.3

OS language: French

Installation path of client: /Applications

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32612177-os-x-local-sync-folder-on-smb-afp-network-drive?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F216457&utm_medium=issues&utm_source=github).
tps800 commented 8 years ago

It seems to work on Windows 7/10 with a shared drive mounted from Netapp. As soon as the ownCloud Client is fired up, the drive is available and watched. It will only go offline if OC-C is terminated (pausing it does not matter: the share wont go offline!). Since MacOS is BSD based I tried to mount the smb share on FreeBSD using smb+autofs. Same behaviour as with Windows: drive is watched as long as OC-C is running. Autofs will only unmount the share if OC-C is not running. As soon as the mount is accessed again it is mounted and watched by OC-C. Maybe it is a feature already build in smb and only an option to set/unset?

ysagon commented 8 years ago

I have the same behaviour as @mk3d on a windows 8.1 client