Hi Jochen,

Thank you for taking a look at this. My setup is for a lab that uses a
central storage server to host all their data (homes, shared dirs,
everything) so that workstations are fully interchangeable. The storage
server is accessible via cifs using campus AD credentials. The storage
volume containing the lab's data is shared at the root level and mounted
at a specific top-level directory (e.g. "/data2") on the lab's
workstations and some hosted systems in the HPC center; user homes look
like "/data2/home/{username}".

I have found that file ownership and permissions aren't set properly for
users on the cifs share if they use a mount made by another user. (I
don't have notes on everything I tried, but I spent a while a couple
years ago testing various mount options without finding anything
satisfactory.) I have used polydirs to get around this problem; by
making the mount point (/data2) a polydir, each user is able to mount
the cifs share to the same mount point using their own credentials even
if another user is already logged in and has the share mounted.

Here's what I see for the polydir using the code you provided:

source: /dev/mapper/ubuntu--vg-ubuntu--lv target: /data2

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

Title:
  mounts to polydirs not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1908638/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to