#1459 PR merged
: Enhance and cleanup the DIRECTORIES_TO_CREATE functionality¶
Labels: enhancement
, cleanup
, fixed / solved / done
jsmeix opened issue at 2017-08-28 15:39:¶
First (only quickly tested) try to enhance and cleanup
the DIRECTORIES_TO_CREATE functionality.
As of today symbolic links are not yet supported
but (hopefully) tomorrow...
and
DIRECTORIES_TO_CREATE is not yet documented
perhaps (more hopefully) the day after tomorrow...
jsmeix commented at 2017-08-28 15:41:¶
FYI
how the new
var/lib/rear/recovery/directories_permissions_owner_group
looks on my SLES12 system:
/sys 555 root root /proc 555 root root /dev 755 root root /dev/shm 1777 root root /dev/pts 755 root root /run 755 root root /dev/mqueue 1777 root root /dev/hugepages 755 root root /run/user/0 700 root root /bin 755 root root /boot 755 root root /etc 755 root root /etc/opt 755 root root /etc/X11 755 root root /home 755 root root /lib 755 root root /lib64 755 root root /mnt 755 root root /opt 755 root root /root 700 root root /sbin 755 root root /srv 755 root root /tmp 1777 root root /usr 755 root root /usr/bin 755 root root /usr/include 755 root root /usr/lib 755 root root /usr/lib64 755 root root /usr/local 755 root root /usr/sbin 755 root root /usr/share 755 root root /usr/src 755 root root /usr/X11R6 755 root root /var 755 root root /var/cache 755 root root /var/lib 755 root root /var/lock -> /run/lock /var/log 755 root root /var/mail -> spool/mail /var/opt 755 root root /var/run -> /run /var/spool 755 root root /var/spool/mail 1777 root root /var/tmp 1777 root root
gozora commented at 2017-08-28 17:22:¶
"on behalf of rear/contributors" is there any way how can I approve
PR just on my behalf?
I don't like to speak for others ;-) ...
V.
jsmeix commented at 2017-08-29 13:45:¶
Now DIRECTORIES_TO_CREATE is described in default.conf
and - at least for me - things seem to work well.
The good thing is that with DIRECTORIES_TO_CREATE
any user can now explicitly specify directories and symlinks
that are missing in his particular environment
after his particular backup restore.
[Export of Github issue for rear/rear.]