Bug 137962

Summary: latest fglrx driver broken
Product: [openSUSE] SUSE Linux 10.1 Reporter: Forgotten User OS1JNCFbCX <forgotten_OS1JNCFbCX>
Component: X11 3rd PartyAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P2 - High    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: patch to fix the problem

Description Forgotten User OS1JNCFbCX 2005-12-10 12:28:01 UTC
The latest fglrx driver can no longer create the RPM packages because of a non accessible directory. The attached patch does fix this.
Comment 1 Forgotten User OS1JNCFbCX 2005-12-10 12:28:57 UTC
Created attachment 60241 [details]
patch to fix the problem
Comment 2 Stefan Dirsch 2005-12-10 13:43:06 UTC
Creating the SuSE RPM does work for me.

./ati-driver-installer-8.20.8-i386.run --buildpkg SuSE/SUSE101-IA32
Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.20.8 ...........
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Generating package: SuSE/SUSE101-IA32
/tmp/fglrx
Package /tmp/fglrx_6_9_0_SUSE101-8.20.8-1.i386.rpm has been successfully generated
Removing temporary directory: fglrx-install

Could you give me more details, what you did exactly?
Comment 3 Forgotten User OS1JNCFbCX 2005-12-10 15:14:15 UTC
Did you run this as root? Try running as normal user. It cannot work then because you are removing execute permissions on this directory and thus cannot access the files any longer. If you run this as root you just overrun the broken permissions.
Comment 4 Stefan Dirsch 2005-12-10 18:05:18 UTC
Yes, I did run this as root. Your patch is correct (the subdirectory is new since 8.20.8), but doesn't help much nevertheless. :-(

error: Could not open /usr/src/packages/RPMS/i386/fglrx_6_9_0_SUSE101-8.20.8-1.i386.rpm: Permission denied

I wonder why this does work for you. 
Comment 5 Forgotten User OS1JNCFbCX 2005-12-10 18:09:38 UTC
Huh? There is nothing in the toolset that does change permissions for this path. You did remove your version you built as root from that directory before, didn't you?
Comment 6 Stefan Dirsch 2005-12-10 19:49:50 UTC
Thanks. This was the problem. I'll fix the permission problem for the next ATI driver release.
Comment 7 Stefan Dirsch 2005-12-10 19:59:14 UTC
I've sent the new fixed specfiles now to ATI. Thanks again.