• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

restrict access to CIFS mount

I need to restrict the access of a user to a single directory path on a CIFS mounted share.

The fstab entry is:
//device/Users   /share/users    cifs    iocharset=utf8,credentials=/root/.cifscredentials,noperm,uid=0,gid=10008,file_mode=0750,dir_mode=0750  0       0

I want a user to ONLY have read/write access to: //device/Users/share

How can I do this?
0
code4
Asked:
code4
1 Solution
 
SandyCommented:
Jailed Samba is what exactly can help you.. as per me there is not fortunate solution yet for this but still you can give a try by using below link

http://www.linuxquestions.org/questions/linux-server-73/trying-to-chroot-samba-701226/

TY/SA
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now