Allow staging as a regular user

This commit is contained in:
Antoine Brodin 2014-09-12 16:45:35 +00:00
parent dbf29506fd
commit 8ace691cb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368045

View file

@ -88,7 +88,6 @@ do-install:
@${MKDIR} '${STAGEDIR}${WWWDIR}'
@cd '${WRKSRC}' && ${COPYTREE_SHARE} . '${STAGEDIR}${WWWDIR}'
.for DIR in ${WRITABLEDIRS}
@${CHOWN} -R '${WWWOWN}:${WWWGRP}' '${STAGEDIR}${WWWDIR}/${DIR}'
@${FIND} '${STAGEDIR}${WWWDIR}/${DIR}' -type d -print0 | ${XARGS} -0 ${CHMOD} u=rwx,go=rx
@${FIND} '${STAGEDIR}${WWWDIR}/${DIR}' -type f -print0 | ${XARGS} -0 ${CHMOD} u=rw,go=r
.endfor