diff options
author | Grey Christoforo | 2016-03-15 11:42:34 +0000 |
---|---|---|
committer | Grey Christoforo | 2016-03-15 11:42:34 +0000 |
commit | 8ac50bfebadd34ea060a8ab122d4a8bd460fd3d5 (patch) | |
tree | 13591476f01df280ebb4e1b16c4e248e5ea73b87 | |
parent | c08ca6ddf9c3b65f66a5a0ce5052dab2a4a0c3e6 (diff) | |
download | aur-8ac50bfebadd34ea060a8ab122d4a8bd460fd3d5.tar.gz |
fix permissions for .user.ini
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | owncloud-archive.install | 5 |
3 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Mon Mar 14 22:31:27 UTC 2016 +# Tue Mar 15 11:42:30 UTC 2016 pkgbase = owncloud-archive pkgdesc = ownCloud server release, installed from the official .tar.bz2 archive pkgver = 9.0.0 @@ -42,7 +42,7 @@ package() { cp -a owncloud "${pkgdir}/usr/share/webapps/." install -m644 -D ${srcdir}/apache.example.conf -t ${pkgdir}/etc/webapps/owncloud - install -m755 -D ${srcdir}/owncloud/occ -t ${pkgdir}/usr/bin + ln -s /usr/share/webapps/owncloud/occ ${pkgdir}/usr/bin/occ } # vim:set ts=2 sw=2 et: diff --git a/owncloud-archive.install b/owncloud-archive.install index 0dedf944f5f5..c918a6c9bd5e 100644 --- a/owncloud-archive.install +++ b/owncloud-archive.install @@ -24,16 +24,17 @@ fix_perms () { chown -R ${htuser}:${htgroup} ${ocpath}/assets/ chmod +x ${ocpath}/occ + chmod g+w ${ocpath}/.user.ini printf "chmod/chown .htaccess\n" if [ -f ${ocpath}/.htaccess ] then - chmod 0644 ${ocpath}/.htaccess + chmod 0664 ${ocpath}/.htaccess chown ${rootuser}:${htgroup} ${ocpath}/.htaccess fi if [ -f ${ocpath}/data/.htaccess ] then - chmod 0644 ${ocpath}/data/.htaccess + chmod 0664 ${ocpath}/data/.htaccess chown ${rootuser}:${htgroup} ${ocpath}/data/.htaccess fi } |