Bug 134574

Summary: Opera "could not read directory" error when ApArmor is enabled
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dzmitry Prakapenka <4maillists>
Component: AppArmorAssignee: Dominic W Reynolds <dreynolds>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dzmitry Prakapenka 2005-11-20 06:04:25 UTC
When ApArmor is enabled, Opera displays "could not read directory" error message upon trying to save/download a file. Here is the screenshot:

http://img505.imageshack.us/my.php?image=snapshot72jh.png


It is still possible to dismiss the error message and save the file.
The error seems to disapear after disabling AppArmor & re-launching Opera.


Opera info:
Version	8.5 	
Build	1358 	
System	i686, 2.6.13-15.ck6.SUPER.1-default 	
Qt library	3.3.5 	
Java	Java Runtime Environment installed
Comment 1 Seth R Arnold 2006-02-08 00:23:27 UTC
Dzmitry, thank you for your report; if you would like to allow this access in your opera profile, please run "genprof opera" (and use opera as you normally do), or use the YaST interface to generate a profile for opera. (You can see a walkthrough of using genprof here: http://danieldk.org/apparmor//profile-example.html )

I'll make sure this access gets added to our profile set. Thanks.
Comment 4 Dominic W Reynolds 2007-01-26 23:04:22 UTC
Closing. This has been addressed by inclusion of user-download abstractions in openSUSE10.2 for the opera profile in extras. For users wanting write access to other directories either logprof (to adjust the opera profile) or hand modification to /etc/apparmor.d/abstractions/user-download will configure the policy.