|
|
|
|
||||||
| comp.mail.imap Discussion of IMAP-based mail systems. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am trying set the default UMASK for Courier for writing to user's
mailboxes. I am referring to the default file mode of messages in a user's mailbox that are created from within an IMAP client (i.e. not created from delivery from the MTA/LDA). I have experimented with the "IMAP_UMASK" setting in the /etc/courier-imap/imapd config file, and this does not seem to have any effect on the umask being used to create mail files in the user's personal mailbox. It also does not seem to care about the umask setting in /etc/profile or $HOME/.profile. Currently, the umask appears to be 133 (all created files show up as rw-r--r--). The default value of IMAP_UMASK in the imapd config file is 022, so I am pretty sure this isn't where the setting is coming from. I would like to change this umask to 007 (or 117) so that I can give another user write access to the mailbox and all messages in the mailbox via group membership. I have spent tha past few hours RTFMing and searching newsgroups with no luck. Any would be greatly appriciated. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
vanstyn writes:
> Currently, the umask appears to be 133 (all created files show up as > rw-r--r--). The default value of IMAP_UMASK in the imapd config file is > 022, so I am pretty sure this isn't where the setting is coming from. Yes, it is. Message files are not executable, so they are created with mode 666. Now, substract mode 022. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEpcgox9p3GYHlUOIRAtduAJ9Fz8Dd8Hk3auf/2YqQ1qyM14PSxwCeKx5d nEDdb6Cgk/jYRx2Ff5Baw48= =obZt -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Sam wrote: > vanstyn writes: > > > Currently, the umask appears to be 133 (all created files show up as > > rw-r--r--). The default value of IMAP_UMASK in the imapd config file is > > 022, so I am pretty sure this isn't where the setting is coming from. > > Yes, it is. Message files are not executable, so they are created with mode > 666. Now, substract mode 022. > Ah, that does make sense... Well, anyway, I have changed the value of this setting, but it has no effect on the file modes. This is why I thought it must be controlled elsewhere. If this is indeed the setting, then why might it not be working? (I have of course restarted Courier after making the change)... |
|
![]() |
| Outils de la discussion | |
|
|