Bug 116244 - Configuration file marked as executable
Summary: Configuration file marked as executable
Alias: None
Product: Fedora
Classification: Fedora
Component: brltty
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Eido Inoue
QA Contact:
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:
Last Closed: 2004-10-27 21:48:48 UTC
Type: ---

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:


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

How reproducible:

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}"

+chmod 644 %{_sysconfdir}/brltty.conf
 make install-programs install-help install-tables install-drivers
 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/*

 devices="/dev/vcsa /dev/vcsa0 /dev/vcc/a"
@@ -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

+* Sun Oct 10 2004 Warren Togami <wtogami@redhat.com> 3.2-5
+- #116244 /etc/brltty.conf should not be executable
+- other spec cleanups
 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
 - 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.