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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3224.1391127602@warthog.procyon.org.uk>
Date:	Fri, 31 Jan 2014 00:20:02 +0000
From:	David Howells <dhowells@...hat.com>
To:	"Eric W. Biederman" <ebiederm@...ssion.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	dhowells@...hat.com, linux-kernel@...r.kernel.org,
	linux-afs@...ts.infradead.org,
	Pali Rohár <pali.rohar@...il.com>
Subject: Re: [PATCH] afs: proc cells and rootcell are writeable


Further:

	[root@...romeda ~]# touch /tmp/foo
	[root@...romeda ~]# chmod 0444 /tmp/foo
	[root@...romeda ~]# ls -l /tmp/foo
	-r--r--r--. 1 root root 0 Jan 31 00:17 /tmp/foo
	[root@...romeda ~]# echo hello >/tmp/foo
	[root@...romeda ~]# ls -l /tmp/foo
	-r--r--r--. 1 root root 6 Jan 31 00:17 /tmp/foo
	[root@...romeda ~]# 

But:

	[root@...romeda ~]# su - dhowells
	[dhowells@...romeda ~]$ touch /tmp/bar
	[dhowells@...romeda ~]$ chmod 0444 /tmp/bar
	[dhowells@...romeda ~]$ ls -l /tmp/bar
	-r--r--r--. 1 dhowells dhowells 0 Jan 31 00:19 /tmp/bar
	[dhowells@...romeda ~]$ echo hello >/tmp/bar
	-bash: /tmp/bar: Permission denied

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ