Description of problem: 1.From an updated 1, click on upgrade, ask to download all before install. 2.Then select where to download, I choose my home downloads directory. 3. Click "next", it fails saying the owner of the directory is not good. End of the log : .... webkit-1.8.1-1.mga2.x86_64 webkit1.0-1.8.1-1.mga2.x86_64 (118 paquetages, 279 Mo) => ok(auto) Vidage du répertoire /var/cache/urpmi/partial et de /var/cache/urpmi/rpms propriétaire invalide pour le répertoire /home/jose/Téléchargements unlocking rpm database unlocking urpmi database
what said ll /home/jose/Té* ?
Depends on: (none) => 6114
*** Bug 6305 has been marked as a duplicate of this bug. ***
CC: (none) => marcello.anni
(In reply to comment #1) > what said ll /home/jose/Té* ? ll nothing, but ls -al : drwxr-xr-x 6 jose jose 12288 Jun 1 20:50 ./ drwxr-xr-x 158 jose jose 12288 Jun 3 20:13 ../ well this are the normal permissions for a users folder...
news?
Component: Installer => RPM Packages
This messages cames from urpmi, when it fails to write in that directory which should be possible according to what you posted
CC: (none) => thierry.vignaud
Unless UTF-8 got mangled somewhere.
The message is unclear bug the real reason is that urpmi we refuse to download in a directory not owned by root for security reason.
Summary: online upgrade fails if a directory is selected => online upgrade fails if a download directory not owned by root is selectedStatus: NEW => ASSIGNED
Fixed in git
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED
(In reply to comment #7) > The message is unclear bug the real reason is that urpmi we refuse to download > in a directory not owned by root for security reason. exaclty see https://bugs.mageia.org/show_bug.cgi?id=6114 can you backport the fix in mga2 at least for not have again the bug on the >mga3 upgrade ?
*** Bug 6114 has been marked as a duplicate of this bug. ***
CC: (none) => doktor5000
A backport is intended.
(In reply to comment #11) > A backport is intended. I can test it right now if it is backported to MGA1 : I will migrate a system to MGA2.
i'm too should be available to test it, thierry please let me know.
I have a (small) problem with this commit: it does not work if /var/cache/urpmi is a link e.g. to /home/var/cache/urpmi. In this case, the applet says: "Vous devez spécifier un répertoire appartenant à l'administrateur système" Of course, the all folders in the hierarchy /home/var/cache/urpmi belong to root, but the applet is looking at /var/cache/urpmi, and the following code (line 401 of mgaapplet): my $ok = -d $temp_dir && ! -l $temp_dir && ((stat($temp_dir))[4] == 0); prevents that the temporary dir be a link. Why are the links "forbidden" by the "! -l"? Should not we change this to: -l $temp_dir && $temp_dir = readlink($temp_dir); my $ok = -d $temp_dir && ((stat($temp_dir))[4] == 0); What do you think Thierry?
CC: (none) => mageia
Does it work at all even for normal folder in home for you? I now entered: Bug 28724 - mgaapplet upgrade: asks where to first download all packages but dont respect neither location nor "all first"
CC: (none) => fri