I have one directory:
drwxr-xr-- 4 ndbadm sapsys 4096 May 7 12:38 auto_backupy
I have created samba share for it:
path = /HANA_DATA/hana_backup/auto_backupy
read only = Yes
guest ok = yes
force group = sapsys
but everyone from windows host can browse it - how to restrict this to asks for username when try to browse this share and only user will be root?[/QUOTE]
well, you forced every access to use the group “sapsys”… and group “sapsys” has read/execute permission on the directory, so it’s working as expected.
Not knowing the context, it is unclear if the following will really be helpful:
“Change the directory’s ownership to user “root” and permissions to “700” - then only root will be allowed to access the directory.”
Of course, this will then be a valid restriction for direct accesses (not via SaMBa), too.