Page 1 of 1

RPM ossec-wui-0.3 doesn't create ./tmp or set perms, uid/gid

Posted: Wed Sep 29, 2010 7:20 pm
by lavermil
The rpm for "ossec-wui-0.3-1.fc6.art.noarch.rpm" doesn't do the following

create the "tmp" directory in "/usr/share/ossec-wui/".

Code: Select all

mkdir /usr/share/ossec-wui/tmp
set permissions for the tmp directory.

Code: Select all

chmod 770 /usr/share/ossec-wui/tmp/
set uid/gid for /usr/share/ossec-wui/tmp

Code: Select all

chown apache:apache /usr/share/ossec-wui/tmp/
This is required for search to work.

If apache isn't the web user then it needs to be what ever that is (www/etc).

Also it would be nice to have a src.rpm so people can fix their own copy of it.

Re: RPM ossec-wui-0.3 doesn't create ./tmp or set perms, uid

Posted: Thu Sep 30, 2010 3:48 am
by BruceLee
can't help you with the details but SRPMs are here:
http://www6.atomicorp.com/channels/source/

Re: RPM ossec-wui-0.3 doesn't create ./tmp or set perms, uid

Posted: Thu Sep 30, 2010 10:12 am
by scott
Awesome, thanks for the report! This should be fixed in ossec-wui-0.3-2. If you find any other bugs, or have any other submissions (feature patches, graphics, plugins etc) feel free to post them here.

Re: RPM ossec-wui-0.3 doesn't create ./tmp or set perms, uid

Posted: Thu Sep 30, 2010 2:31 pm
by mikeshinn
ossec-wui-0.3-1.fc6.art.noarch.rpm
Its none of my business, but as a friendly piece of advice since you sound like a security concious person (you're running OSSEC after). If I were you I would upgrade that FC6 box yesterday. FC6 was end of life years ago and its definitely got some big holes in it that are unpatched.