fix: chown recursive

This commit is contained in:
2026-06-11 12:27:51 +02:00
parent ea2071c84a
commit 88a602f039

View File

@@ -42,7 +42,7 @@ gpg --verify %{_tmppath}/nextcloud-latest.tar.bz2.asc %{_tmppath}/nextcloud-late
tar --extract --file=%{_tmppath}/nextcloud-latest.tar.bz2 --directory=%{_sharedstatedir} tar --extract --file=%{_tmppath}/nextcloud-latest.tar.bz2 --directory=%{_sharedstatedir}
# Change rights an owner # Change rights an owner
chown nextcloud:nextcloud %{_sharedstatedir}/nextcloud chown --recursive nextcloud:nextcloud %{_sharedstatedir}/nextcloud
chmod 700 %{_sharedstatedir}/nextcloud chmod 700 %{_sharedstatedir}/nextcloud
# Create data dir # Create data dir