[systemd-devel] InaccessibleDirectories and non-existing dirs

Lennart Poettering lennart at poettering.net
Mon Feb 4 11:46:53 PST 2013


On Wed, 30.01.13 17:02, Reindl Harald (h.reindl at thelounge.net) wrote:

> i would propose here "InaccessibleDirectories=-/data/backups"
> the same way as for EnvFiles, this even works in context not failing
> to start the service BUT if the folder exists it's not locked
> 
> HTTP 403:
> InaccessibleDirectories=/Volumes/dune/www-servers
> 
> HTTP 200:
> InaccessibleDirectories=-/Volumes/dune/www-servers

This sounds like a very good idea, indeed.

I have now added this to the TODO list. No need to file a bug.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list