FS#70820 - directorry permissions differ on /etc/openvpn/client/

Attached to Project: Arch Linux
Opened by Bert Visscher (MrVulcan) - Wednesday, 12 May 2021, 13:53 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 12 May 2021, 14:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This is what I got after the command: paru -S protonvpn

:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Repo (2) pkcs11-helper-1.27.0-1 openvpn-2.5.2-1
Aur (1) openvpn-protonvpn-20200207-1

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs...
(1/1) openvpn-protonvpn-20200207-1 [---------------------------------------------------------------------------------------------------------------]
/home/bert/.cache/paru/clone/openvpn-protonvpn/PKGBUILD
# Maintainer: emersion <contact@emersion.fr>

pkgname=openvpn-protonvpn
pkgver=20200207
pkgrel=1
pkgdesc="OpenVPN configuration files and helper for protonvpn.com"
arch=(any)
url="https://protonvpn.com/"
license=('MIT')
depends=('openvpn')
optdepends=()
makedepends=('unzip' 'coreutils')
provides=('protonvpn')
source=("${pkgname}-${pkgver}.zip::https://api.protonmail.ch/vpn/config?Category=Server&Platform=Linux&Protocol=udp&Tier=2")
noextract=(zip)
sha256sums=('SKIP') # ZIP is auto-generated, cannot use a checksum

prepare() {
test -d conf && rm -rf conf
mkdir conf
unzip -q "${pkgname}-${pkgver}.zip" -d conf
}

package() {
# Generate TCP config files
for f in $(find conf -type f -name '*udp1194.ovpn'); do
basename=$(echo $(basename $f) | sed -e s/udp1194/tcp443/)
sed -e 's/proto udp/proto tcp/' -E -e 's/remote ([^ ]+) 1194/remote \1 443/' $f > conf/$basename
done
for f in $(find conf -type f -name '*.ovpn'); do
id=$(echo $(basename $f) | cut -d '.' -f 1,4)
install -D -m 644 $f $pkgdir/etc/openvpn/client/protonvpn.${id}.conf
done
chmod 755 $pkgdir/etc/openvpn/client
}


:: Proceed with installation? [Y/n]:
[sudo] password for bert:
resolving dependencies...
looking for conflicting packages...

Packages (2) openvpn-2.5.2-1 pkcs11-helper-1.27.0-1

Total Download Size: 0.61 MiB
Total Installed Size: 1.75 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
pkcs11-helper-1.27.0-1-x86_64 69.7 KiB 6.80 MiB/s 00:00 [###########################################################] 100%
openvpn-2.5.2-1-x86_64 555.2 KiB 15.9 MiB/s 00:00 [###########################################################] 100%
(2/2) checking keys in keyring [###########################################################] 100%
(2/2) checking package integrity [###########################################################] 100%
(2/2) loading package files [###########################################################] 100%
(2/2) checking for file conflicts [###########################################################] 100%
(2/2) checking available disk space [###########################################################] 100%
:: Processing package changes...
(1/2) installing pkcs11-helper [###########################################################] 100%
(2/2) installing openvpn [###########################################################] 100%
Optional dependencies for openvpn
easy-rsa: easy CA and certificate handling
pam: authenticate via PAM [installed]
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group openvpn with gid 966.
Creating user openvpn (OpenVPN) with uid 966 and gid 966.
(2/4) Reloading system manager configuration...
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
fetching devel info...
==> Making package: openvpn-protonvpn 20200207-1 (Wed 12 May 2021 03:29:15 PM CEST)
==> Retrieving sources...
-> Downloading openvpn-protonvpn-20200207.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3567k 0 3567k 0 0 4880k 0 --:--:-- --:--:-- --:--:-- 4880k
==> Validating source files with sha256sums...
openvpn-protonvpn-20200207.zip ... Skipped
==> Making package: openvpn-protonvpn 20200207-1 (Wed 12 May 2021 03:29:16 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found openvpn-protonvpn-20200207.zip
==> Validating source files with sha256sums...
openvpn-protonvpn-20200207.zip ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting openvpn-protonvpn-20200207.zip with bsdtar
==> Starting prepare()...
==> Sources are ready.
openvpn-protonvpn-20200207-1: parsing pkg list...
==> Making package: openvpn-protonvpn 20200207-1 (Wed 12 May 2021 03:29:17 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "openvpn-protonvpn"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: openvpn-protonvpn 20200207-1 (Wed 12 May 2021 03:29:27 PM CEST)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) openvpn-protonvpn-20200207-1

Total Installed Size: 5.14 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [###########################################################] 100%
(1/1) checking package integrity [###########################################################] 100%
(1/1) loading package files [###########################################################] 100%
(1/1) checking for file conflicts [###########################################################] 100%
(1/1) checking available disk space [###########################################################] 100%
:: Processing package changes...
(1/1) installing openvpn-protonvpn [###########################################################] 100%
warning: directory permissions differ on /etc/openvpn/client/
filesystem: 750 package: 755

Additional info:
* package version(s)

20200207

* config and/or log files etc.

I don't know where/how to find what to put here.

* link to upstream bug report, if any

Steps to reproduce:

All I did was enter the above command.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 12 May 2021, 14:02 GMT
Reason for closing:  Not a bug
Additional comments about closing:  AUR packages are not supported

Loading...