On Tue, 2017-11-07 at 13:42 +0530, nitin chandra wrote:
> I am able to configure samba for LAN sharing.
> 1. Not accessible to users over File Explorer
Samba does not know how it is being accessed. If a connection turns up
with the right credentials, it will be given access. Making the share
non-browseable is not really a security thing; it won't stop anyone who
knows what the share is called.
> I dont want individual users to see / access their own Backup
> directory, but FileSync software keeps working to backup / update the
> data without any issues.
You *may* be able to do something with "create mask"; a file created
with "----------" (create mask = 0777) will theoretically not be
accessible by the user once it is closed. I've never actually tried
that with Samba though. Tell us the result if you try it :-) And read
about "force create mode", "directory mask" and "force directory mode"
as well, because a file the user cannot read can still be deleted by
that user unless the directory the file is in is suitably protected.
Depending on how FileSync works, this solution may also prevent
FileSync writing to the same files twice (you mentioned 'update').
Whether that is a good thing or not depends on how you are using
Another alternative is to move the backups away from the target
directory as soon as the backup is complete, and put them in a
directory that is not accessible to the user.