From 3432768df2f0093ad179abed98b18ed590f62101 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 13 Jun 2021 14:32:37 +0200 Subject: [PATCH] fix ownership2 --- pkg/de-p1st-ssh-key-yoda/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/de-p1st-ssh-key-yoda/PKGBUILD b/pkg/de-p1st-ssh-key-yoda/PKGBUILD index 824ea8f..a6939c0 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.2 +pkgver=0.0.3 pkgrel=1 pkgdesc="ssh authorized_keys for user yoda" arch=('any') @@ -18,6 +18,7 @@ sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsu package() { cd "${_reponame}/pkg/${pkgname}" + install -dm0700 -o1000 "$pkgdir"/home/yoda/ install -dm0700 -o1000 "$pkgdir"/home/yoda/.ssh/ install -m0600 -o1000 authorized_keys "$pkgdir"/home/yoda/.ssh/authorized_keys }