Hi
This is a question for those of us that develop cobbler/run it directly from git. Why is
this needed
in restorestate? After the installation all file permissions and ownerships should be
correct. And if i
understand that correctly those files where note saved/restored.
if [ -n "`getent passwd apache`" ] ; then \
chown -R apache $(DESTDIR)/var/www/cobbler; \
else \
chown -R www-data $(DESTDIR)/usr/share/cobbler/web/cobbler_web; \
fi
if [ -d $(DESTDIR)/var/www/cobbler ] ; then \
chmod -R +x $(DESTDIR)/var/www/cobbler/web; \
chmod -R +x $(DESTDIR)/var/www/cobbler/svc; \
fi
if [ -d $(DESTDIR)/usr/share/cobbler/web ] ; then \
chmod -R +x $(DESTDIR)/usr/share/cobbler/web/cobbler_web; \
chmod -R +x $(DESTDIR)/srv/www/cobbler/svc; \
fi
Does anyone know the reason?
If the file permissions are not correct after make install then we should fix that.
Mike
--
Michael Jansen
http://michael-jansen.biz