Permission denied message for parent directory


 
Thread Tools Search this Thread
Operating Systems Solaris Permission denied message for parent directory
# 1  
Old 02-18-2009
Data Permission denied message for parent directory

Hi All,

I have an issue that's eating my head for few days. I would appreciate if anyone could help me out in this to resolve this.

In Solaris 8 container I am facing the below issue.

As oracle user when I do ls -l in /dboracle mountpoint getting permission denied error messages.

$ ls -la
./..: Permission denied
total 8
drwxrwx--- 8 oracle dba 1024 Feb 18 16:14 .
drwxrwxr-x 6 oracle dba 1024 Jan 30 15:36 admin
drwxrwxr-x 2 oracle dba 96 Jan 27 15:28 lost+found
drwxrwxr-x 6 oracle dba 96 Feb 18 06:23 orabase
drwxrwxr-x 6 oracle dba 1024 Feb 17 14:07 oracle
drwxr-xr-x 5 oracle dba 1024 Feb 18 11:50 software
drwxrwxr-x 3 oracle dba 96 Jan 2 06:01 tools
$ id
uid=1000047(oracle) gid=90(dba)
$ pwd
/dboracle
$ ls -ld
drwxrwx--- 8 oracle dba 1024 Feb 18 16:14 .

Thanks
Sreerag
# 2  
Old 02-18-2009
Code:
cd /
ls -ld dboracle
ls -ld /

What does this show you? ./.. as I see it is / : the root directory.
# 3  
Old 02-19-2009
check your permissions for /dboracle directory first
# 4  
Old 02-19-2009
ITs working fine now...
we changed the dboracle permition to 777 and its working fine now Smilie...

Thanks for the replies....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Asking about the permission inherit from the parent directory

Asking about the permission inherit from the parent directory I am running the web app with tomcat8, I did use umask 007 to set permission for folder which enable the sub files and folder inherit the permission from the parent directory, I was successful which some directories but the directories... (2 Replies)
Discussion started by: janecaongoc
2 Replies

2. UNIX for Beginners Questions & Answers

Asking about the permission inherit from the parent directory

Asking about the permission inherit from the parent directory I am running the web app with tomcat8, I did use umask 007 to set permission for folder which enable the sub files and folder inherit the permission from the parent directory, I was successful which some directories but the directories... (1 Reply)
Discussion started by: janecaongoc
1 Replies

3. Red Hat

Mkdir: cannot create directory `/home/phpmy/html': Permission denied centos

for incompatibility installation problems, I've decided to reinstall Centos 6.3 as can be seem from the df output, I've partitioned both / and and /home directories $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda8 12G 5.3G 6.5G 45% / tmpfs ... (2 Replies)
Discussion started by: jediwannabe
2 Replies

4. Programming

msgget message queue always get permission denied

I want to use msgget() to obtain a message queue between two processes, here is my code: the first one create the mq, the second one open it and add a message to it. But when I execute the second one, I get permission denied. I've already desperately tried everything I can think of to solve this... (2 Replies)
Discussion started by: tefino
2 Replies

5. UNIX for Dummies Questions & Answers

Parent/child directory permission

Hi there, I want to restrict a users account to only a subdirectory, but it does not seem to be working. For example /dir1/dir2/dir3/dir4 user A is only allowed to do things in dir4. the permission is 777. i've set the permissions to 700 on dir3, dir2, and dir1 to prevent them from... (3 Replies)
Discussion started by: newbie121
3 Replies

6. UNIX for Dummies Questions & Answers

mkdir: cannot create directory `/builds/somedir/': Permission denied

Hi, I am trying to run a shell script which contains an mkdir command as part of the execution. The script fails with the following error: mkdir: cannot create directory `/builds/somedir/': Permission denied The user running the script is 'harry' and belongs to group 'school'.... (5 Replies)
Discussion started by: Technext
5 Replies

7. Programming

Permission denied when creating message queue

Hi guys. i have wrote a simple program to test message queue attributes. here it is: #include <stdio.h> #include <stdlib.h> #include <mqueue.h> #include <fcntl.h> #include <string.h> #include <errno.h> #include <sys/stat.h> int main() { struct mq_attr attr; mqd_t mqd; ... (2 Replies)
Discussion started by: majid.merkava
2 Replies

8. Shell Programming and Scripting

Executing expect script giving message as bad interpreter: Permission denied

Hi Gurus, I am new to scripting and needs your help in expect script used for telnet. I wrote a simple script as #!/usr/bin/expect-5.43 -f spawn telnet localhost 2233 expect "password:" send "secret\r" send "i data.cnbc.com\r" send "exit\r" expect eof When I am trying to execute... (2 Replies)
Discussion started by: niks_yv
2 Replies

9. UNIX for Dummies Questions & Answers

Why do I keep getting .:Permission denied?

I'll start off by saying that I know very little about Unix - however, I do know that I have a .profile file in my home directory, and that I should be able to invoke it by typing . profile. However, when I do this for ANY .filename, I get ".: Permission denied". I'm pretty sure that there is... (12 Replies)
Discussion started by: bbersani
12 Replies

10. UNIX for Dummies Questions & Answers

permission denied??

i'm trying to set up my internet connection and i was told i need to edit the file /etc/ppp/pap-secrets but i get a permission denied message...why?? (6 Replies)
Discussion started by: justchillin
6 Replies
Login or Register to Ask a Question