LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-22-2009, 08:22 AM   #1
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Soft link "Premission denied"


I am confguring ldap on my linux box, the problem is i have made the soft link of the conf file to some other location. now when i start it it says permission denied to that conf file.
But when i copy the file in that directory it works fine. I am starting it with root user

any suggestions on this
 
Old 05-22-2009, 09:38 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,638

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by PMP View Post
I am confguring ldap on my linux box, the problem is i have made the soft link of the conf file to some other location. now when i start it it says permission denied to that conf file.
But when i copy the file in that directory it works fine. I am starting it with root user

any suggestions on this
Not meaning to sound like a twit, but don't symlink it.

Some programs (especially things like authentication daemons), won't work with symlinked config files. That way, some joker can't shove his own file out there and link it in, and give himself root privs. Some programs don't care, though....
 
  


Reply

Tags
denied, symlinks



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
"creating symbolic link" "operation not permitted" wheni Linux - Newbie 3 05-08-2011 01:36 AM
"Permission denied" and "recursive directory loop" when searching for string in files mack1e Linux - Newbie 5 06-12-2008 07:38 AM
my linux is not booting and says "bug:soft lockup on cpu 01" amolgupta Linux - Software 1 12-13-2006 05:45 AM
What cheap and "on the market" soft fax modem to buy Noerr Linux - Hardware 2 05-27-2002 02:15 PM
Does anyone know how to make a "soft" link permenant? falcon56215 Linux - General 4 01-30-2002 05:16 AM

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

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