Page 1 of 1

Setting file to be accessible only by one user

PostPosted: Apr 2nd, '15, 16:45
by mackowiakp
I have Linux Samba server and several clients connected to one. Several WIN based PC, most MAC laptops and 4-5 Linux based clients.

There is public share available for all clients. This share consist several files but one of them could be open only by one user at the same time.
I have to mention that not mounted by only one user at the same time but open for read or write.
Of course it is very simple in smb.conf to restrict amount of users mounting share at the same time but is any possibility to restrict access to single file?
I try to use

Code: Select all
chmod 0202 file


but after accessing share from dolphin filemanager such file was not visible at all. Is any other solution to resolve the problem?

Re: Setting file to be accessible only by one user

PostPosted: Apr 2nd, '15, 16:58
by isadora

Re: Setting file to be accessible only by one user

PostPosted: Apr 2nd, '15, 17:05
by mackowiakp
Yep ;-)