Home

Results 1 to 3 of 3

Thread: rights command on ReiserFS - is it meant to work?

Hybrid View

  1. #1
    Ryan NNTP User

    rights command on ReiserFS - is it meant to work?

    I have a server setup with some NCP shares, one on a ReiserFS LVM volume
    and one on an NSS volume - doing some testing:

    ResierFS on LVM:
    /dev/mapper/system-disk on /disk type reiserfs (rw)

    NSS:
    DATA on /media/nss/DATA type nssvol (rw,name=DATA)


    When I use the rights command on the NSS volume it works fine, but on
    the Resier volume is reports an error as below:

    Command: rights -f FOLDER/ -r rcf trustee user.org.TREE
    Error adding trustee: Error finding file

    I've tried every combination thinking I had the syntax wrong, but the
    command works perfectly on the NSS volume.

    If I assign trustee rights using a Windows PC, it correctly works on
    both volumes and is reflected correctly in the trustees database xml
    file on both volumes.

    Am I missing something here? Is what I'm doing supposed to work or is
    it a known limitation?

    The reason I'm trying this is to do test a complete data restore from
    backups after parsing the trustees XML file and generating the rights
    commands. Works fine on NSS, not Reiser, as above.

    Thanks,

    Ryan

  2. #2
    Marcus Breiden NNTP User

    Re: rights command on ReiserFS - is it meant to work?

    Ryan wrote:

    > Am I missing something here? *Is what I'm doing supposed to work or is
    > it a known limitation?

    I'm not 100% sure but I think that's the way it works..

    the NCP server will use the xml file if you are comming via the ncp "volume"
    but on the local partition only the native rights work.

    the rights command on the local linux box will directly set the rights on
    the filesystem.. in which case nss does work as it understands the rights
    and reiser fails..

    I would guess that we see some changes there in the future.. I guess if
    nobody else answers the best think to hack this would be to parse the xml
    file and make the corresponding changes to it so that it maps correctly to
    the new location, keep in mind that it is only being used from the outside
    if it is reiser..
    --
    Marcus Breiden

    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  3. #3
    Ryan NNTP User

    Re: rights command on ReiserFS - is it meant to work?

    Marcus Breiden wrote:

    > I'm not 100% sure but I think that's the way it works..
    >
    > the NCP server will use the xml file if you are comming via the ncp "volume"
    > but on the local partition only the native rights work.
    >
    > the rights command on the local linux box will directly set the rights on
    > the filesystem.. in which case nss does work as it understands the rights
    > and reiser fails..
    >
    > I would guess that we see some changes there in the future.. I guess if
    > nobody else answers the best think to hack this would be to parse the xml
    > file and make the corresponding changes to it so that it maps correctly to
    > the new location, keep in mind that it is only being used from the outside
    > if it is reiser..


    Ahh yes, that makes sense now.

    I realised on the SYS share there is a RIGHTS.EXE file which I could
    achieve the same thing with in the 'external' sense from a Windows PC.
    I've just tried and it works, but takes a different syntax, so with a
    small tweak I guess that is a solution.

    Cheers,

    Ryan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •