Cannot list snapshot dir
Posted: 28 Jan 2016 17:52
Hello,
I just created a snapshot of my pool (called 'test') and I can see it (via ssh) growing at the following location:
/mnt/pool1/.zfs/snapshot/test
but when the user 'marco:mycompany' (or any other user) try to access it via Windows 'previous versions' he doesn't see anything. At the same time nas4free logs the following:
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406885, 0] ../source3/modules/vfs_shadow_copy2.c:1211(check_access_snapdir)
Jan 28 17:46:36 nas4free smbd[13979]: user does not have list permission on snapdir /mnt/pool1/.zfs/snapshot
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406943, 0] ../source3/modules/vfs_shadow_copy2.c:1380(shadow_copy2_get_shadow_copy_data)
Jan 28 17:46:36 nas4free smbd[13979]: access denied on listing snapdir /mnt/pool1/.zfs/snapshot
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406970, 0] ../source3/modules/vfs_default.c:1145(vfswrap_fsctl)
Jan 28 17:46:36 nas4free smbd[13979]: FSCTL_GET_SHADOW_COPY_DATA: connectpath /mnt/pool1/marco, failed - NT_STATUS_ACCESS_DENIED.
I checked /mnt/pool1/.zfs/snapshot permissions and they are r-x for anyone.
Any idea ?
Tnx
I just created a snapshot of my pool (called 'test') and I can see it (via ssh) growing at the following location:
/mnt/pool1/.zfs/snapshot/test
but when the user 'marco:mycompany' (or any other user) try to access it via Windows 'previous versions' he doesn't see anything. At the same time nas4free logs the following:
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406885, 0] ../source3/modules/vfs_shadow_copy2.c:1211(check_access_snapdir)
Jan 28 17:46:36 nas4free smbd[13979]: user does not have list permission on snapdir /mnt/pool1/.zfs/snapshot
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406943, 0] ../source3/modules/vfs_shadow_copy2.c:1380(shadow_copy2_get_shadow_copy_data)
Jan 28 17:46:36 nas4free smbd[13979]: access denied on listing snapdir /mnt/pool1/.zfs/snapshot
Jan 28 17:46:36 nas4free smbd[13979]: [2016/01/28 17:46:36.406970, 0] ../source3/modules/vfs_default.c:1145(vfswrap_fsctl)
Jan 28 17:46:36 nas4free smbd[13979]: FSCTL_GET_SHADOW_COPY_DATA: connectpath /mnt/pool1/marco, failed - NT_STATUS_ACCESS_DENIED.
I checked /mnt/pool1/.zfs/snapshot permissions and they are r-x for anyone.
Any idea ?
Tnx