Bug 6114 - urpmi doesn't want to download packages into a user-owned folder
Summary: urpmi doesn't want to download packages into a user-owned folder
Status: RESOLVED DUPLICATE of bug 6083
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3342 6083
  Show dependency treegraph
 
Reported: 2012-05-27 13:02 CEST by Florian Hubold
Modified: 2012-09-07 19:18 CEST (History)
1 user (show)

See Also:
Source RPM: urpmi-6.40.3-1.mga1.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.