Hello list,

I'm a bit confused. I believe I have correctly applied the instructions in release(8), but I hit this error when running "make release" in paragraph 4, on unmodified sources:

# cd /usr/src/etc && make release
[…]
sh /usr/src/sys/conf/newvers.sh
touch: version: Permission denied
/usr/src/sys/conf/newvers.sh[84]: cannot create version: Permission denied
*** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC (Makefile:970 'vers.o')
*** Error 2 in . (Makefile:20 'bsd')
*** Error 2 in . (Makefile:274 'release-sets')
*** Error 2 in . (Makefile:267 'do-release')
*** Error 2 in /usr/src/etc (Makefile:251 'release')

However, I have set the directories and permissions as requested:

# ls -ld $RELEASEDIR
drwxr-xr-x 2 build daemon 512 Dec 31 06:51 /var/www/htdocs/pub/OpenBSD/6.2/amd64/
# ls -ld $DESTDIR
drwx------  13 build  wheel  512 Dec 31 06:58 /var/destdir/
#  mount | grep vnd1
/dev/vnd1a on /var/destdir type ffs (local, nodev, noexec, noperm)

Any idea on what I need to check?

Cheers,

--
Étienne



Reply via email to