- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am new to using the deployment server functionality within Splunk. Every time I try to add an app to a server class depending on the app I get the following error. This is a Linux system.
In handler 'applications': Failed to create dir=/opt/splunk/etc/deployment-apps/Splunk_TA_nix/local, needed for application=Splunk_TA_nix: Permission denied
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![esix_splunk esix_splunk](https://community.splunk.com/legacyfs/online/avatars/197958.jpg)
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Can you confirm you have admin user rights in the Splunk UI. Additionally, at the OS level, check you check the $splunk_home/etc/deployment-apps/ folder and check the permissions at the OS level.
Thanks
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![esix_splunk esix_splunk](https://community.splunk.com/legacyfs/online/avatars/197958.jpg)
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Can you confirm you have admin user rights in the Splunk UI. Additionally, at the OS level, check you check the $splunk_home/etc/deployment-apps/ folder and check the permissions at the OS level.
Thanks
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am logged in to Splunk using the admin account.
root@server [/opt/splunk/etc]# ls -l deployment-apps/
total 28
drwxr-xr-x 6 splunk splunk 4096 Mar 21 10:25 ./
drwxr-xr-x 16 splunk splunk 4096 Mar 14 16:29 ../
-r--r--r-- 1 splunk splunk 307 Feb 18 23:01 README
drwx--x--x 6 root root 4096 Mar 20 23:22 sendtoindexer/
drwx------ 11 root root 4096 Mar 20 23:39 Splunk_TA_nix/
drwx------ 14 root root 4096 Mar 21 10:25 Splunk_TA_windows/
drwx------ 2 splunk splunk 4096 Mar 2 09:04 users/
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
using chown -R splunk folder/ I have fixed the permissions and it is working now
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. I ran into this when manually adding an app at the command line as well.
I had to chown -R splunk:splunk on the new app
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![esix_splunk esix_splunk](https://community.splunk.com/legacyfs/online/avatars/197958.jpg)
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Becareful when creating the apps, make sure permissions are always set to the same as the user running splunk! Good catch.
![](/skins/images/FE4825B2128CA5F641629E007E333890/responsive_peak/images/icon_anonymous_message.png)