~/.zekr directory shouldn't be owned by root!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zekr (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: zekr
There is a problem in installing Zekr on Ubuntu 10.10.
When I was installing zekr using apt-get a message window poped up informing me that "Uthman-Taha experimental theme cannot be used.\nInstall ttf-me-quran to enable Uthman-Taha theme" and another message window poped up afterwards.
1. These information message windows should only be shown when a normal user launches zekr, not when zekr is getting installed using apt-get
2. The installation process creates ~/.zekr directory owned by the root in the current user's home directory! This will be troublesome for the current user.
The resolution:
I noticed that /usr/bin/zekr has been changed in the new version. The removal of the if [ -z "$*" ]; at the very beginning of the /usr/bin/zekr script has introduced this bug.
The creation of the ~/.zekr directory and showing the information messages should only be done when the script is called by a normal user not when it is called by apt-get installer with the indexing argument.
If ./zekr is owned by root, then Zekr cannot run properly. No resource (translation, recitation, etc.) can be added for a normal user.No HTML is created and shown. No search can be done, etc.
Mohsen