Re: Attachment directory ownership/permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> I just ran configtest.php and got:
>>>
>>> ERROR: You have configured PHP not to allow short tags
>>> (short_open_tag=off). This shouldn't be a problem with SquirrelMail or
>>> any plugin coded coded according to the SquirrelMail Coding
>>> Guidelines, but if you experience problems with PHP code being
>>> displayed in some of the pages and changing setting to "on" solves the
>>> problem, please file a bug report against the failing plugin. The
>>> correct contact information is most likely to be found in the plugin
>>> documentation.
>>>
>>> ERROR: Attachment dir (/var/local/squirrelmail/attach/) does not exist!
>>>
>>> Should I bother to change short_open_tag?  It sounds like it's OK.
>>>
>>> I'm thinking I should create the attachment directory.  What ownership
>>> and permissions should it have?
>>
>> Check to see if you have spelled the directory path correctly. Also go
>> the directory and do a "pwd" to make sure. I mis-spelled it once & got
>> that error once.
>> The permissions should be drwxr-sr-x and the owner should be the same as
>> the webserver's.
>
> No.  Frank, you too should reconsider your directory permissions.
> Both of you should read this:
>
> http://squirrelmail.org/docs/admin/admin-3.html

Does this look OK?  Given that the data directory was created here as
apache:apache 755, I don't think the install was done with security in
mind.

squirrelmail # ls -l
total 72
-rw-r--r--  2 root   root     56 Aug 19 16:51 README
drwxr-xr-x  5 root   root   4096 Aug 19 16:51 class
drwxr-xr-x  2 root   root   4096 Aug 19 16:51 config
-rwxr-xr-x  2 root   root    102 Aug 19 16:51 configure
drwxr-xr-x  3 root   root   4096 Aug 19 16:51 contrib
drwxr-xr-x  3 root   root   4096 Aug 19 16:51 doc
drwxr-xr-x  4 root   root   4096 Aug 19 16:51 functions
drwxr-xr-x  3 root   root   4096 Aug 19 16:51 help
drwxr-xr-x  2 root   root   4096 Aug 19 16:51 images
drwxr-xr-x  3 root   root   4096 Aug 19 16:51 include
-rw-rw-r--  1 apache apache  671 Aug 19 16:51 index.php
drwxr-xr-x  2 root   root   4096 Aug 19 16:51 locale
drwxr-xr-x 24 root   root   4096 Aug 19 16:51 plugins
drwxr-xr-x  2 root   root   4096 Aug 19 16:51 po
drwxr-xr-x  2 root   root   4096 Aug 19 16:51 src
drwxr-xr-x  3 root   root   4096 Aug 19 16:51 themes

- Grant

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux