The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ssh permission denied gefa AIX 3 5 Hours Ago 07:52 AM
Permission Denied howeezy UNIX for Dummies Questions & Answers 0 09-14-2005 06:52 AM
tar : permission denied big123456 UNIX for Advanced & Expert Users 0 09-09-2005 01:32 AM
rcp 'permission denied' Kevin Pryke UNIX for Dummies Questions & Answers 6 04-24-2002 01:20 AM
Permission Denied using VI on my NFS jennifer UNIX for Dummies Questions & Answers 4 08-08-2001 03:34 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-26-2008
Registered User
 

Join Date: May 2008
Posts: 1
Unhappy ls -l /a_dir/.. : permission denied

OK, I am a newbie but ...

from a sub-dir of the root-dir, when I do an "ls -l ..", I get "..: Permission denied".
The same from another directory is OK.
when I "cd /" the do "ls -l /a_dir/.."
/a_dir/..: Permission denied
but "ls -l /" gives no error.
being in / , doing ls -l /.. (as root dir is parent of itself...) is OK.

root-dir has drwxr-xr-x
sub-dir has drwxr-xr-x and was created by root user.

I also get "permission denied with "ls -i .."
I've been googling for a while without being able to find a hint.

Last edited by solario; 05-26-2008 at 01:35 PM.
Reply With Quote
Forum Sponsor
  #2  
Old 05-26-2008
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,031
Don't know your environment but best ask your administrator. If he is on vacation, post the output of the following commands:
Code:
who am i
echo $SHELL
cd /
ls -la |  grep a_dir
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0