Getting Data In
Highlighted

Upgrading forwarder on AIX, how to handle permission errors?

New Member

Upgrading forwarder on AIX, how to handle permission errors? These are not file ownership errors.
All files and directories are owned by DBAuser .

limsddbr01pf:/5995/scratch/splunk $ whoami
DBAuser
limsddbr01pf:/5995/scratch/splunk $ tar -xvpf splunkforwarder-6.1.3-220630-AIX-powerpc
x splunkforwarder
x splunkforwarder/etc
x splunkforwarder/openssl
x splunkforwarder/share
x splunkforwarder/lib
tar: 0511-188 Cannot create splunkforwarder/README-splunk.txt: The file access permissions do not allow the specified action.
x splunkforwarder/bin
x splunkforwarder/include
x splunkforwarder/splunkforwarder-6.1.3-220630-AIX-powerpc-manifest, 15409 bytes, 31 media blocks.
tar: 0511-188 Cannot create splunkforwarder/copyright.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/license-eula.txt: The file access permissions do not allow the specified action.
x splunkforwarder/ftr, 0 bytes, 0 media blocks.
tar: 0511-188 Cannot create splunkforwarder/include/copyright.txt: The file access permissions do not allow the specified action.
x splunkforwarder/bin/scripts
tar: 0511-188 Cannot create splunkforwarder/bin/splunkmon: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/genSignedServerCert.sh: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/setSplunkEnv: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/copyright.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/genWebCert.sh: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/openssl: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/genRootCA.sh: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/btprobe: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/bzip2: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/classify: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/splunkd: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/splunk: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/btool: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/bin/scripts/readme.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libexslt.a: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libarchive.a: The file access permissions do not allow the specified action.
x splunkforwarder/lib/engines
tar: 0511-188 Cannot create splunkforwarder/lib/libcrypto.so.1.0.0: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libz.so.1.2.8: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libxml2.a: The file access permissions do not allow the specified action.
tar: splunkforwarder/lib/libcrypto.so is linked to splunkforwarder/lib/libcrypto.so.1.0.0.
tar: 0511-188 Cannot create splunkforwarder/lib/copyright.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libpcre.a: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libxslt.a: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libsqlite3.a: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libssl.so.1.0.0: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/libbz2.a: The file access permissions do not allow the specified action.
tar: splunkforwarder/lib/libssl.so is linked to splunkforwarder/lib/libssl.so.1.0.0.
tar: splunkforwarder/lib/libz.so is linked to splunkforwarder/lib/libz.so.1.2.8.
tar: splunkforwarder/lib/libz.so.1 is linked to splunkforwarder/lib/libz.so.1.2.8.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libgost.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/lib4758cca.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libpadlock.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libaep.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libnuron.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libatalla.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libgmp.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libcswift.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libsureware.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libcapi.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libchil.so: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/lib/engines/libubsec.so: The file access permissions do not allow the specified action.
x splunkforwarder/share/splunk
tar: 0511-188 Cannot create splunkforwarder/share/copyright.txt: The file access permissions do not allow the specified action.
x splunkforwarder/share/splunk/3rdparty
x splunkforwarder/share/splunk/cli-command-completion.sh, 8923 bytes, 18 media blocks.
tar: 0511-188 Cannot create splunkforwarder/share/splunk/zoneinfo.tzpack: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/share/splunk/3rdparty/Copyright-for-libxslt-1.1.28.txt: The file access permissions do not allow the specified action.
x splunkforwarder/share/splunk/3rdparty/Copyright-for-openssl-1.0.1h.txt, 6279 bytes, 13 media blocks.
tar: 0511-188 Cannot create splunkforwarder/share/splunk/3rdparty/Copyright-for-pcre-8.33.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/share/splunk/3rdparty/Copyright-for-libxml2-2.9.1.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/share/splunk/3rdparty/Copyright-for-libarchive-3.1.2.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/share/splunk/3rdparty/Copyright-for-openldap-2.4.35.txt: The file access permissions do not allow the specified action.
x splunkforwarder/openssl/misc
tar: 0511-188 Cannot create splunkforwarder/openssl/copyright.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/openssl.cnf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/misc/CA.sh: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/misc/cinfo: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/misc/tsget: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/misc/CA.pl: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/misc/c
hash: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/misc/cname: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/openssl/misc/c
issuer: The file access permissions do not allow the specified action.
x splunkforwarder/etc/system
x splunkforwarder/etc/apps
x splunkforwarder/etc/modules
tar: 0511-188 Cannot create splunkforwarder/etc/splunk.version: The file access permissions do not allow the specified action.
x splunkforwarder/etc/deployment-apps
tar: 0511-188 Cannot create splunkforwarder/etc/prettyprint.xsl: The file access permissions do not allow the specified action.
x splunkforwarder/etc/log.cfg, 11849 bytes, 24 media blocks.
x splunkforwarder/etc/auth
tar: 0511-188 Cannot create splunkforwarder/etc/log-cmdline.cfg: The file access permissions do not allow the specified action.
x splunkforwarder/etc/myinstall
x splunkforwarder/etc/splunk-launch.conf.default, 771 bytes, 2 media blocks.
tar: 0511-188 Cannot create splunkforwarder/etc/datetime.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/log-debug.cfg: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/log-btool.cfg: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/log-cmdline-debug.cfg: The file access permissions do not allow the specified action.
x splunkforwarder/etc/init.d
tar: 0511-188 Cannot create splunkforwarder/etc/log-btool-debug.cfg: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/copyright.txt: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/log-utility.cfg: The file access permissions do not allow the specified action.
x splunkforwarder/etc/disabled-apps
tar: 0511-188 Cannot create splunkforwarder/etc/disabled-apps/README: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/init.d/README: The file access permissions do not allow the specified action.
x splunkforwarder/etc/myinstall/splunkd.xml.cfg-default, 2564 bytes, 6 media blocks.
x splunkforwarder/etc/auth/splunkweb
x splunkforwarder/etc/auth/ca.pem.default, 1828 bytes, 4 media blocks.
x splunkforwarder/etc/auth/cacert.pem.default, 912 bytes, 2 media blocks.
tar: 0511-188 Cannot create splunkforwarder/etc/auth/splunkweb/README: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/deployment-apps/README: The file access permissions do not allow the specified action.
x splunkforwarder/etc/modules/input
x splunkforwarder/etc/modules/parsing
tar: 0511-188 Cannot create splunkforwarder/etc/modules/parsing/config.xml: The file access permissions do not allow the specified action.
x splunkforwarder/etc/modules/input/TCP
x splunkforwarder/etc/modules/input/tailfile
x splunkforwarder/etc/modules/input/fschangemanager
x splunkforwarder/etc/modules/input/exec
x splunkforwarder/etc/modules/input/UDP
x splunkforwarder/etc/modules/input/FIFO
x splunkforwarder/etc/modules/input/structuredparsing
tar: 0511-188 Cannot create splunkforwarder/etc/modules/input/structuredparsing/config.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/modules/input/FIFO/config.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/modules/input/UDP/config.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/modules/input/exec/config.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/modules/input/fschangemanager/config.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/modules/input/tailfile/config.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/modules/input/TCP/config.xml: The file access permissions do not allow the specified action.
x splunkforwarder/etc/apps/SplunkUniversalForwarder
x splunkforwarder/etc/apps/introspectiongeneratoraddon
x splunkforwarder/etc/apps/search
x splunkforwarder/etc/apps/learned
x splunkforwarder/etc/apps/learned/default
x splunkforwarder/etc/apps/learned/metadata
tar: 0511-188 Cannot create splunkforwarder/etc/apps/learned/metadata/default.meta: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/learned/default/README: The file access permissions do not allow the specified action.
x splunkforwarder/etc/apps/search/lookups
x splunkforwarder/etc/apps/search/default
x splunkforwarder/etc/apps/search/metadata
tar: 0511-188 Cannot create splunkforwarder/etc/apps/search/metadata/default.meta: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/search/default/props.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/search/default/app.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/search/default/restmap.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/search/lookups/README: The file access permissions do not allow the specified action.
x splunkforwarder/etc/apps/introspectiongeneratoraddon/default
x splunkforwarder/etc/apps/introspectiongeneratoraddon/bin
x splunkforwarder/etc/apps/introspectiongeneratoraddon/bin/collector.path, 51 bytes, 1 media blocks.
x splunkforwarder/etc/apps/introspectiongeneratoraddon/default/inputs.conf, 180 bytes, 1 media blocks.
x splunkforwarder/etc/apps/introspectiongeneratoraddon/default/README, 767 bytes, 2 media blocks.
x splunkforwarder/etc/apps/introspectiongeneratoraddon/default/server.conf, 230 bytes, 1 media blocks.
x splunkforwarder/etc/apps/introspectiongeneratoraddon/default/app.conf, 216 bytes, 1 media blocks.
x splunkforwarder/etc/apps/SplunkUniversalForwarder/default
x splunkforwarder/etc/apps/SplunkUniversalForwarder/metadata
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/metadata/default.meta: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/inputs.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/outputs.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/limits.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/app.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/default-mode.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/props.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/server.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/README: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/apps/SplunkUniversalForwarder/default/web.conf: The file access permissions do not allow the specified action.
x splunkforwarder/etc/system/README
x splunkforwarder/etc/system/default
x splunkforwarder/etc/system/static
x splunkforwarder/etc/system/local
x splunkforwarder/etc/system/metadata
tar: 0511-188 Cannot create splunkforwarder/etc/system/metadata/default.meta: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/local/README: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/static/splunkrccmds.xml: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/static/atom.xsl: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/server.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/sourcetypes.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/web.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/outputs.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/restmap.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/literals.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/app.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/conf.conf: The file access permissions do not allow the specified action.
x splunkforwarder/etc/system/default/authentication.conf, 669 bytes, 2 media blocks.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/authorize.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/limits.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/audit.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/multikv.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/alert
actions.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/procmon-filters.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/props.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/default-mode.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/inputs.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/default/source-classifier.conf: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/user-seed.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/procmon-filters.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/limits.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/instance.cfg.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/sourcetypes.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/procmon-filters.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/source-classifier.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/audit.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/props.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/splunk-launch.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/restmap.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/authorize.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/authentication.conf.example: The file access permissions do not allow the specified action.
x splunkforwarder/etc/system/README/datatypesbnf.conf.spec, 471 bytes, 1 media blocks.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/inputs.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/authorize.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/web.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/source-classifier.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/server.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/sourcetypes.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/default.meta.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/web.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/serverclass.seed.xml.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/outputs.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/alertactions.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/server.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/instance.cfg.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/restmap.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/conf
checker.rules: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/alert_actions.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/inputs.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/audit.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/user-seed.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/authentication.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/outputs.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/props.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/default-mode.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/default.meta.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/wmi.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/literals.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/limits.conf.example: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/user-prefs.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/literals.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/wmi.conf.spec: The file access permissions do not allow the specified action.
tar: 0511-188 Cannot create splunkforwarder/etc/system/README/default-mode.conf.examples: The file access permissions do not allow the specified action.

0 Karma
Highlighted

Re: Upgrading forwarder on AIX, how to handle permission errors?

Path Finder

Hi,

What happens if you try and extract the archive (somewhere else) without the -p flag. I would normally ony use -xvf.

I see the -p tries to restore the original setuid etc, but since you are upgrading (and assuming therefore overwriting), i'm not clear whether -p is attempting to write UID's to your system that do not exist, or whether its trying to apply the same as currently exist within your installation.

But - You have a permissions issue, so I personally would try extracting elsewhere without the -p flag, to try and narrow down the issue. Following that I would fully understand the implications of -p and then take one file (from my extracted (elsewhere) set, and compare that with why I couldnt restore over the top of it's pre-existing file.

Hope this helps in some way...
Regards
Derek

0 Karma
Highlighted

Re: Upgrading forwarder on AIX, how to handle permission errors?

Path Finder

I stumbled across this post while having the same issue trying to upgrade a splunk 6.0 forwarder to 6.1.1 on AIX.

There are several files in the forwarder that have read only or read and execute permissions only, tar is unable to overwrite these files.

tar -xf splunkforwarder-6.1.1-207789-AIX-powerpc.tar
....
tar: can't create splunkforwarder/etc/system/README/wmi.conf.spec: Permission denied

ls -l splunkforwarder/etc/system/README/wmi.conf.spec
-r--------    1 user group        6213 May  9 08:29 splunkforwarder/etc/system/README/wmi.conf.spec

My solution was to just chmod the existing files so that tar can overwrite them, but also use the -p option so that the file mode is preserved from the tar archive.

chmod -R 700 splunkforwarder
ls -l splunkforwarder/etc/system/README/wmi.conf.spec
-rwx------    1 user group        6213 May  9 08:29 splunkforwarder/etc/system/README/wmi.conf.spec
tar -xpf splunkforwarder-6.1.1-207789-AIX-powerpc.tar
ls -l splunkforwarder/etc/system/README/wmi.conf.spec
-r--r--r--    1 user group        6213 May  9 08:29 splunkforwarder/etc/system/README/wmi.conf.spec

The result is that any files overwritten by the tar command have the permissions that they were archived with

Highlighted

Re: Upgrading forwarder on AIX, how to handle permission errors?

Path Finder

Another thought on this. To just amend the permissions of the files that exist in the upgrade tar to make sure no other file permissions get changed you can just do this:

tar -tvf splunkforwarder-6.1.1-207789-AIX-powerpc.tar | awk '{print $9}' | xargs chmod 700
tar -xf splunkforwarder-6.1.1-207789-AIX-powerpc.tar

Now any files that will not be replaced by the tar maintain their existing permissions.

0 Karma