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


Groups > linux.debian.user > #230384

Re: Is this possible with DAC or ACL?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Is this possible with DAC or ACL?
Date 2021-01-06 17:30 +0100
Message-ID <BujR7-3cS-5@gated-at.bofh.it> (permalink)
References <Buj4L-2Gm-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 06 Jan 2021 at 16:32:02 (+0100), Yvan Masson wrote:
> Hi list,
> 
> Let's say I have a directory `/dir`. Is it possible to allow a user to
> do whatever he wants inside this directory, but not to delete `/dir`?
> 
> I can use Unix ACL if needed.

Take a look at your own home directory, which behaves more or less as
you described. (IIRC Debian might set group ID on home directories.)

I set up pseudo-home directories like this, eg music, pictures etc,
and I place them under /home, rather than /, so that they reside in
my encrypted /home partition. They're all chown'd to belong to me.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is this possible with DAC or ACL? Yvan Masson <yvan@masson-informatique.fr> - 2021-01-06 16:40 +0100
  Re: Is this possible with DAC or ACL? Reco <recoverym4n@enotuniq.net> - 2021-01-06 16:40 +0100
  Re: Is this possible with DAC or ACL? David Wright <deblis@lionunicorn.co.uk> - 2021-01-06 17:30 +0100
  Re: Is this possible with DAC or ACL? Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-06 19:40 +0100
    Re: Is this possible with DAC or ACL? Yvan Masson <yvan@masson-informatique.fr> - 2021-01-07 13:00 +0100

csiph-web