{"id":803,"date":"2010-08-25T19:40:48","date_gmt":"2010-08-25T17:40:48","guid":{"rendered":"http:\/\/blog.fh-kaernten.at\/wehr\/?p=803"},"modified":"2011-06-26T00:31:58","modified_gmt":"2011-06-25T22:31:58","slug":"apache-module_webdav-0600-file-mask-problem-ubuntu-lucid","status":"publish","type":"post","link":"https:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/","title":{"rendered":"Apache module_webdav 0600 file mask problem (Ubuntu Lucid)"},"content":{"rendered":"<p id=\"top\" \/>I&#8217;m using WebDAV as our central access point for the users web homes. The running apache is an <a href=\"http:\/\/mpm-itk.sesse.net\/\">MPM-ITK<\/a>. This Version of the apche server uses a special Multi-Processing       Module which allows to run each vhost under a separate <em>uid <\/em>and <em>gid<\/em>&#8230;, cool :-). So you can have quotas and all the other user related stuff in your vhosts.<\/p>\n<p>I forgot the OS is a Ubuntu Lucid LTS, just for info.<\/p>\n<p>A few days ago colleagues told me that the have problems to read\/execute files via normal HTTP access which they have uploaded before. A quick look via SSH turned out that the newly created files had all 0600 rights. Because of that the access user\/group schema is <em>XYuser\/www-data<\/em> the web server couldn&#8217;t access the files anymore.<\/p>\n<p>Hmm, shit, this shouldn&#8217;t happen here. So as a brave Linux user, i added <em>umask 022<\/em> to the apache environment variable. But,.. what the hell, the files are always created with 0600. &#8230;.Oook this will not be a 5min job.<\/p>\n<p>After an hour digging around with google it turns out that this is bug (<a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/apache2\/+bug\/540747\">link<\/a>) in the recent WebSVN module used by the Lucid distro.<\/p>\n<p>To fix this i downloaded from Debian <em>testing <\/em>the <a href=\"http:\/\/packages.debian.org\/squeeze\/httpd\/apache2.2-bin\">apache2.2-bin<\/a> deflated it and copied the corresponding DAV modules to my server. &#8230; FIXED \ud83d\ude42<\/p>\n<p>Remember that taking packages from Debian or another Ubuntu distro is only a temporary solution! \ud83d\ude42<\/p>\n<p>Have fun<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using WebDAV as our central access point for the users web homes. The running apache is an MPM-ITK. This Version of the apche server uses a special Multi-Processing Module which allows to run each vhost under a separate uid and gid&#8230;, cool :-). So you can have quotas and all the other user related &hellip; <a href=\"https:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Apache module_webdav 0600 file mask problem (Ubuntu Lucid)<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-803","post","type-post","status-publish","format-standard","hentry","category-linux-stuff"],"_links":{"self":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/posts\/803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/comments?post=803"}],"version-history":[{"count":0,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/posts\/803\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/media?parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/categories?post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fh-kaernten.at\/wehr\/wp-json\/wp\/v2\/tags?post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}