Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 116244 - Configuration file marked as executable
Summary: Configuration file marked as executable
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: brltty
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Eido Inoue
QA Contact:
URL:
Whiteboard:
Depends On: 136884
Blocks: FC2Target FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-02-19 14:44 UTC by Albert Strasheim
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: 3.2-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-27 21:48:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Albert Strasheim 2004-02-19 14:44:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Description of problem:
The following configuration files are marked as executable:

/etc/brltty.conf

Version-Release number of selected component (if applicable):
brltty-3.2-3

How reproducible:
Always

Steps to Reproduce:
1. ls -l /etc/brltty.conf

Actual Results:  Configuration file is marked as executable.

Expected Results:  Configuration file should not be marked as executable.

Additional info:

Comment 1 Albert Strasheim 2004-04-06 10:55:37 UTC
Still broken in brltty-3.2-3.1.1

Comment 2 Warren Togami 2004-10-11 06:55:53 UTC
I wish to apply this, but first I want clarification about
/etc/brltty/  It seems to contain mostly binary data and not
configuration files.  Doesn't this violate the FHS?

diff -u -p -r1.4 brltty.spec
--- brltty.spec 9 Sep 2004 03:38:00 -0000       1.4
+++ brltty.spec 11 Oct 2004 06:58:00 -0000
@@ -1,6 +1,6 @@
 Name: brltty
 Version: 3.2
-Release: 4
+Release: 5
 License: GPL
 Group: System Environment/Daemons
 URL: http://mielke.cc/brltty/
@@ -32,13 +32,19 @@ do
    cp -rp "${file}" "${directory}/${file}"
 done

+chmod 644 %{_sysconfdir}/brltty.conf
+
 %install
+rm -rf $RPM_BUILD_ROOT
 make install-programs install-help install-tables install-drivers
install-manpage
 install Documents/brltty.conf "${RPM_BUILD_ROOT}/etc"
 rm -f ${RPM_BUILD_ROOT}/bin/brltty
 rm -f ${RPM_BUILD_ROOT}/bin/install-brltty
 rm -rf ${RPM_BUILD_ROOT}/lib/brltty/*

+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 devices="/dev/vcsa /dev/vcsa0 /dev/vcc/a"
 install=true
@@ -68,13 +74,17 @@ fi
 %doc Bootdisks/rhmkboot Bootdisks/rhmkroot
 %doc doc/*
 %doc /usr/share/man/man1/*
-%config(noreplace) /etc/brltty.conf
+%config(noreplace) %{_sysconfdir}/brltty.conf
 %{_bindir}/brltty
 %{_bindir}/install-brltty
 %{_libdir}/brltty/*
-/etc/brltty
+%{_sysconfdir}/brltty

 %changelog
+* Sun Oct 10 2004 Warren Togami <wtogami> 3.2-5
+- #116244 /etc/brltty.conf should not be executable
+- other spec cleanups
+
 * Tue Jun 15 2004 Elliot Lee <sopwith>
 - rebuilt



Comment 3 Eido Inoue 2004-10-22 20:30:05 UTC
darn. can't get it through the build system on all platforms.


Note You need to log in before you can comment on or make changes to this bug.