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

[Xen-devel] [PATCH OSSTEST] ts-logs-capture: ensure captured log files are readable.



Ian Campbell writes ("[PATCH OSSTEST] ts-logs-capture: ensure captured log 
files are readable."):
> At least /var/log/libvirt/libvirtd.log is 0600 on the target machine
> and this gets preserved in the captured logfile, eventually meaning
> that apache on the log server cannot read the file to serve it ("You
> don't have permission to access...").
> 
> There seems to be no harm in setting all log files to 0664, so do so.
...
> +             chmod(0664, "$stash/$llogfile") or die "chmod $stash/$llogfile 
> $!";

I think this is an unwarranted assumption about the umask, sadly.

Maybe you want  0666&~umask  ?

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.