LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-14-2004, 02:37 PM   #1
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Rep: Reputation: 15
Unhappy Permission Denied


Hello,


I tried to apply a Oracle Patch.
When I ran the patch, I got the following message:

bash: -- ............: permission denied

1) What exactly does the permission denied mean ?
2) Has the patch been applied or not ?

The patch is suppose to modify the ld.so file.
There are 3 files: (ld.so.conf, ld.so.cache, ld.so.preload). I am not sure which file should be modified ??
I get the impression that the patch was not applied. From the root user, I switched to the oracle user.

PT
 
Old 12-14-2004, 02:45 PM   #2
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
Permissions problem maybe? Did you give +x permissions to that file?
 
Old 12-14-2004, 02:48 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
It means exactly what it says, you don't have enough rights to install that patch. You may need to do it as root or give execution permissions as mentioned above.
 
Old 12-14-2004, 02:53 PM   #4
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
Unhappy Changing File Permissions

Hello,

The patch says that it modifies the ld.so file.
Looking through the /etc folder, I have 3 variations of that file.

1) Will running: chmod +x ld.so... on all 3 files do the job ?

PT
 
Old 12-14-2004, 02:55 PM   #5
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
You should only have to give the execute permission to what you're trying to install, and have rights to modify the files it effects.

sudo, or do it as root, and give +x to the file.
 
Old 12-14-2004, 02:56 PM   #6
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
Unhappy libcwait + ld File Roles

Hello,

The patch is suppose to append/modify the following files:

/etc/libcwait.so
/etc/ld.so

As I have said, I have 3 variations of the file:

ld.so.cache
ld.so.conf
ld.so.preload

1) What is the role of these files ?

PT
 
Old 12-14-2004, 03:00 PM   #7
ddu_
Member
 
Registered: Dec 2004
Distribution: Slackware
Posts: 114

Rep: Reputation: 16
man ld.so

It gives you a pretty good list of what each does under "Files"
 
Old 12-16-2004, 02:14 PM   #8
ptreves
Member
 
Registered: Jun 2004
Location: Montreal
Distribution: Red Hat 8
Posts: 120

Original Poster
Rep: Reputation: 15
Unhappy Command not found ??

Hello,

When typing: su - oracle

I get the message: -bash: -a: command not found

PT
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Permission Denied jamesvenning1 Linux - Newbie 4 06-05-2005 11:32 AM
Permission denied jagman026 Fedora 3 01-01-2005 03:45 PM
how is it that su - can be denied permission??? Lleb_KCir Linux - General 10 03-24-2004 10:47 PM
Permission denied? jbhoo Linux From Scratch 1 04-27-2002 09:12 PM

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

All times are GMT -5. The time now is 03:15 PM.

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