different permission for single file

Jacek Konieczny jajcus at bnet.pl
Sat Jan 15 16:04:09 CET 2005


On Sat, Jan 15, 2005 at 04:40:30PM +0200, Elan Ruusamäe wrote:
> On Saturday 15 January 2005 12:30, Jarosław Kamper wrote:
> > Dnia piątek, 14 stycznia 2005 15:48, Elan Ruusamäe napisał:
> > > consider i had in package %file list
> > > %{_htmldir}/*.php
> > >
> > > now i need one file, config to have separate permission
> > > %attr(640,http,root) %config(noreplace) %{_htmldir}/config.inc.php
> >
> >             ^^^^^^^^^ <- root:http
> web user should be able to write it, so that's why it's http:root

Does the web user really need the ability to change permisions of that
file? I guess not. Then it should be 660 root:http.

Greets,
	Jacek




More information about the pld-devel-en mailing list