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

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
lavermil
New Forum User
New Forum User
Posts: 2
Joined: Wed Sep 29, 2010 7:00 pm

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

Unread post 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.
BruceLee
Forum Regular
Forum Regular
Posts: 879
Joined: Sat Mar 28, 2009 6:58 pm
Location: Germany

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

Unread post by BruceLee »

can't help you with the details but SRPMs are here:
http://www6.atomicorp.com/channels/source/
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

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

Unread post 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.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

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

Unread post 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.
Post Reply