Fix the way system files are handled at surf startup.
authorQuentin Rameau <quinq@fifth.space>
Tue, 13 Oct 2015 19:39:01 +0000 (21:39 +0200)
committerChristoph Lohmann <20h@r-36.net>
Tue, 13 Oct 2015 19:45:14 +0000 (21:45 +0200)
1. Do not chmod existing directories.
2. Fix the handling of tilde expansion in paths, don't expand ~foo to
   $HOME/foo but to foo's home directory.
3. Separate the creation of files and directories. We don't have to
   worry anymore about pathnames having to end with a '/' to be correctly
   handled.

Signed-off-by: Christoph Lohmann <20h@r-36.net>

No differences found