Re: Making crossmnt a default export option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar. 25, 2009, 20:53 +0200, Steve Dickson <SteveD@xxxxxxxxxx> wrote:
> Hello,
> 
> What would be the ramifications of turning on the crossmnt
> option on by default? Currently the the default is nocrossmnt.
> 
> In my recent work with pseudo exports, it has become very apparent
> that having the crossmnt always set, especially with multi file
> system exports, allows mount to "just work"!
> 
> So historically what is the reason for not allowing the clients
> to always cross file systems? Is it a security issue? 
> And again, what would be the ramifications always allowing, by
> default, clients to cross file systems?

http://www.ietf.org/rfc/rfc1813.txt:
3.3.3 Procedure 3: LOOKUP -  Lookup filename
   IMPLEMENTATION

      At first glance, in the case where what.name refers to a
      mount point on the server, two different replies seem
      possible. The server can return either the file handle for
      the underlying directory that is mounted on or the file
      handle of the root of the mounted directory.  This
      ambiguity is simply resolved. A server will not allow a
      LOOKUP operation to cross a mountpoint to the root of a
      different filesystem, even if the filesystem is exported.


> 
> steved.
>      
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux