There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
Solved: Courier authdaemond - permission question


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
bluemike's Avatar
Senior Member with 255 posts.
 
Join Date: May 2000
Location: Everett, WA, US
Experience: Advanced
24-Oct-2005, 01:38 PM #1
Solved: Courier authdaemond - permission question
I just installed Courier-IMAP for and Courier Authentication Library.

I don't really know linux, so I am following step-by-step from a book. So far, so good.

The problem is this: when I try to manually start 'courier-auth' I get a 'permission denied' error. I'm logged in as root, so how could anything be denied?

Here's what I've done so far:

mkdir -p /var/lib/courier/authdaemon
chmod 750 /var/lib/courier/authdaemon
chown mail:mail /var/lib/courier/authdaemon
chown mail:mail /usr/local/etc/couier/authlib/authdaemonrc


(then I moved the startup scripts to the init.d folder)

cp courier-authlib.sysvinit /etc/init.d/courier-auth

Here's where I am having trouble:

/etc/init.d/courier-auth start
bash: /etc/init.d/courier-auth: Permission Denied


I'm not sure why the root user would be denied permissions. Did I create my directories wrong maybe?

Thanks...
__________________
There are 10 types of people in the world.
Those who can read binary, and those who can't.
DaijoubuKun's Avatar
Member with 73 posts.
 
Join Date: Oct 2005
Experience: Advanced
24-Oct-2005, 05:47 PM #2
it is possible that the program is designed so that you can not run it as root. chown and chgrp the file in your init.d to mail:mail like you have the other files. then su to the mail user and try to run it. also double check it that the file in your init.d dir is actually executable. If it's not that's usually why bash won't let you run it.

type 'ls -l' then look at your output, the first thing you'll see are the file permissions, you usually want rwxr-xr-x, but as long at the first part show it's executable you should be good.
__________________
I'm a creationist; I refuse to believe that I could have evolved from man.
bluemike's Avatar
Senior Member with 255 posts.
 
Join Date: May 2000
Location: Everett, WA, US
Experience: Advanced
25-Oct-2005, 06:24 PM #3
Thanks, that seemed to do the trick....

But now I have another question that I post seperately :P
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:15 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.