Fantastic.

Thanks Thomas.

chekFilePermOnStart is on, will turn it off.

James.

> On 8 May 2017, at 10:24 pm, Thomas Eckardt <thomas.ecka...@thockar.com> wrote:
> 
> Ahhh ... now I know what happens. 
> 
> You've installed assp with uid 501, but assp runs as root (0). Because root 
> has already all rights on all files the permission check is somehow nosense. 
> I've implemented this 'UID == 0' check for the 'set permission' part but not 
> for the 'check permission' part - this will be fixed in the next release. 
> 
> How ever, if you run assp as root, the 'checkFilePermOnStart' and (in most 
> cases) 'setFilePermOnStart' should be switched OFF. At least 
> 'checkFilePermOnStart' seems to be set to ON in your configuration. 
> 
> Thomas
> 
> 
> 
> 
> Von:        James Brown <jlbr...@bordo.com.au> 
> An:        ASSP development mailing list <assp-test@lists.sourceforge.net> 
> Datum:        08.05.2017 13:58 
> Betreff:        Re: [Assp-test] fixes in assp 2.5.6 build 17043 
> 
> 
> 
> Thanks Thomas. My replies are below. 
> 
> On 8 May 2017, at 9:14 pm, Thomas Eckardt <thomas.ecka...@thockar.com 
> <mailto:thomas.ecka...@thockar.com>> wrote: 
> 
> James, please run the following oneliner at commandline 
> 
> perl -e 'print $^O;' 
> 
> darwin 
> 
> 
> and tell me the output. I expect either 'darwin' (MacOS X), 'MacOS' (MacOS) 
> or 'rhapsody' (MacOS Server) - what is the case? How ever, I'm lost - I have 
> no Mac available here. 
> 
> I'm not sure what happens. ASSP does not assume anything, it always ask the 
> OS for the current process uid (and the one to switch to, if configured). It 
> seems it gets 0 instead of 501. UID 501 has created the files! 
> 
> Did you configure anything in runasuser or runasgroup ? 
> 
> Both fields are empty. 
> 
> 
> I would be also nice to know the output of 
> 
> perl -e 'print $>;' 
> 
> 501 
> 
> sudo perl -e 'print $>;' 
> 
> 0 
> 
> Hope that helps. 
> 
> Thanks, 
> 
> James. 
> 
> 
> Thomas
> 
> 
> 
> 
> 
> Von:        James Brown <jlbr...@bordo.com.au <mailto:jlbr...@bordo.com.au>> 
> An:        ASSP development mailing list <assp-test@lists.sourceforge.net 
> <mailto:assp-test@lists.sourceforge.net>> 
> Datum:        08.05.2017 09:34 
> Betreff:        Re: [Assp-test] fixes in assp 2.5.6 build 17043 
> 
> 
> 
> Running on Mac, startup gives heaps of lines like this: 
> 
> May-08-17 17:10:53 [init] Owner id of file 
> /Applications/assp/language/default_en_msg_2.0.2_(1.2.13).txt is 501 - should 
> be 0 
> 
> First user on Mac is ID 501. 
> 
> It’s pretty much every file in the assp/ directory (and all subdirectories). 
> 
> ASSP version 2.5.6(17127). 
> 
> James. 
> 
> On 12 Feb 2017, at 3:52 pm, Thomas Eckardt <thomas.ecka...@thockar.com 
> <mailto:thomas.ecka...@thockar.com>> wrote: 
> 
> Hi all, 
> 
> fixed in assp 2.5.6 build 17043: 
> 
> - since build 17026 the execution bit (on nix systems) were unexpected set 
> for several files in the assp folder 
> 
> changed: 
> 
> - folder and file permissions on nix systems are only set at startup, if they 
> are not meet the minimum 
> required permission (and owner) 
> 
> 
> Thomas
> 
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, legally 
> privileged and protected in law and are intended solely for the use of the 
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no known 
> virus in this email!
> *******************************************************
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot_______________________________________________ 
> <http://sdm.link/slashdot_______________________________________________>
> Assp-test mailing list
> Assp-test@lists.sourceforge.net <mailto:Assp-test@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/assp-test 
> <https://lists.sourceforge.net/lists/listinfo/assp-test> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot 
> <http://sdm.link/slashdot>_______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net <mailto:Assp-test@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/assp-test 
> <https://lists.sourceforge.net/lists/listinfo/assp-test>
> 
> 
> 
> 
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, legally 
> privileged and protected in law and are intended solely for the use of the 
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no known 
> virus in this email!
> *******************************************************
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot_______________________________________________ 
> <http://sdm.link/slashdot_______________________________________________>
> Assp-test mailing list
> Assp-test@lists.sourceforge.net <mailto:Assp-test@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/assp-test 
> <https://lists.sourceforge.net/lists/listinfo/assp-test> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
> <http://sdm.link/slashdot>_______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test 
> <https://lists.sourceforge.net/lists/listinfo/assp-test>
> 
> 
> 
> 
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, legally 
> privileged and protected in law and are intended solely for the use of the 
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no known 
> virus in this email!
> *******************************************************
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> Assp-test mailing list
> Assp-test@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-test

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to