Craig,

I don't know if anyone else at MandrakeExpert is interested in this, so 
perhaps we ought to switch from the mailing list to private emails???


At 02:40 PM 5/23/02, you wrote:
>File created with UMASK 022:
>
>    4 -rw-r--r--    1 root     root           29 May 23 13:08 test
>
>File created with UMASK 026:
>
>    4 -rw-r-----    1 root     root           29 May 23 13:10 test2
>
>These are as one would expect the file perms to be when the respective
>UMASK values are set thusly.

I agree.  These are the expected values.

>And the results are the same as your results. As stated in my previous
>post, my "/etc/sysconfig/msec" is set with the same values as your file.
>Now we are left with the same delemma: why do you get the creation of
>files with 0644 perms in "/var/log/security"?

To make matters more interesting, I have two Mandrake 8.2 workstations 
(osage and walnut).  Both were upgraded from 8.1 (as I don't have 8.2 
CD's).  On walnut, there are no msec complaints - the files are all 
640.  The 644->640 messages are only on osage.

To try to learn more, I'm running the following script as a cronjob:

         rm -f  /tmp/tst.umask.out
         umask >> /tmp/tst.umask.out
         date  >> /tmp/tst.umask.out
         ls -l    /tmp/tst.umask.out

On both machines, I'm getting -rw-r--r-- (as expected).  Would you care to 
experiment and report?

David


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to