Re: knfsd and append-only attribute: "operation not permitted"

From: Aaron D. Ball (adb_at_bdi.com)
Date: 01/21/05

  • Next message: Lars Marowsky-Bree: "Re: 2.6.11-rc1-bk9 crash in mdadm"
    Date:	Fri, 21 Jan 2005 11:23:17 -0500
    To: Trond Myklebust <trond.myklebust@fys.uio.no>
    
    

    Trond Myklebust wrote:

    >fr den 21.01.2005 Klokka 17:44 (+0300) skreiv Vladimir Saveliev:
    >
    >
    >> fs/nfsd/vfs.c:nfsd_open() refuses to open append only files.
    >
    >
    >Append-only is an unsupported concept in the all existing revisions of
    >the NFS protocol. In fact, NFS has no support for append writes at all:
    >they have to be emulated by the clients.
    >
    >
    OK, but that certainly shouldn't preclude read access. The way it is
    now, you can't even list append-only directories. It seems like this
    check should treat append-only files as read-only, only failing to open
    them if write access is requested, rather than failing all the time like
    it does now.

    In this particular case, I'm not using append-only files, but rather
    using immutable files and append-only directories to create an archival
    space where things can be added but not changed. Even if the protocol
    can't deal with append-only regular files, isn't it possible to allow
    mkdir but not rmdir?

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Lars Marowsky-Bree: "Re: 2.6.11-rc1-bk9 crash in mdadm"

    Relevant Pages