Re: RELENG_6 weird '..' permission troubles



* Yar Tikhiy <yar@xxxxxxxxxxxxxxxx> [2006-02-19 13:58 +0300]:
This looks like a file-a-PR case if you are sure you didn't overlook
anything. To the best of my knowledge, the underlying mount point
permissions should affect nothing since the FS was mounted. But
you didn't show us output from "ls -la /" so please judge by yourself.

This behaviour is known and documented.

http://www.freebsd.org/cgi/man.cgi?query=mount&apropos=0&sektion=0&manpath=FreeBSD+6.0-RELEASE+and+Ports&format=html

After a successful mount, the permissions on the original mount point
determine if .. is accessible from the mounted file system. The minimum
permissions for the mount point for traversal across the mount point in
both directions to be possible for all users is 0111 (execute for all).

Nicolas

--
http://www.rachinsky.de/nicolas
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: writeprotection of unmounted mountpoints automaitcally - possible??
    ... >>options should change the permissions. ... Changing the mount point options does not affect the mount ... root can still write to the raw device, ... will be usable by the regular user, but the directory will not be ...
    (Fedora)
  • Re: [RFC] FUSE permission modell (Was: fuse review bits)
    ... > 2) Suid and device semantics should be disabled within the mount ... I can see plenty of uses where I want a filesystem generated by ... permissions model - which will break some programs? ... For most virtual filesystems, the "remote" information does not map to ...
    (Linux-Kernel)
  • Re: R/W access of a vfat partition by any user ?
    ... FAT32 partition will be writable by any user instead of just root. ... users Allow every user to mount and unmount the file system. ... The 'umask=022' makes all files and directories have rwxr-xr-x permissions. ... If you want different perms and you don't speak binary, ...
    (alt.os.linux.suse)
  • Re: [Pan] Sig Not Functioning
    ... Depends on how you mount it. ... FAT itself doesn't have any ... concept of permissions. ... so tried to execute the file. ...
    (news.software.readers)
  • Re: RELENG_6 weird .. permission troubles
    ... YT>> JW> I've seen something very similar when the permissions of the mount point's ... To the best of my knowledge, the underlying mount point ... YT> permissions should affect nothing since the FS was mounted. ... root@woozle:/var/tmp# exit ...
    (freebsd-stable)