[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6780 [- Select a component]: Config fails with non-existent parent of DataDirectory
#6780: Config fails with non-existent parent of DataDirectory
----------------------------------+-----------------------------------------
Reporter: robgjansen | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Tor: 0.2.4.x-final
Component: - Select a component | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
When passing the "DataDirectory DIR" option, Tor fails during
configuration parsing/validation:
{{{
[tor-warn] check_private_dir() Error creating directory
./data/middledata/middle: No such file or directory
[tor-warn] Failed to parse/validate config: Couldn't access/create private
data directory "./data/middledata/middle"
[tor-err] tor_init() Reading config failed--see warnings above.
}}}
In this case data/ existed, but middledata/ (and therefore
middledata/middle/) did not. Does it make sense to have
check_private_dir() create the parent directories too, like 'mkdir -p'?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6780>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs