Re: HOW to set the UMASK?
- To: mutt-users@xxxxxxxx
- Subject: Re: HOW to set the UMASK?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sun, 18 May 2008 12:13:06 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=default; bh=B4c0J2vY3w 8KE6mIbA9eLoreM7Q=; b=EBPq7bXyOmAd8j1TMHzvg0G3JwY5UfYeQ+JqFlnfIw wATQ/miprcgHCQhZTUXqho2+XAZ0RhNpErFvdau+y6vlQ1yQ/GxU+2dT7oj1cobJ Sonw0+kbaelQuFxzt46dYwZijFNC49CCRbqc+exUSk4yN4f2aLNIwEEQnXHY+Ks7 8=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=CHz3797vD2dCxZ1HeBp3sYlZYUh/X9CbUSRm45ip5lBV1cWxANu0th3sAbPxESnWUlvqrl7ViH2gd5gepS0+kUsxYwq5cY10zYuoohQhJBo9rnuV0NwxQOBGpBJpFwBUa4Ls0bDsVRJfzuL1EZ8n+cvsZ+rc7yjXayre9jbPet8=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:Content-Transfer-Encoding:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080517204230.GA8582@xxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080517204230.GA8582@xxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2008-05-15)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday, May 17 at 10:42 PM, quoth Keld Jørn Simonsen:
> I have a related problem, when I create files from mutt they are
> 600, I would lke them to be 644. My umask is 022. Is there anything
> I can do to have my new files 644?
Modify main.c. Mutt *ALWAYS* calls umask(077) before doing anything,
so you'd need to either remove that call from the main.c or you'd need
to modify it to suit your needs.
~Kyle
- --
Mathematicians stand on each other's shoulders while computer
scientists stand on each other's toes.
-- R. W. Hamming
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkgwY6IACgkQBkIOoMqOI16Q1gCg7rETSCaOWsm/Hd8SND7zsCbN
ERAAoOssQDL/ffqRJG1A8gn6e/lH0ydv
=yvBh
-----END PGP SIGNATURE-----