LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 02: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, 02:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 03: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, 03: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, 03:28 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 03: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, 10: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, 07:27 AM   #8
Peverel
Member
 
Registered: May 2009
Location: Chelmsford, England
Distribution: OpenSuse 12.2 and 13.2, Leap 4.2
Posts: 128

Rep: Reputation: 24
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 07:32 AM. Reason: addition
 
  


Reply



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 10:52 AM
Permission Denied for script accessing text file lobo1 Linux - General 2 06-28-2005 12:46 PM
Postfix-MySQL-Courier IMAP - Permission denied abapdr Linux - Software 0 06-24-2004 03:51 AM
GD 2.0.15 install, permission denied enzo250gto Linux - Software 2 11-19-2003 08:04 AM
Problems unzipping a *.tar.gz file --permission denied? mfarley Linux - Newbie 3 07-22-2003 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 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
Open Source Consulting | Domain Registration