"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotwebd: assets file permission
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 31 Aug 2022 10:55:55 +0200

Download raw body.

Thread
On Wed, Aug 31, 2022 at 10:52:06AM +0200, Omar Polo wrote:
> ok to remove the x bit from these?  I'd also like to drop it from the
> version in-tree (not shown in the diff, so here's `got status' to give
> an idea)

Yes please!

> M  gotwebd/Makefile
> m  gotwebd/files/htdocs/gotwebd/android-chrome-192x192.png
> m  gotwebd/files/htdocs/gotwebd/android-chrome-384x384.png
> m  gotwebd/files/htdocs/gotwebd/apple-touch-icon.png
> m  gotwebd/files/htdocs/gotwebd/browserconfig.xml
> m  gotwebd/files/htdocs/gotwebd/favicon-16x16.png
> m  gotwebd/files/htdocs/gotwebd/favicon-32x32.png
> m  gotwebd/files/htdocs/gotwebd/favicon.ico
> m  gotwebd/files/htdocs/gotwebd/got.png
> m  gotwebd/files/htdocs/gotwebd/got_large.png
> m  gotwebd/files/htdocs/gotwebd/gotweb.css
> m  gotwebd/files/htdocs/gotwebd/mstile-150x150.png
> m  gotwebd/files/htdocs/gotwebd/safari-pinned-tab.svg
> m  gotwebd/files/htdocs/gotwebd/site.webmanifest
> 
> diff /home/op/w/got
> commit - d4f2833aca3f60e7f09a1b9af1bde138e4f79bc4
> path + /home/op/w/got
> blob - 20032d2e4a12c2f228cca01ced963187b2238556
> file + gotwebd/Makefile
> --- gotwebd/Makefile
> +++ gotwebd/Makefile
> @@ -49,7 +49,7 @@ realinstall:
>  	if [ ! -d ${DESTDIR}${PROG_DIR}/. ]; then \
>  		${INSTALL} -d -o root -g daemon -m 755 ${DESTDIR}${PROG_DIR}; \
>  	fi
> -	${INSTALL} -c -o ${WWWUSR} -g ${WWWGRP} -m 0755 \
> +	${INSTALL} -c -o ${WWWUSR} -g ${WWWGRP} -m 0644 \
>  	    ${.CURDIR}/files/htdocs/${PROG}/* ${DESTDIR}${PROG_DIR}
>  
>  .include <bsd.prog.mk>
> 
>