[horde] horde webmail created files permissions problem
Rolf Deenen
rdeenen at home.nl
Fri Jul 17 11:28:45 UTC 2009
My sincere apologies. After Jan's reply I tried some more settings. I now see that I have misinterpreted the umask setting as "default access" rather than the bits to be filtered out (masked). So, the 777 I set, never meant "all access to everyone" but all access rights filtered out (and no access for anyone). After having set 077 as umask everything works fine now.
Sorry once again, and thanks for the reaction,
Rolf Deenen
Quoting Jan Schneider <jan at horde.org>:
> Zitat von Rolf Deenen <rdeenen at home.nl>:
>
>> Dear list,
>>
>> First of all let me begin by saying I am sorry that the following
>> problem-description is so long. I have been unable to make it
>> shorter without leaving possible important details out...
>>
>> About a month ago I updated my Debian home-server from Etch to Lenny
>> (so, debian version 4 to debian version 5). I exported all data
>> like contacts, notes ,etc of my previous horde installation (I am
>> the only user) since I went from Postgresql to MySQL. This because
>> of the abbundancy software that supports MySQL. Then I did a
>> complete clean install of Horde groupware webmail-edition. I
>> downloaded and installed version 1.2.3 . Most of it runs OK after
>> configuring but i have some strange issues whenever up- or
>> downloading files is happening.
>>
>> 1.) FILES ON LOCAL SYSTEM AS VFS DOESN'T WORK
>> When I set the Virtual File Storage to "Files on the local system",
>> point it at a specified directory (/home/www/hordevfs) and make sure
>> the webserver can access this directory I am unable to attach files
>> to an e-mail. I get an error: "Unable to create VFS directory." .
>> When I upload a file I watch the filesystem (with the utility
>> "iwatch") . I see nothing happens in the directory specified in the
>> config, but I do some something happening in /tmp (file created and
>> deleted). If I set the Virtual File Storage to "SQL" the problem
>> disappears. The apache2 webserver runs as the user "www-data",
>> member of the group "www-data".
>>
>> drwxrwx--- 3 www-data www-data 4096 2009-07-14 14:04 hordevfs
>>
>> I noticed a directory /home/www/hordevfs/.horde , which i did not
>> create, but which apparently horde was able to create:
>>
>> d--------- 2 www-data www-data 4096 2009-07-14 14:04 .horde
>
> Horde is trying to create files/directories inside this .horde
> directory and fails, obviously because of the wrong permissions of
> that directory.
> You probably have the umask setting in the Horde configuration wrong,
> so that this directory was created with the wrong perms.
>
> All your other issues sound like they stem from the same problem.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
More information about the horde
mailing list