Bug 2142557 - wrong chmod on spfquery
Summary: wrong chmod on spfquery
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Mail-SPF
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-14 12:12 UTC by customercare
Modified: 2022-11-14 13:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-14 13:55:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description customercare 2022-11-14 12:12:30 UTC
Description of problem:

the spfquery :

/usr/share/doc/perl-Mail-SPF/bin/spfquery

has 744, which makes this script only usefull for ROOT, but not for the Mailserveruser i.e. exim ( 93 ), which is THE SERVICE TO execute it for SPFchecks in the first place.

FIX: 

chmod 755 /usr/share/doc/perl-Mail-SPF/bin/spfquery


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

2.9.0-27

Comment 1 Jan Pazdziora 2022-11-14 13:55:22 UTC
Actually, that file has 644, not 744:

# ls -la /usr/share/doc/perl-Mail-SPF/bin/spfquery
-rw-r--r--. 1 root root 22991 Jul 21  2013 /usr/share/doc/perl-Mail-SPF/bin/spfquery
# rpm -qf /usr/share/doc/perl-Mail-SPF/bin/spfquery
perl-Mail-SPF-2.9.0-27.fc36.noarch

It is not meants to be executed, it's in a documentation directory.

Since bug 1399246, perl-Mail-SPF package ships spfquery alternative, enabled by default if you don't have other package providing the same tool. In other words, please just call /usr/bin/spfquery (it's also in the default $PATH), not a documentation snippet.


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