Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i post this thread after alot of searching in google and our forum linuxquestions.org but i didnt find a soltuion even if there are alot of the same questions,
when i try to attach a file in squirrelmail it gives me this error :
Could not move/copy file. File not attached
in my php.ini line upload_tmp_dir is uncommented and pointed to :
upload_tmp_dir = "/var/spool/squirrelmail/attach"
file_uploads = On
and the rights o n the directory are set to 755 and
drwx----w- 3 root root 4096 jan 28 18:13 ..
-rw-r--r-- 1 root root 14 mar 2 15:31 *
drwxr-xr-x 2 apache apache 4096 mar 2 15:31 .
is this problem caused by apache or compatibility between apache and squirrelmail ?
any help will be appreciated ...
I didn't have to modify php.ini to get Squirrelmail working on my system. In my squirrelmail/config/config.php I have $data_dir and $attachment_dir set. These directories look like this:
Code:
$ ls -l /var/spool/squirrelmail
total 8
drwx-wx--- 2 apache apache 4096 2008-02-06 10:14 attach
drwxr-xr-x 2 apache apache 4096 2008-02-29 12:30 data
The output of your ls command is a little confusing. Are you saying that you have permissions of 702 on /var/spool/squirrelmail? Why is that? Mine is:
What/where is the file you are trying to attach, what are the permissions of this file, and which user are you trying to attach as. Is this a system user or virtual?
Does the user that you web server (Apache?) is running as (on my system the user is called apache) have rights to the /var/lib/squirrelmail/prefs and /var/spool/squirrelmail/attach directories?
Does the user that you web server (Apache?) is running as (on my system the user is called apache) have rights to the /var/lib/squirrelmail/prefs and /var/spool/squirrelmail/attach directories?
__________________
yes i ahve that user and has the right ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.