Bug 6114

Summary: urpmi doesn't want to download packages into a user-owned folder
Product: Mageia Reporter: Florian Hubold <doktor5000>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: Normal CC: doktor5000
Version: 1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: urpmi-6.40.3-1.mga1.src.rpm CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 3342, 6083    

Description Florian Hubold 2012-05-27 13:02:55 CEST
When trying to tell urpmi to only download packages without installing them, it seems it refuses to write them inside a folder which does not belong to root, which seems like a bug:

urpmi --auto-update --noclean --no-install --download-all /home/doktor5000/mga2_upgrade
[snip]
181MB of additional disk space will be used.
179MB of packages will be retrieved.
Proceed with the installation of the 331 packages? (Y/n) Y
[snip]
invalid owner for directory /home/doktor5000/mga2_upgrade


$ ls -la /home/doktor5000/mga2_upgrade
insgesamt 8
drwxr-xr-x  2 doktor5000 doktor5000 4096 Mai 27 12:20 ./
drwxr-xr-x 70 doktor5000 doktor5000 4096 Mai 27 12:45 ../

After doing a "chown root:root /home/doktor5000/mga2_upgrade" and relaunching urpmi it works without problems. And i think it should not matter which owner that folder should have, as urpmi writes there as root, so why only limit it to only write to folders belonging to root?
Comment 1 Manuel Hiebel 2012-05-27 13:48:35 CEST
that's can explain why mgaonline don't work :/

Blocks: (none) => 3342, 6083
Severity: normal => major

Comment 2 Florian Hubold 2012-08-12 10:49:34 CEST
Ping?

CC: (none) => doktor5000

Comment 3 Thierry Vignaud 2012-09-07 19:18:07 CEST

*** This bug has been marked as a duplicate of bug 6083 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE