[vdr] Filesystem hierachy standard patch needs review.

Christopher Reimer c.reimer1993 at googlemail.com
Fri Apr 6 18:50:12 CEST 2012


I think there's one problem left.

Doesn't VDR try to create the "plugins" subdir?

VDR runs usually as user. Most distribution maintainer will give VDR write
permission for the cache dir and the config dir. But not for the resource
dir.

To prevent these permission problems I think it's neccessary to change the
Makefile from

install-dirs:
    @mkdir -p $(DESTDIR)$(VIDEODIR)
    @mkdir -p $(DESTDIR)$(CONFDIR)
    @mkdir -p $(DESTDIR)$(RESDIR)
    @mkdir -p $(DESTDIR)$(CACHEDIR)


to

install-dirs:
    @mkdir -p $(DESTDIR)$(VIDEODIR)
    @mkdir -p $(DESTDIR)$(CONFDIR)/plugins
    @mkdir -p $(DESTDIR)$(RESDIR)/plugins
    @mkdir -p $(DESTDIR)$(CACHEDIR)/plugins

or at least

install-dirs:
    @mkdir -p $(DESTDIR)$(VIDEODIR)
    @mkdir -p $(DESTDIR)$(CONFDIR)
    @mkdir -p $(DESTDIR)$(RESDIR)/plugins
    @mkdir -p $(DESTDIR)$(CACHEDIR)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20120406/7546c181/attachment.html>


More information about the vdr mailing list