fix: chown recursive
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user