![]() |
mhonarc-users
|
Re: umask and mode of files created by mhonarc rw-------1999-05-15 17:10:17Well,
thanks to James Waldby and Michael Yount i can now have MHonArc create
html files with the exec bit set !
as they told me, i replaced
return $handle if open($handle, "> $file");
with
return $handle if sysopen($handle, "$file", O_RDWR|O_CREAT, 0777);
in subroutine file_open in mhfile.pl, and i now have my files created
with (0777 & ~umask) mode instead of (0666 & ~umask).
(maybe this could be included in a next release...)
again, thanks a lot,
Alexandre
--
|
|
||||||||||||||||