[Bug 853723] Re: nfsv4 acl inheritance does not work remotely

Vladimir 853723 at bugs.launchpad.net
Mon Sep 19 09:10:41 UTC 2011


-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/853723

Title:
  nfsv4 acl inheritance does not work remotely

Status in “nfs-utils” package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

  Directory mounted on server (m1):
  /dev/cciss/c0d1p1 on /raid type reiserfs (rw,noatime,nodiratime,acl)

  The same directory mounted on client (m4) via nfsv4:
  m1:/projects on /export/projects type nfs4 (rw,noatime,hard,intr,acl,rsize=8192,wsize=8192,clientaddr=10.0.0.54,sloppy,addr=10.0.0.7)

  Create directory remotely (at client) and set nfs4 acl to inherit
  permissions:

  vk at m4:/projects$ mkdir aaa
  vk at m4:/projects$ chmod g+rwxs aaa
  vk at m4:/projects$ nfs4_setfacl -a A:fd:OWNER@:rwaDxtTcCy aaa
  vk at m4:/projects$ nfs4_setfacl -a A:fd:GROUP@:rwaDxtTcCy aaa
  vk at m4:/projects$ nfs4_getfacl aaa
  A::OWNER@:rwaDxtTcCy
  A::GROUP@:rwaDxtcy
  A::EVERYONE@:tcy
  A:fdi:OWNER@:rwaDxtTcCy
  A:fdi:GROUP@:rwaDxtcy
  A:fdi:EVERYONE@:tcy

  Now create subdirectory and file remotely (at client):

  vk at m4:/projects$ mkdir aaa/dir_ext
  vk at m4:/projects$ touch aaa/file_ext

  The same locally (at server):

  vk at m1:/projects$ mkdir aaa/dir_int
  vk at m1:/projects$ touch aaa/file_int

  Now check permissions of new directories and folders:

  remotely (from client):

  vk at m4:/projects$ ls -al aaa
  total 1
  drwxrws---  4 vk Users 144 2011-09-19 12:13 .
  drwxrwsr-x 27 cdsuser         Domain Users 760 2011-09-19 12:11 ..
  drwxr-s---  2 vladimir.kozlov Domain Users  48 2011-09-19 12:13 dir_ext
  drwxrws---  2 vladimir.kozlov Domain Users  48 2011-09-19 12:13 dir_int
  -rw-r-----  1 vladimir.kozlov Domain Users   0 2011-09-19 12:13 file_ext
  -rw-rw----  1 vladimir.kozlov Domain Users   0 2011-09-19 12:13 file_int

  and locally (from server):

  vladimir.kozlov at mosnfs01:/projects$ ls -al aaa
  total 1
  drwxrws---+  4 vk             Users 144 2011-09-19 12:13 .
  drwxrwsr-x  27 user           Users 760 2011-09-19 12:11 ..
  drwxr-s---+  2 vk             Users  48 2011-09-19 12:13 dir_ext
  drwxrws---+  2 vk             Users  48 2011-09-19 12:13 dir_int
  -rw-r-----+  1 vk             Users   0 2011-09-19 12:13 file_ext
  -rw-rw----+  1 vk             Users   0 2011-09-19 12:13 file_int

  There IS permissions' inheritance for locally created directory and
  file, but strangely enough there is NO permissions' inheritance for
  remotely created directory and file (note, that initial directory and
  acl were created and set remotely from client).

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: nfs-kernel-server 1:1.2.0-4ubuntu4.1
  ProcVersionSignature: Ubuntu 2.6.32-33.72-generic-pae 2.6.32.41+drm33.18
  Uname: Linux 2.6.32-33-generic-pae i686
  Architecture: i386
  Date: Mon Sep 19 12:55:00 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
  ProcEnviron:
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: nfs-utils

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/853723/+subscriptions




More information about the foundations-bugs mailing list