Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michele Carpene
Irods Resource Plugin S3
Commits
3d622bbe
Commit
3d622bbe
authored
Feb 03, 2016
by
Ben Keller
Browse files
Change file ownership in postinstall
parent
a99ad197
Changes
1
Hide whitespace changes
Inline
Side-by-side
packaging/irods_resource_plugin_s3.list.template
View file @
3d622bbe
...
...
@@ -17,6 +17,10 @@
%requires curl
%endif
# =-=-=-=-=-=-=-
# variables for configuring the install
# =-=-=-=-=-=-=-
$OS_IRODS_HOME_DIR=/var/lib/irods
# =-=-=-=-=-=-=-
# preinstall
...
...
@@ -31,16 +35,16 @@ if [ "$$DETECTED_VERSION" != "$$REQUIRED_VERSION" ] ; then
fi
END_PREINSTALL
%postinstall << END_POSTINSTALL
. /etc/irods/service_account.config 2> /dev/null
chown $$IRODS_SERVICE_ACCOUNT_NAME:$$IRODS_SERVICE_GROUP_NAME ${OS_IRODS_HOME_DIR}/plugins/resources/libs3.so
chown $$IRODS_SERVICE_ACCOUNT_NAME:$$IRODS_SERVICE_GROUP_NAME ${OS_IRODS_HOME_DIR}/tests/pydevtest/test_irods_resource_plugin_s3.py
END_POSTINSTALL
# =-=-=-=-=-=-=-
# variables for configuring the install
# =-=-=-=-=-=-=-
$OS_IRODS_ACCT=irods
$OS_IRODS_HOME_DIR=/var/lib/irods
# =-=-=-=-=-=-=-
# full file listing
# =-=-=-=-=-=-=-
f 644
$OS_IRODS_ACCT $OS_IRODS_ACCT
${OS_IRODS_HOME_DIR}/plugins/resources/libs3.so ./libs3.so
f 644
$OS_IRODS_ACCT $OS_IRODS_ACCT
${OS_IRODS_HOME_DIR}/tests/pydevtest/test_irods_resource_plugin_s3.py ./packaging/test_irods_resource_plugin_s3.py
f 644
root root
${OS_IRODS_HOME_DIR}/plugins/resources/libs3.so ./libs3.so
f 644
root root
${OS_IRODS_HOME_DIR}/tests/pydevtest/test_irods_resource_plugin_s3.py ./packaging/test_irods_resource_plugin_s3.py
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment