lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <42bc44533e997531baa79c73867a942504122886.camel@interlinx.bc.ca>
Date: Tue, 16 Jan 2024 08:26:14 -0500
From: "Brian J. Murrell" <brian@...erlinx.bc.ca>
To: linux-ext4@...r.kernel.org
Subject: Protecting lost+found from rmdir by directory owner?

Let's say I create a new ext4 filesystem for exclusive use by alice and
when I mount it, say, on /mnt/alice I set the permissions so that alice
can work in that directory:

# mkfs.ext4 /dev/foo
# mount /dev/foo /mnt/alice
# chown alice:alice /mnt/alice
# chmod 775 /mnt/alice

But now /mnt/alice/lost+found is at the mercy of alice since she has
write permission for /mnt/alice.

[How] can I protect /mnt/alice/lost+found from removal by alice?

Thoughts?

b.


Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists