AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
  • 1.  ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Thu December 03, 2009 01:28 PM

    Originally posted by: ranjit_


    Hi, I am facing a peculier problem, From /usr filesystem if i ls for .. it returns the below error. It is only happening for non root users. I am able to do ( ls -ld .. ) from other filesystems like /opt /home etc. But can't do only from /usr.

    Please help ! ..
    Thanks ..
    Ranjit

    Error Below

    $ cd /usr
    $ ls -ld ..
    ls: 0653-345 ..: Permission denied.

    Other Helpful Info below

    $ uname -a
    AIX ngsvawrk186 3 5 00064ED1D600
    $ oslevel -r
    5300-08
    $ pwd
    /usr

    $ cd /
    $ ls -la
    total 19392
    drwxr-xr-x 38 root system 4096 03 Dec 15:36 .
    drwxr-xr-x 38 root system 4096 03 Dec 15:36 ..

    $ cd /usr
    $ ls -ld .
    drwxrwxrwx 43 root system 4096 03 Dec 16:54 .
    #AIX-Forum


  • 2.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Thu December 03, 2009 01:36 PM

    Originally posted by: orphy


    Why do you have 777 on /usr? Try changing it back to 755 and see if you still get the error.
    Orphy
    #AIX-Forum


  • 3.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Thu December 03, 2009 02:21 PM

    Originally posted by: j.gann


    funny thing, ain't it?

    check the permissions of the mountpoint (the /usr directory before the /usr filesystem is mounted). set it to 755.

    very probably /usr will be busy right now, preventing a umount. so boot from dvd or the like in maintenance mode and choose "access rootvg" and mount the root FS someplace (/dev/hd4 is the lv with the / FS most likely) to examine the /usr mountpoint. alternatively you can work your way through /sbin/rc.boot, find the place where /usr gets mounted and put an ls -l or chmod before it and reboot. know what you're doing in any case or get someone who does to assist you.
    #AIX-Forum


  • 4.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Thu December 03, 2009 05:44 PM

    Originally posted by: ranjit_


    Thanks Gann .. I will try your sugested rc.boot option tomorrow, that should be a clever way if it works ..
    #AIX-Forum


  • 5.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Thu December 03, 2009 08:52 PM

    Originally posted by: SystemAdmin


    This may be a dumb point; but I assume that you mounted the usr filesystem on an existing /usr directory, acting as its mount point?

    Could you post a "df -k" listing, to show it in position?

    I just wish to confirm that it is mounted correctly, since you are unable to see the parent directory.
    #AIX-Forum


  • 6.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Fri December 04, 2009 03:25 PM
      |   view attached

    Originally posted by: shargus


    Tried to reply to this thread yesterday but for some reason, my post keeps getting flagged with "Disallowed content detected."
    So, I'll try attaching this as a text file.

    If the underlying directory that /usr is mounted from has bad permissions, this can actually be fixed without unmounting or rebooting.
    The attached text document shows how.
    #AIX-Forum

    Attachment(s)



  • 7.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Fri December 04, 2009 05:28 PM

    Originally posted by: j.gann


    congratulations, astoundingly simple.
    #AIX-Forum


  • 8.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Fri May 18, 2012 01:30 PM

    Originally posted by: gtirloni


    JUST AWESOME! THANK YOU!

    I was pulling what's left of my hair.
    #AIX-Forum


  • 9.  Re: ls: 0653-345 ..: Permission denied. : Please Help .. AIX

    Posted Fri December 04, 2009 04:12 PM

    Originally posted by: ranjit_


    Hi Shargus, Spot on .. that's resolved the issue without need of reboot etc. Thanks a lot everyone for your help..

    Great forum ..
    #AIX-Forum