[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#167422: files in /usr/share should be world-readable



Manoj Srivastava wrote:
> Santiago> What I don't understand is why those .log files have to be
> created.
>
> 	Because it helps me in debugging problems users may have with
>  my packages.

We usually turn off debugging when we are confident that things work as
they are expected to do. That's why we normally ship executables stripped.

>  Santiago> The example `install' script in debian-emacs-policy does
>  Santiago> not create it, so the most simple way to avoid these files
>  Santiago> being 600 would be to not create them at all.
>
> 	This is throwing the baby out with the bath water. The simple
>  solution is the ensure the files are readable.

Those files are normally not needed. Setting LOG=/dev/null and
redirecting output to $LOG, even if we don't care about the mode,
would be even more simple (and more consistent with our practice of
not bloating the system because of debug issues) than keeping those
files around with mode 644, and yet it would make debugging quite easy.




Reply to: