-
18th January 2005, 09:50 PM
#1
Squirrelmail attachments
I'm not able to attach / forward attachments with squirrelmail
I'm running fedora core 3, latest u2date (and just rebooted)
When attaching files, I get the following message in /var/log/messges
Jan 18 21:42:22 server0 kernel: audit(1106080942.728:0): avc: denied { write } for pid=1979 exe=/usr/sbin/httpd name=attach dev=dm-0 ino=7979030 scontext=user_u:system_r:httpd_t tcontext=system_u:object_r:var_spool_t tclass=dir
Jan 18 21:42:22 server0 kernel: audit(1106080942.761:0): avc: denied { write } for pid=1979 exe=/usr/sbin/httpd name=attach dev=dm-0 ino=7979030 scontext=user_u:system_r:httpd_t tcontext=system_u:object_r:var_spool_t tclass=dir
Jan 18 21:42:22 server0 kernel: audit(1106080942.761:0): avc: denied { write } for pid=1979 exe=/usr/sbin/httpd name=attach dev=dm-0 ino=7979030 scontext=user_u:system_r:httpd_t tcontext=system_u:object_r:var_spool_t tclass=dir
How can I fix this problem?
Last edited by asbjorn; 20th January 2005 at 08:51 PM.
-
18th January 2005, 10:07 PM
#2
set the temporary folder to apache or nobody depending on your httpd conf usinh chown
-
18th January 2005, 10:23 PM
#3
config.php:
$attachment_dir = '/var/spool/squirrelmail/attach/';
drwx------ 2 apache apache 4096 Nov 21 05:08 attach
[root@server0 squirrelmail]# pwd
/var/spool/squirrelmail
ps -ef |grep 1979
apache 1979 1934 0 21:40 ? 00:00:00 /usr/sbin/httpd
This is the current config......
Last edited by asbjorn; 18th January 2005 at 10:39 PM.
-
19th January 2005, 11:04 AM
#4
It still doesn't work. Any more hints?
-
20th January 2005, 08:47 PM
#5
found it!
chcon -t httpd_sys_content_t attach
For others with the same question, you can read
http://fedora.redhat.com/docs/selinu...ple-setup.html
Last edited by asbjorn; 20th January 2005 at 08:50 PM.
-
29th April 2005, 06:37 PM
#6
I have the same problem and i try to do chcon -t httpd_sys_content_t attach but it said “not enough arguments”
Similar Threads
-
By aditnsr in forum Suggestions & Feedback
Replies: 8
Last Post: 23rd February 2009, 04:02 AM
-
By [UK] Philbert in forum Servers & Networking
Replies: 3
Last Post: 28th January 2009, 07:12 PM
-
By sgtbob in forum Using Fedora
Replies: 0
Last Post: 22nd August 2005, 01:58 AM
-
By freeups in forum Servers & Networking
Replies: 0
Last Post: 9th July 2005, 02:48 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]