SME SMB

Published on February 2017 | Categories: Documents | Downloads: 31 | Comments: 0 | Views: 266
of 1
Download PDF   Embed   Report

Comments

Content

Problem You need to give Administrators or Power Users read access to users home folders The solution provided below should only be used for read access. Warning.png Warning: If an Administrator or Power User writes to the files in any users home folder, then those files will be given different ownership permissions and the o riginal user will no longer be able to read or write to, those files. Information.png Tip: Above issue could be resolved by giving admin users no write access, by not giving them the write access property. A drawback is that they can not add f iles or create folders either, as they only have read access. Solution Create a new sharename by means of a custom template with modified users access rights, which allows specified users to have read access If it does not already exist create the following folder mkdir -p /etc/e-smith/templates-custom/etc/smb.conf Create a new template fragment cd /etc/e-smith/templates-custom/etc/smb.conf pico -w 50userhomes-admin Paste or type the following code into the template: [userhomes] comment = Users home directories path = /home/e-smith/files/users/ valid users = admin root username1 username2 admin users = admin root username1 username2 write list = admin root username1 username2 browseable = yes guest ok = no public = no read only = no writable = yes printable = no create mode = 0660 force create mode = 0660 directory mode = 0770 force directory mode = 0770

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close