Hi Michael,

On Thu, 26 Jan 2012 16:18:00 +0100, Michael Olbrich wrote:
On Thu, Jan 26, 2012 at 10:29:00AM +0100, Andreas Bießmann wrote:
In some cases the check_dirs_mkdir() function will create directories on the way (parents) with insufficient rights. Therefore the chmod/chown later on
will fail due to missing rights.

This patch forces 'umask 0022' for creating the directories on the way and
additionally add the missing '-m755' switch to the 'sudo'-variant.

Hmmm, we're mkdir etc. elsewhere as well. Shouldn't we just jet umask
globally sometime at the beginning of ptxdist?

well ... we could. Will you find a place to set the mask?

best regards

Andreas Bießmann

--
ptxdist mailing list
[email protected]

Reply via email to