Georg.Biberger at partner.bmw.de
2020-Jun-24 16:30 UTC
[Samba] inotify_add_watch returned Permission denied
Hello, We are using Samba 4.10.16 as a file server on a linux box with SLES 12. All is working fine with our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider, but samba gets crashed when a client tries to access files on these shares. New start of samba is required! In the smbd.log, I see these entries: [2020/06/24 17:58:23.118208, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) inotify_add_watch returned Permission denied [2020/06/24 17:58:23.120298, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST] returned Permission denied [2020/06/24 17:58:25.519569, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) inotify_add_watch returned Permission denied [2020/06/24 17:58:25.519648, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST/test00] returned Permission denied [2020/06/24 18:04:52.884707, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) inotify_add_watch returned Permission denied [2020/06/24 18:04:52.884842, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST] returned Permission denied [2020/06/24 18:04:53.414227, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) inotify_add_watch returned Permission denied [2020/06/24 18:04:53.414361, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST/test00] returned Permission denied Any idea what this mean? Which permission is missing? So I can contact the archive provider to solve this issue. Any help would be appreciated. Kind regards Georg Biberger
On 24/06/2020 17:30, Georg.Biberger--- via samba wrote:> Hello, > > We are using Samba 4.10.16 as a file server on a linux box with SLES 12. All is working fine with our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider, but samba gets crashed when a client tries to access files on these shares. New start of samba is required! In the smbd.log, I see these entries: > > [2020/06/24 17:58:23.118208, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) > inotify_add_watch returned Permission denied > [2020/06/24 17:58:23.120298, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) > notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST] returned Permission denied > [2020/06/24 17:58:25.519569, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) > inotify_add_watch returned Permission denied > [2020/06/24 17:58:25.519648, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) > notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST/test00] returned Permission denied > [2020/06/24 18:04:52.884707, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) > inotify_add_watch returned Permission denied > [2020/06/24 18:04:52.884842, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) > notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST] returned Permission denied > [2020/06/24 18:04:53.414227, 1] ../../source3/smbd/notify_inotify.c:442(inotify_watch) > inotify_add_watch returned Permission denied > [2020/06/24 18:04:53.414361, 1] ../../source3/smbd/notifyd/notifyd.c:473(notifyd_apply_rec_change) > notifyd_apply_rec_change: sys_notify_watch for [/lfs/EDA/DATA/SHARES/austausch/qx10311/EDA_TEST/test00] returned Permission denied > > Any idea what this mean? Which permission is missing? So I can contact the archive provider to solve this issue. > Any help would be appreciated. > > Kind regards > Georg Biberger > >OK, Samba shouldn't crash, but nothing in what you have provided shows a crash, so do you have logs that show the 'crash' ? It might help if you can also post your smb.conf file. Rowland
Reasonably Related Threads
- Share access permission errors after upgrade from 4.12.14
- Share access permission errors after upgrade from 4.12.14
- security=ads
- Unable to execute Java MapReduce (Hadoop) code from R using rJava
- Lots of failed message in smbd.log: NT_STATUS_OBJECT_NAME_NOT_FOUND