All Questions
Tagged with configuration files
23
questions
0
votes
1
answer
24
views
Add files only one program can see (without root) [duplicate]
I have a program with hardcoded config files in /etc, which I do not have write permission to, because I have no root (except I can use pacman in sudo). I need a way for the program to see a file ...
1
vote
0
answers
65
views
Best practices for file and directory permissions in a multi-user environment
This is my situation in an experimental environment.
A php script is creating files in a target directory when it's executed from Apache via web request.
It runs as www-data user, the created files ...
5
votes
3
answers
1k
views
Manpage for configuration file
I often find myself in the situation where I need to look up the syntax and logic for a configuration file of some program on my computer. While I can do man mosquitto, this will not necessarily yield ...
2
votes
1
answer
730
views
Standardized directory for user-specific app data
I know all applications store user-specific data in the $HOME directory, but it seems that (some) more "modern"/recent applications has a preference for stuffing their settings and ...
1
vote
2
answers
288
views
ranger chain commands in config
I am using ranger as my terminal file manager and now that I understand the basics, I wanted to get a bit deeper into customizing the rc for my purposes. One thing I like to do is to map a command to ...
0
votes
1
answer
332
views
Working with files in Ansible inventory
This feels like it should be a really easy thing to do, but I cannot figure it out.
I am aware of several pieces of documentation outlining where Ansible is looking for files by default and most of ...
0
votes
1
answer
159
views
show "detailed type" instead of "type" as default in nemo
I would like to differ between SVG, JPEG, PNG images in a folder. It is anoying to always change it, so I want to set "detailed type" instead of "type" as default.
1
vote
0
answers
105
views
How to access a variable in a file from a Linux Service file
I have a Red hat 7 Service file(.service) and i need to access some data in a file, i used to access data from a pom file but now i have to access a conf file, a file that's key and value.
Example: ...
1
vote
3
answers
67
views
Relocate bash runtime files into arbitrary directory
How do you relocate bash runtime files (~/.bash_history, ~/.bashrc, etc.) to a defined directory (such as ~/.config/bash, ~/.cache/bashhistory, etc.)?
0
votes
1
answer
120
views
Sync 1 config file amongst multiple directories
Lets say I have 4 java instances running on my linux system, in separate directories, all of which have a config file named config.yml. I want to be able to edit 1 config.yml and have it copy across ...
0
votes
1
answer
633
views
CentOS 7 missing SU activity files
I'm trying to read the /var/adm/sulog file to see what users have attempted to login with su permissions. I'm able to login as su but neither /var/adm/sulog nor /etc/default/su exist in my file ...
2
votes
1
answer
1k
views
How can I overwrite a file and run a command if the file actually changes?
Essentially I want to run a command and capture its output to a file:
some_cmd > /etc/myservice.conf
and I want to run a different command only if that results in the contents changing:
...
1
vote
1
answer
117
views
What do you call the supervisord and php-fpm et. al. config format?
Both php-fpm and supervisord use a config format that looks like this:
[category]
settings = value
some_other_setting = value
Is there a name for this format?
1
vote
1
answer
1k
views
Openbox Syntax Error in ~/.config/openbox/rc.xml [closed]
I added a new keybinding to my rc.xml and now I get this message every time I log into Openbox. Also, the right-click menu does not work anymore either.
Now I would have fixed the error myself, but ...
2
votes
3
answers
1k
views
Find command associated with configuration file
Let's say I didn't know what ~/.bashrc is for. Is there a command that would tell me what the file is/does? Other than googling for an answer. The man pages have a files section, maybe there is a way ...