https://qa.mandrakesoft.com/show_bug.cgi?id=615

           Product: akpi
         Component: packaging
           Summary: some permission problems when umask not equal to 077
           Version: 0.3.3-2mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Bill Unruh <[EMAIL PROTECTED]> sent me a bug report about not being able to  
use akpi after installing it.  
  
It seems that it comes from a permission problem, since rpm use the umask of  
the root, and, when installing akpi, it fixes the permissions of  
/usr/share/akpi/ using this umask.  
So, if someone install it with a more restrictive umask ( let's say, umask 077  
), akpi can't access to the directory ( since , the permission of the rep is   
drwx------  ) and so, can't start.  
  
The umask is fixed in ~root/.bashrc, and so is overridden when launching rpm.  
  
I think that something is wrong with the %files or the %defattr macros.  
  
A possible fix given by Bill is to change   
  
%{_datadir}/apps/%{name}/*  
  
with the line  
  
%{_datadir}/apps/%{name}  
  
and maybe changing the %defattr macros to   
  
%defattr(0555,root,root)  
  
I could not try the fix, but Bill say it worked



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to