Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270274 > unrolled thread

Re: Re: Having ten thousands of mount bind causes various processes to go into loops

Started byJulien Petit <julien@nethik.fr>
First post2024-06-20 00:30 +0200
Last post2024-06-20 00:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Re: Re: Having ten thousands of mount bind causes various processes  to go into loops Julien Petit <julien@nethik.fr> - 2024-06-20 00:30 +0200
    Re: Having ten thousands of mount bind causes various processes to go  into loops Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2024-06-20 00:40 +0200

#270274 — Re: Re: Having ten thousands of mount bind causes various processes to go into loops

FromJulien Petit <julien@nethik.fr>
Date2024-06-20 00:30 +0200
SubjectRe: Re: Having ten thousands of mount bind causes various processes to go into loops
Message-ID<IRbYt-48Yb-1@gated-at.bofh.it>
> Does it really have to be in the home directory? Can't the software (and/or the users) open files in, say, /shared/accounting?

It doesn't really matter where folders/mounts are. Users can share any
directory (and subdirectories) in their home directory with any other
user. The shared folder is mounted in the special directory "Shared
with me" of the recipient home directory. I.e: John/Sales/Invoices is
mounted in Alice/Shared with me/Invoices.

> If it really needs to be under /home: symlinks.

Symlinks are no good since the user sharing his directory can decide
to share it read/write to one user but read only to another

[toc] | [next] | [standalone]


#270276 — Re: Having ten thousands of mount bind causes various processes to go into loops

FromEduardo M KALINOWSKI <eduardo@kalinowski.com.br>
Date2024-06-20 00:40 +0200
SubjectRe: Having ten thousands of mount bind causes various processes to go into loops
Message-ID<IRc8a-491t-7@gated-at.bofh.it>
In reply to#270274
On 19/06/2024 19:06, Julien Petit wrote:
> It doesn't really matter where folders/mounts are. Users can share any
> directory (and subdirectories) in their home directory with any other
> user. The shared folder is mounted in the special directory "Shared
> with me" of the recipient home directory. I.e: John/Sales/Invoices is
> mounted in Alice/Shared with me/Invoices.

Can be done with symlinks.

I imagine there's some process that creates these bind mounts, so the 
process could create symlinks.

> Symlinks are no good since the user sharing his directory can decide
> to share it read/write to one user but read only to another

This can be solved with ACLs. Instead of creating a bind mount, this 
process that allows the user to share the directory can set an ACL and 
create a symlink.

PS: It would be better if you used a mailer that correctly sets mail 
headers References and/or In-Reply-To so that your replies are properly 
threaded.


-- 
Go placidly amid the noise and waste, and remember what value there may
be in owning a piece thereof.
		-- National Lampoon, "Deteriorata"

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web