different permission for single file
Elan Ruusamäe
glen at delfi.ee
Sat Jan 15 15:40:30 CET 2005
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
altho have look at he latest version in cvs, i created -setup subpackage which
will revert the permissions when installed and revert again when uninstalled.
> > what's the best way to do it?
--
glen
More information about the pld-devel-en
mailing list