From 6d34ec718c38d30c3f551e90912ab4bd8c04a0ee Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 13 Jun 2021 14:30:34 +0200 Subject: [PATCH] fix ownership --- pkg/de-p1st-ssh-key-yoda/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/de-p1st-ssh-key-yoda/PKGBUILD b/pkg/de-p1st-ssh-key-yoda/PKGBUILD index 0f56c65..824ea8f 100644 --- a/pkg/de-p1st-ssh-key-yoda/PKGBUILD +++ b/pkg/de-p1st-ssh-key-yoda/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=ssh-key-yoda _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.1 +pkgver=0.0.2 pkgrel=1 pkgdesc="ssh authorized_keys for user yoda" arch=('any') @@ -18,6 +18,6 @@ sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsu package() { cd "${_reponame}/pkg/${pkgname}" - install -dm0700 "$pkgdir"/home/yoda/.ssh/ - install -m0600 authorized_keys "$pkgdir"/home/yoda/.ssh/authorized_keys + install -dm0700 -o1000 "$pkgdir"/home/yoda/.ssh/ + install -m0600 -o1000 authorized_keys "$pkgdir"/home/yoda/.ssh/authorized_keys }