← Back to team overview

kernel-packages team mailing list archive

[Bug 1454112] [NEW] Group permissions not respected with "--manage-gids" enabled

 

Public bug reported:

user@cloudVM:/mnt/extraFiles/chroot/home$ ls -l
total 20
drwxrws--- 6 storageUsers storageUsers 4096 maj 12 08:14 actualCommonFiles
drwxr-xr-x 2 root         root         4096 maj 12 07:32 commonFilesR
drwxrwxr-x 8 user  user  4096 maj 12 08:14 user
drwxrwxr-x 2 user  user  4096 maj  9 16:52 guest
drwxr-xr-x 3 storageUsers storageUsers 4096 maj 12 08:50 test

user@cloudVM:/mnt/extraFiles/chroot/home$ groups
user storageUsers commonFilesRW

     ---With "--manage-gids" enabled in /etc/default/nfs-kernel-server (default for Ubuntu 14.04):
user@cloudVM:/mnt/extraFiles/chroot/home$ cd actualCommonFiles/
bash: cd: actualCommonFiles/: Permission denied

     ---Without --manage-gids":
user@cloudVM:/mnt/extraFiles/chroot/home$ cd actualCommonFiles/
user@cloudVM:/mnt/extraFiles/chroot/home/actualCommonFiles$

========

- Expected:

"user" is member of "storageUsers" and should have Read, Write, and List
rights for "actualCommonFiles". "cd" should be successful.

- Happened:

"user" was denied access to the "storageUsers" directory.

=======

- This bug has been filed a long time ago
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/409366 but was
closed.

- NFS Server:

Release:
   Ubuntu 14.04.2 LTS
nfs-kernel-server version:
   Installed: 1:1.2.8-6ubuntu1

- NFS Client:

Release:
   Debian 8
nfs-common:
   Installed: 1:1.2.8-9

//Please excuse any mistakes, this is my first bug report, Thank You.

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: linux (Ubuntu) => nfs-utils (Ubuntu)

** Description changed:

  user@cloudVM:/mnt/extraFiles/chroot/home$ ls -l
  total 20
  drwxrws--- 6 storageUsers storageUsers 4096 maj 12 08:14 actualCommonFiles
  drwxr-xr-x 2 root         root         4096 maj 12 07:32 commonFilesR
- drwxrwxr-x 8 gorbyebrius  gorbyebrius  4096 maj 12 08:14 gorbyebrius
- drwxrwxr-x 2 gorbyebrius  gorbyebrius  4096 maj  9 16:52 guest
+ drwxrwxr-x 8 user  user  4096 maj 12 08:14 user
+ drwxrwxr-x 2 user  user  4096 maj  9 16:52 guest
  drwxr-xr-x 3 storageUsers storageUsers 4096 maj 12 08:50 test
  
  user@cloudVM:/mnt/extraFiles/chroot/home$ groups
  user storageUsers commonFilesRW
  
-      ---With "--manage-gids" enabled in /etc/default/nfs-kernel-server (default for Ubuntu 14.04):
+      ---With "--manage-gids" enabled in /etc/default/nfs-kernel-server (default for Ubuntu 14.04):
  user@cloudVM:/mnt/extraFiles/chroot/home$ cd actualCommonFiles/
  bash: cd: actualCommonFiles/: Permission denied
  
-      ---Without --manage-gids":
+      ---Without --manage-gids":
  user@cloudVM:/mnt/extraFiles/chroot/home$ cd actualCommonFiles/
- user@cloudVM:/mnt/extraFiles/chroot/home/actualCommonFiles$ 
- 
+ user@cloudVM:/mnt/extraFiles/chroot/home/actualCommonFiles$
  
  ========
  
  - Expected:
  
  "user" is member of "storageUsers" and should have Read, Write, and List
  rights for "actualCommonFiles". "cd" should be successful.
  
- 
  - Happened:
  
  "user" was denied access to the "storageUsers" directory.
- 
  
  =======
  
  - This bug has been filed a long time ago
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/409366 but was
  closed.
  
  - NFS Server:
  
- Release: 
-    Ubuntu 14.04.2 LTS
- nfs-kernel-server version: 
-    Installed: 1:1.2.8-6ubuntu1
- 
+ Release:
+    Ubuntu 14.04.2 LTS
+ nfs-kernel-server version:
+    Installed: 1:1.2.8-6ubuntu1
  
  - NFS Client:
  
- Release: 
-    Debian 8
- nfs-common: 
-    Installed: 1:1.2.8-9 
- 
+ Release:
+    Debian 8
+ nfs-common:
+    Installed: 1:1.2.8-9
  
  //Please excuse any mistakes, this is my first bug report, Thank You.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1454112

Title:
  Group permissions not respected with "--manage-gids" enabled

Status in nfs-utils package in Ubuntu:
  New

Bug description:
  user@cloudVM:/mnt/extraFiles/chroot/home$ ls -l
  total 20
  drwxrws--- 6 storageUsers storageUsers 4096 maj 12 08:14 actualCommonFiles
  drwxr-xr-x 2 root         root         4096 maj 12 07:32 commonFilesR
  drwxrwxr-x 8 user  user  4096 maj 12 08:14 user
  drwxrwxr-x 2 user  user  4096 maj  9 16:52 guest
  drwxr-xr-x 3 storageUsers storageUsers 4096 maj 12 08:50 test

  user@cloudVM:/mnt/extraFiles/chroot/home$ groups
  user storageUsers commonFilesRW

       ---With "--manage-gids" enabled in /etc/default/nfs-kernel-server (default for Ubuntu 14.04):
  user@cloudVM:/mnt/extraFiles/chroot/home$ cd actualCommonFiles/
  bash: cd: actualCommonFiles/: Permission denied

       ---Without --manage-gids":
  user@cloudVM:/mnt/extraFiles/chroot/home$ cd actualCommonFiles/
  user@cloudVM:/mnt/extraFiles/chroot/home/actualCommonFiles$

  ========

  - Expected:

  "user" is member of "storageUsers" and should have Read, Write, and
  List rights for "actualCommonFiles". "cd" should be successful.

  - Happened:

  "user" was denied access to the "storageUsers" directory.

  =======

  - This bug has been filed a long time ago
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/409366 but was
  closed.

  - NFS Server:

  Release:
     Ubuntu 14.04.2 LTS
  nfs-kernel-server version:
     Installed: 1:1.2.8-6ubuntu1

  - NFS Client:

  Release:
     Debian 8
  nfs-common:
     Installed: 1:1.2.8-9

  //Please excuse any mistakes, this is my first bug report, Thank You.

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


Follow ups

References