From philip.colmer at linaro.org Tue Aug 4 06:20:17 2015 From: philip.colmer at linaro.org (Philip Colmer) Date: Tue, 4 Aug 2015 11:20:17 +0100 Subject: [Moin-user] Why multiple user files for individual users? In-Reply-To: <201507291449.31682.paul@boddie.org.uk> References: <201507291449.31682.paul@boddie.org.uk> Message-ID: Hi Paul No, they are the same permissions. All of the files are user rw and group rw, with user and group being the account that is running Apache, i.e. www-data. Regards Philip On 29 July 2015 at 13:49, Paul Boddie wrote: > On Tuesday 21. July 2015 10.05.38 Philip Colmer wrote: > > Hi > > > > Having cleaned up the data/user directory on my system, I've spotted that > > some users occasionally are still ending up with multiple files for their > > account. > > > > I've diff'ed the files and the only difference is the last_saved field so > > I'm struggling to understand why moin is creating subsequent files ... > > Are the permissions different between the old and new files? > > Paul > > > ------------------------------------------------------------------------------ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanlraines at gmail.com Fri Aug 28 10:51:07 2015 From: ryanlraines at gmail.com (Ryan L. Raines) Date: Fri, 28 Aug 2015 10:51:07 -0400 Subject: [Moin-user] data_dir does not exists - ConfigurationError Message-ID: Hello, CentOS 7 Apache 2.4.6 via yum python 2. 7. 5 moinmoin 1.9.8 I've used these install steps as a guide - https://moinmo.in/HowTo/UbuntuQuick#About_this_HowTo I'm getting the following text: *"ConfigurationError* *data_dir "/opt/installs/moin-1.9.8/share/moin/data" does not exist, or has incorrect ownership or* *permissions.* *Make sure the directory and the subdirectory "pages" are owned by the web* *server and are readable, writable and executable by the web server user* *and group.* *It is recommended to use absolute paths and not relative paths. Check* *also the spelling of the directory name."* I have confirmed the data_dir does exist and matches apache's owner:group - which is apache:apache. Same is true for the pages/ sub-directory, its owned by apache:apache and even has 777 permissions. Thoughts? -------------- next part -------------- An HTML attachment was scrubbed... URL: From phatbuckett at gmail.com Fri Aug 28 18:31:54 2015 From: phatbuckett at gmail.com (Darren Spruell) Date: Fri, 28 Aug 2015 15:31:54 -0700 Subject: [Moin-user] data_dir does not exists - ConfigurationError In-Reply-To: References: Message-ID: <2AFD450E-3185-4EB2-8ADB-E571851791DB@gmail.com> Check 'dmesg' output or logs for signs of SELinux affecting it, if you haven't ruled that out. - Darren > On Aug 28, 2015, at 7:51 AM, Ryan L. Raines wrote: > > Hello, > > CentOS 7 > Apache 2.4.6 via yum > python 2. 7. 5 > moinmoin 1.9.8 > > I've used these install steps as a guide - https://moinmo.in/HowTo/UbuntuQuick#About_this_HowTo > > I'm getting the following text: > > "ConfigurationError > > > data_dir "/opt/installs/moin-1.9.8/share/moin/data" does not exist, or has incorrect ownership or > permissions. > > Make sure the directory and the subdirectory "pages" are owned by the web > server and are readable, writable and executable by the web server user > and group. > > It is recommended to use absolute paths and not relative paths. Check > also the spelling of the directory name." > > I have confirmed the data_dir does exist and matches apache's owner:group - which is apache:apache. Same is true for the pages/ sub-directory, its owned by apache:apache and even has 777 permissions. > > Thoughts? > > ------------------------------------------------------------------------------ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanlraines at gmail.com Mon Aug 31 12:37:24 2015 From: ryanlraines at gmail.com (Ryan L. Raines) Date: Mon, 31 Aug 2015 12:37:24 -0400 Subject: [Moin-user] data_dir does not exists - ConfigurationError In-Reply-To: <2AFD450E-3185-4EB2-8ADB-E571851791DB@gmail.com> References: <2AFD450E-3185-4EB2-8ADB-E571851791DB@gmail.com> Message-ID: Disabling SELinux resolved this issue. Thanks Darren. On Fri, Aug 28, 2015 at 6:31 PM, Darren Spruell wrote: > Check 'dmesg' output or logs for signs of SELinux affecting it, if you > haven't ruled that out. > > - Darren > > On Aug 28, 2015, at 7:51 AM, Ryan L. Raines wrote: > > Hello, > > CentOS 7 > Apache 2.4.6 via yum > python 2. 7. 5 > moinmoin 1.9.8 > > I've used these install steps as a guide - > https://moinmo.in/HowTo/UbuntuQuick#About_this_HowTo > > I'm getting the following text: > > *"ConfigurationError* > > > *data_dir "/opt/installs/moin-1.9.8/share/moin/data" does not exist, or > has incorrect ownership or* > *permissions.* > > *Make sure the directory and the subdirectory "pages" are owned by the web* > *server and are readable, writable and executable by the web server user* > *and group.* > > *It is recommended to use absolute paths and not relative paths. Check* > *also the spelling of the directory name."* > > I have confirmed the data_dir does exist and matches apache's owner:group > - which is apache:apache. Same is true for the pages/ sub-directory, its > owned by apache:apache and even has 777 permissions. > > Thoughts? > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Mon Aug 31 13:06:42 2015 From: paul at boddie.org.uk (Paul Boddie) Date: Mon, 31 Aug 2015 19:06:42 +0200 Subject: [Moin-user] data_dir does not exists - ConfigurationError In-Reply-To: References: <2AFD450E-3185-4EB2-8ADB-E571851791DB@gmail.com> Message-ID: <201508311906.42926.paul@boddie.org.uk> On Monday 31. August 2015 18.37.24 Ryan L. Raines wrote: > Disabling SELinux resolved this issue. The clean way of dealing with this, if you still want to use SELinux, is to use semanage and restorecon to tag the files Moin uses. The following page might help: https://moinmo.in/HowTo/FedoraSELinux Something like this... semanage fcontext -a -t httpd_sys_content_t \ "/opt/installs/moin-1.9.8/share/moin/data(/.*)?" ...might be a start. I see that a slightly different "type" value is used on the wiki page mentioned above, whereas I used the above command on RHEL a while back. Then, running the following tells SELinux all about what you've done: restorecon -R -v /opt/installs/moin-1.9.8/share/moin/data And you get to see what it's tagging. Paul