| Summary: | Some folders are created wrongly with root permissions. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jiang Yike <webmaster> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Jiang Yike
2011-03-01 00:33:07 CET
Installing an rpm package doesn't touch the user /home/.* at all. Those '.' folders are created in the user home by the application itself when launched, so ~/.mozilla is created when you *run* firefox not when you install it. Also note that firefox/xulrunner packages don't create ~/.mozilla/plugins, and firefox doesn't create it when you run it for the first time AFAIK, you have to create it manually. Now, I might have understood wrongly, so what do you mean by: "If using "su" command to install an application in a user account," ? Keywords:
(none) =>
NEEDINFO (In reply to comment #1) > Installing an rpm package doesn't touch the user /home/.* at all. Those '.' > folders are created in the user home by the application itself when launched, > so ~/.mozilla is created when you *run* firefox not when you install it. > > Also note that firefox/xulrunner packages don't create ~/.mozilla/plugins, and > firefox doesn't create it when you run it for the first time AFAIK, you have to > create it manually. > > Now, I might have understood wrongly, so what do you mean by: > "If using "su" command to install an application in a user account," > > ? Sorry for unclear words. It means that a user account use su to get root permissions and install an application. In the folder .mozilla/plugins, I found that a file "nppdf.so" is created with root permissions. It is a plugin of Adobe Reader, so I understand that during the installation of Adobe Reader they are wrongly created with root permissions, including the file ./local/share/applications/defaults.list and the folders .mozilla/plugins and .config/menus/applications-merged. Do you mean that you told the Adobe installer to install to a location in your home directory rather than the default /opt. If that is what you wanted, then I think that you should have run the installer as your normal user and not as root. (When I installed, as root, to the default /opt, the file nppdf.so was correctly added to /usr/lib/mozilla/plugins.) (In reply to comment #3) > Do you mean that you told the Adobe installer to install to a location in your > home directory rather than the default /opt. If that is what you wanted, then I > think that you should have run the installer as your normal user and not as > root. > > (When I installed, as root, to the default /opt, the file nppdf.so was > correctly added to /usr/lib/mozilla/plugins.) No, I want to install Adobe Reader for all users. It has been installed to /opt, but it created nppdf.so to .mozilla/plugins of my home directory. Then the problem seems to be with the adobe installer only on 64bit systems, since it works perfectly on 32bit. I don't run any 64bit system, and so can't investigate any further. Perhaps someone else has an explanation. I think that you may need some 32bit libraries (adobe reader is a 32bit application). You may want to try the rpm file available from the Adobe download site. (Select "Different language or operating system"). Installing the rpm may result in any necessary 32bit packages being installed, provided you have enabled the 32bit repo's. (Just a guess on my part.) (In reply to comment #6) > I think that you may need some 32bit libraries (adobe reader is a 32bit > application). You may want to try the rpm file available from the Adobe > download site. (Select "Different language or operating system"). Installing > the rpm may result in any necessary 32bit packages being installed, provided > you have enabled the 32bit repo's. (Just a guess on my part.) The version I installed is the rpm package of Adobe Reader 8.1.7 Chinese version.(Latest versions have no rpm packages for Chinese language) It only has a 32bit edition for Linux and it will automatically install 32bit libraries during its installation. We're gonna have to close this bug, we don't make the adobe rpm (you should file a bug report upstream). But still, I never had that issue, and I installed adobe reader rpms since 8.x up to 9.x... How exactly did you gain root access, using just 'su', 'su -', sudo? (In reply to comment #8) > We're gonna have to close this bug, we don't make the adobe rpm (you should > file a bug report upstream). > > But still, I never had that issue, and I installed adobe reader rpms since 8.x > up to 9.x... > > How exactly did you gain root access, using just 'su', 'su -', sudo? I clicked the rpm package of Adobe Reader, and then input root password for gaining root access and installing the software. Well, you can close the bug. Yeah, as I said, we don't make the Adobe Reader rpm. Closing as invalid... Keywords:
NEEDINFO =>
(none) |