Hi all
I have two users and I want to do every one of them file share .
So that the user does not see a file used II.
Each one of them has a special file in which no one can see
only he
Is samba can do that.
Hi all
I have two users and I want to do every one of them file share .
So that the user does not see a file used II.
Each one of them has a special file in which no one can see
only he
Is samba can do that.
Here is a share that only user “william” can see into:
Make a directory /home/william/special
Make the permissions on the directory to be drwx------
Make this entry in the Samba configuration file:
[william_special]
path = /home/william/special
valid users = william
read only = no
Add user william to the Samba user databse with this command in a root console:
smbpasswd -a william
Restart sSamba
That will do it. The share is read-write to william and no one else can read in it.
I did
Thank you very much
Just for interest:
This will make the share invisible on the network:
add the line: browseable = no
the share becomes then:
[william_special]
path = /home/william/special
valid users = william
browseable = no
read only = no
But William can always open it, even when it’s invisible, by using this address in windows, and the files will be visible:
\\server_network_name\william_special
or from a Linx machine he uses:
smb://server_network_name/william_special
Thank you for this information.
Regards