Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I denied access to one subdir for the windows users, but this subdir remains visible. Could it possible hide it based on permission model?

share|improve this question

Try this in smb.conf:

veto files = mysubdir

Also see the documentation.

share|improve this answer
the veto works. I have simple share accessed by predefined user and few localnet machines uses the same user login credentials i'm not familiar with samba and setfacl unix model. so i still looking for tutorial how to set up it in rightway – Yurij73 Nov 24 '12 at 10:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.