[poldek: Bug 27] New: umask not respected when creating (pndir) indexes

btsadmin at pld-linux.org btsadmin at pld-linux.org
Thu Jun 21 12:22:10 CEST 2007


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

           Summary: umask not respected when creating (pndir) indexes
           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

# (rm -rf packages.*; umask 000; poldek --mkidx -s . --mt=pndir; ls -l
packages.*)
Creating pndir index of /www/rpm/public/okas/./ (type=dir)...
Loading [dir]/www/rpm/public/okas/./...
warn: /www/rpm/public/okas/./: removed 1 duplicate package
Writing /www/rpm/public/okas/./packages.ndir.gz...
-rw-r--r--  1 root rpm  521 Jun 21 13:20 packages.ndir.dscr.gz
-rw-r--r--  1 root rpm 1480 Jun 21 13:20 packages.ndir.gz
-rw-rw-rw-  1 root rpm   40 Jun 21 13:20 packages.ndir.md

# (rm -rf packages.*; umask 777; poldek --mkidx -s . --mt=pndir; ls -l
packages.*)
Creating pndir index of /www/rpm/public/okas/./ (type=dir)...
Loading [dir]/www/rpm/public/okas/./...
warn: /www/rpm/public/okas/./: removed 1 duplicate package
Writing /www/rpm/public/okas/./packages.ndir.gz...
----------  1 root rpm  521 Jun 21 13:20 packages.ndir.dscr.gz
----------  1 root rpm 1480 Jun 21 13:20 packages.ndir.gz
----------  1 root rpm   40 Jun 21 13:20 packages.ndir.md


Reproducible: Always

Steps to Reproduce:
1.
2.
3.


Expected Results:  
i expect it to respect umask, or at least always set same permissions for all
files. but as needs vary, it should only respect umask (some want 644 some want
664 permissons)


-- 
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