Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 31-12-2008, 04:55 PM   #1 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,431
Default SELinux is preventing access to files with the label, file_t error


Got the following message(AVC denial) when I tried to upload a photo to picnik in FC10 64bit

Quote:
Summary SELinux is preventing access to files with the label, file_t.
Detailed Description

SELinux permission checks on files labeled file_t are being denied. file_t is the context the SELinux kernel gives to files that do not have a label. This indicates a serious labeling problem. No files on an SELinux box should ever be labeled file_t. If you have just added a new disk drive to the system you can relabel it using the restorecon command. Otherwise you should relabel the entire files system.
Allowing Access
You can execute the following command as root to relabel your computer system: "touch /.autorelabel; reboot"
Additional Information
Source Context:**unconfined_u:unconfined_r:nsplugin_t:s0T arget Context:**system_ubject_r:file_t:s0Target Objects:**/home/-------------/Desktop/_0471694665.zip [ file ]Source:**npviewer.binSource Path:**/usr/lib64/nspluginwrapper/npviewer.binPort:**<Unknown>Host:**localhost.local domainSource RPM Packages:**nspluginwrapper-1.1.2-4.fc10Target RPM Packages:**Policy RPM:**selinux-policy-3.5.13-18.fc10Selinux Enabled:**TruePolicy Type:**targetedMLS Enabled:**TrueEnforcing Mode:**EnforcingPlugin Name:**fileHost Name:**localhost.localdomainPlatform:**Linux localhost.localdomain 2.6.27.9-159.fc10.x86_64 #1 SMP Tue Dec 16 14:47:52 EST 2008 x86_64 x86_64Alert Count:**2First Seen:**Wed 31 Dec 2008 04:37:35 PM ISTLast Seen:**Wed 31 Dec 2008 04:46:38 PM ISTLocal ID:**9e79e49d-0861-44f1-ac82-fe985f3f8492Line Numbers:**Raw Audit Messages :node=localhost.localdomain type=AVC msg=audit(1230722198.408:90): avc: denied { getattr } for pid=6677 comm="npviewer.bin" path="/home/----------/Desktop/_0471694665.zip" dev=sda5 ino=140093 scontext=unconfined_u:unconfined_r:nsplugin_t:s0 tcontext=system_ubject_r:file_t:s0 tclass=file node=localhost.localdomain type=SYSCALL msg=audit(1230722198.408:90): arch=c000003e syscall=6 success=no exit=-13 a0=1e90210 a1=7f8d88c43e00 a2=7f8d88c43e00 a3=1 items=0 ppid=2964 pid=6677 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="npviewer.bin" exe="/usr/lib64/nspluginwrapper/npviewer.bin" subj=unconfined_u:unconfined_r:nsplugin_t:s0 key=(null)
Can someone explain it?
ThinkFree is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 31-12-2008, 08:52 PM   #2 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: SELinux is preventing access to files with the label, file_t error

I guess ur selinux is running in "enforcing" mode. I suggest u disable it if don't want to deal with the pain or run it in "permissive mode" if you want to passively learn it or keep it "enforced" if you wanna actively learn it.
Do what the troubleshooter says!
Quote:
Allowing Access
You can execute the following command as root to relabel your computer system: "touch /.autorelabel; reboot"
http://www.engardelinux.org/modules/...&month=2008-02
http://www.nabble.com/SELinux-is-pre...d15815255.html
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 31-12-2008, 09:00 PM   #3 (permalink)
Right Off the Assembly Line
 
blondie's Avatar
 
Join Date: Dec 2008
Posts: 29
Default Re: SELinux is preventing access to files with the label, file_t error

If not running a server or some web service or a network, I recommend to disable or run in permissive mode on a normal web desktop. SELinux is always developing code and server testing is more regular than desktop.
blondie is offline  
Old 01-01-2009, 01:18 PM   #4 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,431
Default Re: SELinux is preventing access to files with the label, file_t error

Thanks for the replies.
ThinkFree is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
'access denied' error while installing SP 3 rajat22 Software Q&A 10 25-08-2008 02:50 AM
Deny access to files in Win XP DizitalNovice Software Q&A 1 13-08-2008 05:40 PM
Can't access hidden files! Gigacore QnA (read only) 3 08-08-2007 10:34 PM
Cannot access hidden files CyCo Software Q&A 4 24-04-2007 01:30 AM
SQL VB6 connectivity Data access error CyCo Software Q&A 1 06-10-2006 11:03 AM

 
Latest Threads
- by soumya
- by clmlbx
- by Charan
- by Sujeet
- by reddick

Advertisement




All times are GMT +5.5. The time now is 12:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2