<---- template headericclude ----->
Squirrelmail attachments
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    asbjorn Guest

    Smile 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.

  2. #2
    Join Date
    Jan 2004
    Location
    Penguin Land
    Age
    74
    Posts
    1,939
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    set the temporary folder to apache or nobody depending on your httpd conf usinh chown
    + Visit My new blog
    - [B]SlashGear US, SlashGear Japan, and
    +Founder & Admin of www.fedoraforum.org

    Follow me at http://twitter.com/ewdi

    Laptop : MacBook Pro 2.4Ghz 4GB DDR, 20-inch iMac Aluminium/4GB RAM

  3. #3
    asbjorn Guest
    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.

  4. #4
    asbjorn Guest
    It still doesn't work. Any more hints?

  5. #5
    asbjorn Guest
    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.

  6. #6
    edgareem Guest
    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

  1. can't post attachments?
    By aditnsr in forum Suggestions & Feedback
    Replies: 8
    Last Post: 23rd February 2009, 04:02 AM
  2. Squirrelmail Does Not Forward Attachments
    By [UK] Philbert in forum Servers & Networking
    Replies: 3
    Last Post: 28th January 2009, 07:12 PM
  3. Email and .eml Attachments
    By sgtbob in forum Using Fedora
    Replies: 0
    Last Post: 22nd August 2005, 01:58 AM
  4. Squirrelmail Attachments
    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
  •  
[[template footer(Guest)]]