<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey guys<br class=""><br class="">Wonder if someone can help me by writing or point me in the direction of a dummies guide as Im getting so confused.<br class=""><br class="">Ive had to use umask to allow my home samba server users to modify files and folders that I have created, previously I was having to chmod the folder and file every time I created something the other user wanted to use.<br class=""><br class="">Ive followed this tutorial to use group authentication   <a href="https://www.howtoforge.com/samba-server-install-on-debian-7-wheezy-p2" class="">https://www.howtoforge.com/samba-server-install-on-debian-7-wheezy-p2</a> however  I really dont understand using groups for samba. Once I have chown a folder to a user in the group how do I allow others to access that folder and modify the file automatically? <br class=""><br class="">This is the setup id like to have<br class=""><br class="">I as user A - have access to all shares<br class="">User B has access to some folders but not all<br class=""><br class="">Currently I have my smb.conf as follows<br class=""><br class="">[global]<br class="">  workgroup = WORKGROUP<br class="">  server string = DebServ<br class="">  server role = standalone server<br class="">  security = user<br class="">  map to guest = Bad User<br class="">  log file = /var/log/samba/%m.log<br class="">  max log size = 50<br class="">  dns proxy = no<br class=""><br class="">[Bigpot]<br class="">  path = /mnt/bigpot<br class="">  public = yes<br class="">  valid users = andrew<br class="">  writable = yes<br class=""><br class="">[Storepot]<br class="">  path = /mnt/storepot<br class="">  public = yes<br class="">  valid users = andrew carla<br class="">  writable = yes<br class=""><br class="">[Movies]<br class=""> path = /mnt/movies<br class=""> public = yes<br class=""> valid users = andrew carla<br class=""> writable = yes<br class=""><br class="">[datty]<br class=""> path = /mnt/storepot/datty<br class=""> public = yes<br class=""> valid users = datty<br class=""> writable = yes<br class=""><br class="">Then I have modifed the umask as follows to 002<div class=""><br class=""></div><div class=""><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; color: rgb(17, 17, 17); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 19.600000381469727px;" class="">/etc/pam.d/common-session</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; color: rgb(17, 17, 17); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 19.600000381469727px;" class="">session optional pam_umask.so umask = #VALUE (e.g. 0026)</p>Cheers for your help and my apologies if Im being a little thick here.</div><div class=""><br class=""></div><div class="">Andy<br class=""><br class=""><br class=""></div></body></html>