Re: odd behaviour of "pwd" & "df" after Live Upgrade?

From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 08/25/04


Date: Wed, 25 Aug 2004 00:27:30 GMT

In comp.unix.solaris Richard L. Hamilton <Richard.L.Hamilton@mindwarp.smart.net> wrote:

>>> > google% pwd
>>> > pwd: cannot determine current directory!
>>> > google% df -k .
>>> > df: cannot canonicalize .: Permission denied
>>> > google%
>>> > google% cd
>>> > google% pwd
>>> > /export/home/solaris
>>> > google% df -k .
>>> > Filesystem kbytes used avail capacity Mounted on
>>> > /dev/dsk/c0t1d0s7 2992760 1174337 1788496 40% /export/home
>>> > google%

>> Yep, it's the permissions on the underlying mount point... I would try this:
>>
>> umount /export/home
>> chmod 755 /export/home
>> mount /export/home
>>
>> should take care of the problem....

> Now wait a minute - I thought underlying mount point permissions only
> were used by certain filesystems (like to provide initial top-level
> permission for tmpfs filesystems). I'm fairly sure they're _not_ used
> by ufs.

'used' or 'supposed to be used'?

I don't know if it's an actual bug or not, but the behavior of
underlying permissions on the mount point causing this kind of problem
has been in UFS for some time.

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >


Relevant Pages

  • Re: odd behaviour of "pwd" & "df" after Live Upgrade?
    ... >> should take care of the problem.... ... > were used by certain filesystems (like to provide initial top-level ... has been in UFS for some time. ...
    (comp.unix.solaris)
  • Re: odd behaviour of "pwd" & "df" after Live Upgrade?
    ... >> should take care of the problem.... ... > were used by certain filesystems (like to provide initial top-level ... has been in UFS for some time. ...
    (comp.sys.sun.hardware)
  • Re: [uPATCH] refuse plain ufs mount
    ... >> But you see, it wasn't the user at all, and it wasn't a ufs filesystem. ... >> It is kernel probing that causes error messages. ... > This time you prefer practice: the list of filesystems is full of garbage ... > Be that as it may - below a patch as I suppose you had in mind. ...
    (Linux-Kernel)
  • Re: Linux Support for UFS
    ... > filesystems, ... NTFS partition they want to use. ... you're going to need FAT support. ... many people using UFS on BSD that also dual-boot to Linux. ...
    (comp.os.linux)
  • Re: Sun ZFS vs. Oracle ASM
    ... > filesystems have pretty much worked for the last 20+ years perfectly well. ... to UFS or VxFS -- both of which are creaking at the seams ... design which we are working with actually let us accomplish ...
    (comp.unix.solaris)