After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627107 - Support for remote file monitoring over CIFS
Support for remote file monitoring over CIFS
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: smb backend
git master
Other Linux
: Normal enhancement
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-17 07:46 UTC by Josselin Mouette
Modified: 2018-09-21 17:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josselin Mouette 2010-08-17 07:46:13 UTC
The CIFS protocol supports remote file change notification, using the NT_TRANSACT_NOTIFY_CHANGE command. It would be nice to add support for this in the gvfs backend.
Comment 1 Tomas Bzatek 2010-08-26 15:30:50 UTC
We use libsmbclient for accessing CIFS shares which basically wraps the protocol to POSIX-like calls. I couldn't find any function related to monitoring in any kind, unfortunately. You may want to talk to Samba folks first, perhaps this feature comes in Samba 4 series.
Comment 2 Bastien Nocera 2010-08-26 15:33:39 UTC
There's no FindNotify support in libsmbclient:
https://bugzilla.samba.org/show_bug.cgi?id=7393
Comment 3 Ondrej Holy 2017-10-20 06:22:34 UTC
The mentioned bug is solved and you can see smbc_notify in libsmbclient.h:
https://github.com/samba-team/samba/blob/master/source3/include/libsmbclient.h#L1647

However, there is still a problem that it is not threadsafe:
https://bugzilla.samba.org/show_bug.cgi?id=11413

:-(
Comment 4 GNOME Infrastructure Team 2018-09-21 17:05:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/156.