I feel like this a really easy problem, but something is escaping me on this. I have a samba share(slack 11 box) and the folder i want to use is /smbshr/public/ off of / . The owner of both folders is root, but for the public folder i want the owner as root and the group as smbshr.
/smbshr # root root 770
/smbshr/public # root smbshr 770
I tried the following to create the group.
# groupadd smbshr
# usermod -g smbshr user
# chgrp smbsr public
But this doesnt work but if i change the group of public to users i am able to access the folder from windows fine (ie create files, delete, etc). So what is the correct way to do this?
Also while im at it... what are the commands to view details about users, in the of viewing their groups and other stuff i should know about.