D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] umask for a user with no shell account

 

Kelly Jones wrote:
>
> I have a user defined that i use for backing up customers machines to my
> samba server,  i have restricted shell login for this user and want
> files created by this user to have 777 permissions.  How can i do this
> if the user has no home directory or shell login?

In the smb.conf add "force user" and "create mask" to the relevant
share. "man smb.conf" is your friend.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html