permission changes to match template homedir /etc/samba/smb.conf?
in my /etc/samba/smb.conf file, i have the template for the home directories like this:
template homedir = /home/%D/%U
now i need to change the permissions (in a script) that will change the permissions of those folders, to that user
that folder should be chown for that user. how do i do that?