The main idea is to block the users access to the server in root mode, but
the domains and users are created with permission 700:

drwx------ 3 vpopmail vchkpw 4096 Nov 23 09:39 teste.com.br

This way the users cannot access the domain folders, I wish to change de
folders permission to 770 at the time they're created.



-----Mensagem original-----
De: Eric Shubert [mailto:[email protected]] 
Enviada em: quarta-feira, 23 de novembro de 2011 14:14
Para: [email protected]
Assunto: [qmailtoaster] Re: Help umask

On 11/23/2011 05:22 AM, Andre Ribeiro wrote:
> When is created a new domain with the following command:
> /home/vpopmail/bin/vadddomain, all domains are created with umask 077.
> Is possible to create new domains directory with umask 007?
>
> Att,
>
> Andre
>

You could write a wrapper script to do this.

Somehow though, I get the idea that there's another problem you're trying to
solve, like shared folders perhaps. What are you trying to accomplish?
Perhaps there's a better way to solve it. Dovecot v2.x handles shared
folders quite nicely, fwiw.

--
-Eric 'shubes'


----------------------------------------------------------------------------
-----
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
----------------------------------------------------------------------------
-----
     Please visit qmailtoaster.com for the latest news, updates, and
packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail:
[email protected]



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail: [email protected]


Reply via email to