[Samba] Windows Clients are given access to parent directories of the path configured as a Share path

Neelakantan Kannappa (nkannapp) Neelakantan.Kannappa at quest.com
Sun Apr 5 10:00:08 UTC 2020


Hi Group,

Mentioned below is the share configuration added to smb.conf.

Windows clients are given access to all directories along the path "/containers/rda-nas/BackupRoot/Cores/XXX"  from "/" instead of directory XXX alone as the share's root directory.

In NFS if we export a path, clients will never be known of parent directories along the export path.

Why in samba, clients are given access to all directories along the configured share path?

Could anyone point out what configuration would disallow access to folders(/directories) along the configured share path?
[rda-nas]
   path = /containers/rda-nas/BackupRoot/Cores/XXX
   browseable = no
   read only = no
   writable = yes
   include = /XXX/samba/rda-nas.inc
   force unknown acl user = yes
   ea support = yes
   strict sync = yes
   store dos attributes = yes
   follow symlinks = no
   mangled names = no
   nt acl support = yes
   smb encrypt = no
   oplocks = no
   level2 oplocks = no
   strict locking = no
   vfs object = streams_depot acl_xattr ocafs
   acl_xattr:ignore hashes = yes
   public = yes


Thanks,
Neelakantan K.


More information about the samba mailing list