Rpmbuild/permissions/nvidia module

Michael A. Peters mpeters at mac.com
Tue Mar 8 08:58:20 UTC 2005


On 03/07/2005 08:18:50 PM, Ivan Gyurdiev wrote:

> 
> Question 3:
> What makes it change from 755/755 to 644/644 (which is completely
> wrong)
> between the install stage and the final rpm.


Specify the permissions in the spec file and that shouldn't be a  
problem

%files
%attr(0755,root,root) /path/to/module.ko

Why it is happening I do not know - I've never personally seen a case  
where permissions are different is a resulting rpm than they were in  
the buildroot - except when specified as different in the spec file.

-- 
Michael A. Peters
http://mpeters.us/






More information about the fedora-devel-list mailing list