LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2005, 03:05 PM   #1
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Rep: Reputation: 15
Question file permission denied, install postfix


Frustrated newbie trying to install a BASIC mailserver. Trying to use postfix.

Compiled source.
Configured (I think)

When check the configuration using.....

'postfix check'

I get an error 'postfix: fatal: /etc/postfix/postfix-script: Permission denied
'

I've tried to change that directory permission using various chmod commands like

chmod 777 /etc/postfix/postfix-script

but still get the same error of permission denied when I 'postfix check'

Not sure what or why this is happening.

Thanks for any help,

Tony
 
Old 04-25-2005, 03:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
odd. does the interpreter exist on your system? check the first line of the file, normally /bin/sh which should exist... also show us "ls -l /etc/postfix" please.
 
Old 04-25-2005, 04:05 PM   #3
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
ls -l

drwxrwxrwx 2 root root 4096 Apr 25 11:28 postfix-script
 
Old 04-25-2005, 04:06 PM   #4
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
sorry

Sorry, for being an idiot, but not sure what you mean by the interpreter and checking the file (which file? what interpreter ?)
 
Old 04-25-2005, 04:28 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
ok well.. "postfix_script" is clearly a directory.... see the "d" at the start there... no wonder it won't run!
 
Old 04-25-2005, 04:59 PM   #6
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
yep THANKS. Not sure why it got setup that way.

Will have to track down what went wrong during the install.

Tony
 
Old 07-12-2011, 11:38 AM   #7
ajc
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
Disable SElinux

This error can occur if you have SElinux enabled on your system. Disable SElinux if it is active.
 
Old 07-13-2011, 08:27 AM   #8
Peverel
Member
 
Registered: May 2009
Location: Chelmsford, England
Distribution: OpenSuse 12.2 and 13.2
Posts: 104

Rep: Reputation: 21
I just entered "postfix check" in a terminal and was told "postfix" is in sbin and requires superuser privileges. Maybe you need sudo. You would certainly need that to change permissions on a folder in /etc, which you should not do under any circumstances.

Last edited by Peverel; 07-13-2011 at 08:32 AM. Reason: addition
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot open shared object file: Permission denied cchristian Linux - Software 5 07-30-2005 11:52 AM
Permission Denied for script accessing text file lobo1 Linux - General 2 06-28-2005 01:46 PM
Postfix-MySQL-Courier IMAP - Permission denied abapdr Linux - Software 0 06-24-2004 04:51 AM
GD 2.0.15 install, permission denied enzo250gto Linux - Software 2 11-19-2003 09:04 AM
Problems unzipping a *.tar.gz file --permission denied? mfarley Linux - Newbie 3 07-22-2003 06:07 PM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration