TomyTurbos, please...
The point here.. If you have to use sudo to launch the application with desired options, fine! There's no problem with that at all. As I've said earlier I know nothing about lighttpd and at present have no need for it, but if I did I'm fairly sure I could figure out how to do it right without all the fuss just like most folks..
Most linux applications have similar usage and lighttpd is clearly not that difficult to figure out. Heck,
https://linux.die.net/man/8/lighttpd tells us almost everything we need to know barring a few TinyCore specifics.
This!
One of the mistakes was probably making a Dir as root when I should not have. That said, I am using spacefm to navigate and editing with leafpad. Neither of these are 'playing nice' with '/etc' or its subdirs. Troubleshooting that is beyond the scope of this thread, however.
This is infuriating, this attitude doesn't help us help you at all. I feel for you and everyone else new to TC, because I've been there; Understanding the file system and permissions is of utmost importance and should be your primary focus, not shrugging it off as" beyond this thread's scope", on the contrary IMO it's probably the only topic you should be discussing. The Core Concepts will help. Either way figure it out..
I'm obviously biased regarding spaceFM and while it's not 100% perfect IMO spaceFM is the best user friendly File Manager available for any operating system. I strongly recommend putting in the effort learning how to navigate the file system, manipulate files (incl. symlinks) and even basic file editing with VI from the terminal. Because there are often times especially managing a web/file server (which doesn't need a desktop gui) when this is the only way.. Used in combination, SpaceFM and the Terminal are extremely powerful tools and typically is all you'll ever need.
Neither of these are 'playing nice' with '/etc' or its subdirs
Really? please explain...
What command did you use, with what options?
What was the desired result?
What was the actual result?
What was the error message?
I demonstrated in my previous post how to create a file and edit it without every needing sudo.
You can use SpaceFM to navigate, then "F4" to open a terminal and enter a command.
Or simply open a terminal from the wbar and enter
mkdir /etc/mydir
touch /etc/mydir/myfile.conf
When you understand the file system you'll know that /usr/local/etc/lighttpd might not be directly edited even with sudo, meanwhile:
Use the editor of choice to copy and save the contents of /usr/local/etc/lighttpd to your new /etc/mydir/configFile (or /etc/configFile) and edit that file as necessary
SpaceFM with it's multi-Tab feature is great for this.
When the file permissions are such that a user is not given read permisions, then and only then try from a terminal
sudo editor /usr/local/etc/lighttpd
copy the contents to a file you can edit (eg: /etc/configFile), or SaveAs /etc/configFile
then launch the application with the -f option specifying where the new config file is
Don't forget to make a backup which includes the new config file before rebooting
There's no fuss, no having to find a workaround, just learn why you can't accomplish the task as expected.
Is there really anything else?
good luck