* Re: [PATCH] printk loglevel cleanup (again)
[not found] <mailman.1006876204.12313.linux-kernel2news@redhat.com>
@ 2001-11-27 17:58 ` Pete Zaitcev
2001-11-28 16:01 ` vda
0 siblings, 1 reply; 4+ messages in thread
From: Pete Zaitcev @ 2001-11-27 17:58 UTC (permalink / raw)
To: vda; +Cc: linux-kernel
Linus refused wholesale cleanups in the past. Try to identify
worst offenders and start from those, and work through component
maintainers. It's a lot more work, but you have to tough it out.
-- Pete
> When I was making this patch I couldn't resist and fixed
> messed up tabs around affected printks, wrapped some
> lines longer than 80 columns, fixed some typos.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Small security bug with misconfigured access rights
2001-11-28 16:01 ` vda
@ 2001-11-28 15:39 ` Giuliano Pochini
2001-11-28 18:03 ` Jordan Russell
0 siblings, 1 reply; 4+ messages in thread
From: Giuliano Pochini @ 2001-11-28 15:39 UTC (permalink / raw)
To: linux-kernel
Well, I don't know if it is really a bug.
Create a directory like this:
# ls -la
total 12
drwxr-sr-x 2 pochini root 4096 Nov 28 16:33 .
drwxr-xr-x 32 pochini users 8192 Nov 28 16:25 ..
Sgid bit is set and the directory is owned by me and the
group is root (yes, it shouldn't be).
When I create a file here, it gets the root group even
if I don't belong to it.
[kernel 2.4.5]
Bye.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] printk loglevel cleanup (again)
2001-11-27 17:58 ` [PATCH] printk loglevel cleanup (again) Pete Zaitcev
@ 2001-11-28 16:01 ` vda
2001-11-28 15:39 ` Small security bug with misconfigured access rights Giuliano Pochini
0 siblings, 1 reply; 4+ messages in thread
From: vda @ 2001-11-28 16:01 UTC (permalink / raw)
To: Pete Zaitcev; +Cc: linux-kernel
On Tuesday 27 November 2001 15:58, Pete Zaitcev wrote:
> Linus refused wholesale cleanups in the past. Try to identify
> worst offenders and start from those, and work through component
> maintainers. It's a lot more work, but you have to tough it out.
This patch can be split into individual patches right at any hunk boundary.
I think any interested maintainer can take it and apply relevant parts (or as
a whole, since their diffs for Linus are most probaly made only from relevant
kernel subtrees (they won't propagate unwanted modifications))
Anyway, it's only printks.
--
vda
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Small security bug with misconfigured access rights
2001-11-28 15:39 ` Small security bug with misconfigured access rights Giuliano Pochini
@ 2001-11-28 18:03 ` Jordan Russell
0 siblings, 0 replies; 4+ messages in thread
From: Jordan Russell @ 2001-11-28 18:03 UTC (permalink / raw)
To: Giuliano Pochini; +Cc: linux-kernel
Giuliano Pochini wrote:
> Well, I don't know if it is really a bug.
>
> Create a directory like this:
>
> # ls -la
> total 12
> drwxr-sr-x 2 pochini root 4096 Nov 28 16:33 .
> drwxr-xr-x 32 pochini users 8192 Nov 28 16:25 ..
>
> Sgid bit is set and the directory is owned by me and the
> group is root (yes, it shouldn't be).
>
> When I create a file here, it gets the root group even
> if I don't belong to it.
That's the correct behavior. Quoting "man mount":
grpid or bsdgroups / nogrpid or sysvgroups
These options define what group id a newly created file
gets. When
grpid is set, it takes the group id of the directory in
which it is
created; otherwise (the default) it takes the fsgid of the
current pro-
cess, unless the directory has the setgid bit set, in
which case it
takes the gid from the parent directory, and also gets the
setgid bit
set if it is a directory itself.
Jordan Russell
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-28 18:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1006876204.12313.linux-kernel2news@redhat.com>
2001-11-27 17:58 ` [PATCH] printk loglevel cleanup (again) Pete Zaitcev
2001-11-28 16:01 ` vda
2001-11-28 15:39 ` Small security bug with misconfigured access rights Giuliano Pochini
2001-11-28 18:03 ` Jordan Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®