LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-07-2007, 03:47 AM   #1
Elguapo
Member
 
Registered: Mar 2005
Distribution: FC7
Posts: 42

Rep: Reputation: 15
Mounting NTFS w/ fuse & ntfs-3g


I have a few ntfs drives that store various media from an old windows machine. I have mounted these drives, and I am attempting to share the pictures and what not across my home network through a simple coldfusion application that I have written. But for some reason, I am not able to access the files unless I am logged in as root via a terminal window. The messages log file is showing some rather cryptic (at least to me) messages.

Any help with this would be greatly appreciated.

Here is my fstab that I am using to auto mount the drives.
Code:
/dev/sdb5   /media/z_drive     ntfs-3g    rw,defaults,force,umask=0000 0 0
/dev/sdc1   /media/y_drive     vfat    rw,defaults,umask=0000 0 0
/dev/sdd5   /media/x_drive     ntfs-3g    rw,defaults,umask=0000 0 0
Here is the output from the log file.
Code:
Jul  7 01:42:16 wwwhome kernel: audit(1183797735.883:173): avc:  denied  { getattr } for  pid=2085 comm="httpd" name="/" dev=sdd5 ino=5 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir
Jul  7 01:42:16 wwwhome kernel: audit(1183797735.883:174): avc:  denied  { search } for  pid=2085 comm="httpd" name="/" dev=sdd5 ino=5 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir
Jul  7 01:42:16 wwwhome kernel: audit(1183797735.883:175): avc:  denied  { write } for  pid=2085 comm="httpd" name="/" dev=sdd5 ino=5 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir
Jul  7 01:42:16 wwwhome kernel: audit(1183797735.883:176): avc:  denied  { getattr } for  pid=2082 comm="httpd" name="/" dev=sdd5 ino=5 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir
Jul  7 01:42:16 wwwhome kernel: audit(1183797735.883:177): avc:  denied  { search } for  pid=2082 comm="httpd" name="/" dev=sdd5 ino=5 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir
Jul  7 01:42:16 wwwhome kernel: audit(1183797735.883:178): avc:  denied  { write } for  pid=2082 comm="httpd" name="/" dev=sdd5 ino=5 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir
Jul  7 01:42:16 wwwhome kernel: audit(1183797735.883:179): avc:  denied  { getattr } for  pid=2082 comm="httpd" name="/" dev=sdd5 ino=5 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:fusefs_t:s0 tclass=dir
 
Old 07-07-2007, 06:13 PM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Yep, that's Selinux panicking because you're trying to access certain things that it is configured to protect. Your best option is to head to the Fedora home page and read their Selinux docs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fuse filesystem instead of NTFS? DirkDiggler Linux - General 4 06-02-2007 07:05 PM
Fuse version for use with NTFS-3G??? litlmary Suse/Novell 8 04-02-2007 04:55 AM
ntfs-3g with FUSE (NTFS WRITE) - what do I put in fstab 1kyle Suse/Novell 3 02-07-2007 06:08 AM
2.6.14 FUSE and NTFS in Kernel Crito Fedora 3 11-16-2005 08:20 AM
Mounting NTFS & FAT32 DJWS Linux - Newbie 10 06-21-2004 06:55 AM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration