dont require writing to the home directory
2 posters
Page 1 of 1
dont require writing to the home directory
I want to run this on my unraid machine in cli mode as nobody but it looks like the program wants to create a settings file in a home directory. My server does not have real users as its a file server to there is no home directories. I want to be able to have it just look in the directory the app is in or set where the settings file is in the command when run.
ChronoStriker1- Posts : 2
Join date : 2012-12-13
Re: dont require writing to the home directory
Are you running it from a shell?
Can you do something like the following?
The code just tries to use "~", and I am pretty sure that is based on the $HOME environment variable. Give it a shot, and post back.
Can you do something like the following?
- Code:
HOME=. comictagger.py --version
The code just tries to use "~", and I am pretty sure that is based on the $HOME environment variable. Give it a shot, and post back.
Re: dont require writing to the home directory
That indeed works, just not sure how i can incorporate that into my setup if I use comictagger as part of a script.
ChronoStriker1- Posts : 2
Join date : 2012-12-13
Re: dont require writing to the home directory
Just set HOME in your script, and you're all set.
Unless I'm missing something...
Unless I'm missing something...
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|