[poldek: Bug 29] New: --cachedir has no effect on commandline

btsadmin at pld-linux.org btsadmin at pld-linux.org
Thu Jun 21 22:09:45 CEST 2007


http://bugs.pld-linux.org/show_bug.cgi?id=29

           Summary: --cachedir has no effect on commandline
           Product: poldek
           Version: unspecified
          Platform: All
        OS/Version: PLD Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Core
        AssignedTo: mis at pld-linux.org
        ReportedBy: glen at pld-linux.org
   Estimated Hours: 0.0


User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.5; Linux 2.6.16.38-1;
X11; x86_64; en_US) KHTML/3.5.7 (like Gecko) PLD/2.0 (Ac)
Build Identifier: poldek-0.21-0.20070620.10.1.i686

# su -s /bin/bash - nobody
$ mkdir -p /tmp/{pndir,pndir-cache}
$ poldek --cachedir=/tmp/pndir-cache --mkidx=/tmp/pndir/ -s
/www/rpm/public/pld/dists/ac/supported/i686 --mt=pndir
error: //.poldek-cache: mkdir: Permission denied
Creating pndir index of /www/rpm/public/pld/dists/ac/supported/i686/
(type=dir)...
Loading [dir]/www/rpm/public/pld/dists/ac/supported/i686/...
200..400..600..798
/tmp/pndir/packages.ndir.gz: index not changed, not saved
$ echo $HOME
/





$ poldek --cachedir=/tmp/pndir-cache --mkidx=/tmp/pndir/ -s
/www/rpm/public/pld/dists/ac/supported/i686 --mt=pndir
error: //.poldek-cache: mkdir: Permission denied
Creating pndir index of /www/rpm/public/pld/dists/ac/supported/i686/
(type=dir)...
Loading [dir]/www/rpm/public/pld/dists/ac/supported/i686/...
200..400..600..798
/tmp/pndir/packages.ndir.gz: index not changed, not saved
$ echo $HOME
/
$


note it attempts to write to ~/.poldek-cache

Reproducible: Always


-- 
Configure bugmail: http://bugs.pld-linux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the pld-bugs mailing list