{"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"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Apache module_webdav 0600 file mask problem (Ubuntu Lucid) - Mario&#039;s TinyLab<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apache module_webdav 0600 file mask problem (Ubuntu Lucid) - Mario&#039;s TinyLab\" \/>\n<meta property=\"og:description\" content=\"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; Continue reading Apache module_webdav 0600 file mask problem (Ubuntu Lucid) &rarr;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/\" \/>\n<meta property=\"og:site_name\" content=\"Mario&#039;s TinyLab\" \/>\n<meta property=\"article:published_time\" content=\"2010-08-25T17:40:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-06-25T22:31:58+00:00\" \/>\n<meta name=\"author\" content=\"Mario Wehr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mario Wehr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/\"},\"author\":{\"name\":\"Mario Wehr\",\"@id\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/#\\\/schema\\\/person\\\/8761b4d788b13b547de9ccd6504ce62d\"},\"headline\":\"Apache module_webdav 0600 file mask problem (Ubuntu Lucid)\",\"datePublished\":\"2010-08-25T17:40:48+00:00\",\"dateModified\":\"2011-06-25T22:31:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/\"},\"wordCount\":245,\"commentCount\":1,\"articleSection\":[\"Linux Stuff\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/\",\"url\":\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/\",\"name\":\"Apache module_webdav 0600 file mask problem (Ubuntu Lucid) - Mario&#039;s TinyLab\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/#website\"},\"datePublished\":\"2010-08-25T17:40:48+00:00\",\"dateModified\":\"2011-06-25T22:31:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/#\\\/schema\\\/person\\\/8761b4d788b13b547de9ccd6504ce62d\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/2010\\\/08\\\/25\\\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apache module_webdav 0600 file mask problem (Ubuntu Lucid)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/#website\",\"url\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/\",\"name\":\"Mario&#039;s TinyLab\",\"description\":\"About cool\\\/interesting Projects and Technologies\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/#\\\/schema\\\/person\\\/8761b4d788b13b547de9ccd6504ce62d\",\"name\":\"Mario Wehr\",\"url\":\"https:\\\/\\\/blog.fh-kaernten.at\\\/wehr\\\/author\\\/wehr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Apache module_webdav 0600 file mask problem (Ubuntu Lucid) - Mario&#039;s TinyLab","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/","og_locale":"en_US","og_type":"article","og_title":"Apache module_webdav 0600 file mask problem (Ubuntu Lucid) - Mario&#039;s TinyLab","og_description":"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; Continue reading Apache module_webdav 0600 file mask problem (Ubuntu Lucid) &rarr;","og_url":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/","og_site_name":"Mario&#039;s TinyLab","article_published_time":"2010-08-25T17:40:48+00:00","article_modified_time":"2011-06-25T22:31:58+00:00","author":"Mario Wehr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mario Wehr","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/#article","isPartOf":{"@id":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/"},"author":{"name":"Mario Wehr","@id":"https:\/\/blog.fh-kaernten.at\/wehr\/#\/schema\/person\/8761b4d788b13b547de9ccd6504ce62d"},"headline":"Apache module_webdav 0600 file mask problem (Ubuntu Lucid)","datePublished":"2010-08-25T17:40:48+00:00","dateModified":"2011-06-25T22:31:58+00:00","mainEntityOfPage":{"@id":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/"},"wordCount":245,"commentCount":1,"articleSection":["Linux Stuff"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/","url":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/","name":"Apache module_webdav 0600 file mask problem (Ubuntu Lucid) - Mario&#039;s TinyLab","isPartOf":{"@id":"https:\/\/blog.fh-kaernten.at\/wehr\/#website"},"datePublished":"2010-08-25T17:40:48+00:00","dateModified":"2011-06-25T22:31:58+00:00","author":{"@id":"https:\/\/blog.fh-kaernten.at\/wehr\/#\/schema\/person\/8761b4d788b13b547de9ccd6504ce62d"},"breadcrumb":{"@id":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/blog.fh-kaernten.at\/wehr\/2010\/08\/25\/apache-module_webdav-0600-file-mask-problem-ubuntu-lucid\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.fh-kaernten.at\/wehr\/"},{"@type":"ListItem","position":2,"name":"Apache module_webdav 0600 file mask problem (Ubuntu Lucid)"}]},{"@type":"WebSite","@id":"https:\/\/blog.fh-kaernten.at\/wehr\/#website","url":"https:\/\/blog.fh-kaernten.at\/wehr\/","name":"Mario&#039;s TinyLab","description":"About cool\/interesting Projects and Technologies","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.fh-kaernten.at\/wehr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.fh-kaernten.at\/wehr\/#\/schema\/person\/8761b4d788b13b547de9ccd6504ce62d","name":"Mario Wehr","url":"https:\/\/blog.fh-kaernten.at\/wehr\/author\/wehr\/"}]}},"_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}]}}