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

From: Richard L. Hamilton (Richard.L.Hamilton_at_mindwarp.smart.net)
Date: 08/26/04


Date: Thu, 26 Aug 2004 01:22:56 -0000

In article <uiefz6bf1wb.fsf@socrates.berkeley.edu>,
        Rusty Wright <rusty@socrates.Berkeley.EDU> writes:
> You're doing it as root, that's why it succeeded.
>
> Unix has always behaved this way; if the directory a filesystem is
> mounted on has restrictive permissions then pwd can fail.

Ok, I just recreated it, and in another post pegged it to EACCESS on
the .. of the top-level directory of the mounted filesystem, which is
apparently being mapped to the underlying mount point, and incorrectly,
the permissions on the underlying mount point are being applied to
accessing that even when it's a special case like that.

I would think that permission 0111 on the underlying mount point would be
sufficient to prevent that until (if/when) it's fixed.

-- 
mailto:rlhamil@smart.net  http://www.smart.net/~rlhamil
Lasik/PRK theme music:
    "In the Hall of the Mountain King", from "Peer Gynt"


Relevant Pages

  • Re: odd behaviour of "pwd" & "df" after Live Upgrade?
    ... > Unix has always behaved this way; if the directory a filesystem is ... > mounted on has restrictive permissions then pwd can fail. ... of the top-level directory of the mounted filesystem, ... apparently being mapped to the underlying mount point, and incorrectly, ...
    (comp.unix.solaris)
  • Re: odd behaviour of "pwd" & "df" after Live Upgrade?
    ... > Unix has always behaved this way; if the directory a filesystem is ... > mounted on has restrictive permissions then pwd can fail. ... of the top-level directory of the mounted filesystem, ... apparently being mapped to the underlying mount point, and incorrectly, ...
    (comp.sys.sun.hardware)
  • Re: changing inode permissions
    ... with the permissions underlying the /var mount. ... Can you reboot the machines (startup script ... you'd be writing behind the filesystem. ... with running fsck on a mounted filesystem. ...
    (comp.unix.solaris)
  • Re: Security and Sharing
    ... When they are logged in locally only the filesystem permissions are needed. ... When they access over the network they can do anything that the filesystem ... If you want then to be able to read files and browse the folder structure ...
    (microsoft.public.security)
  • Re: Security and Sharing
    ... When they are logged in locally only the filesystem permissions are needed. ... When they access over the network they can do anything that the filesystem ... If you want then to be able to read files and browse the folder structure ...
    (microsoft.public.security)