LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mounting NTFS w/ fuse & ntfs-3g (https://www.linuxquestions.org/questions/linux-software-2/mounting-ntfs-w-fuse-and-ntfs-3g-567325/)

Elguapo 07-07-2007 03:47 AM

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


jay73 07-07-2007 06:13 PM

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.


All times are GMT -5. The time now is 09:10 AM.