* [Buildroot] [PATCH] system/device-table: do not set /home/default stgid
@ 2013-05-25 20:33 Yann E. MORIN
2013-05-25 20:37 ` Yann E. MORIN
2013-05-30 14:06 ` Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-05-25 20:33 UTC (permalink / raw)
To: buildroot
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
Currently, /home/default is mode 2755 which means it is setgid.
Since /home/default is not group-writable, it is useless.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
AFAICS, there is no reason that /home/default be setgid.
However, I have not audited all packages to check whether one
would require that.
---
system/device_table.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/device_table.txt b/system/device_table.txt
index 421728b..43c0cfa 100644
--- a/system/device_table.txt
+++ b/system/device_table.txt
@@ -9,7 +9,7 @@
/dev d 755 0 0 - - - - -
/tmp d 1777 0 0 - - - - -
/etc d 755 0 0 - - - - -
-/home/default d 2755 1000 1000 - - - - -
+/home/default d 755 1000 1000 - - - - -
/var/www d 755 33 33 - - - - -
/etc/shadow f 600 0 0 - - - - -
/etc/passwd f 644 0 0 - - - - -
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] system/device-table: do not set /home/default stgid
2013-05-25 20:33 [Buildroot] [PATCH] system/device-table: do not set /home/default stgid Yann E. MORIN
@ 2013-05-25 20:37 ` Yann E. MORIN
2013-05-26 17:23 ` Samuel Martin
2013-05-30 14:06 ` Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2013-05-25 20:37 UTC (permalink / raw)
To: buildroot
All,
On 2013-05-25 22:33 +0200, Yann E. MORIN spake thusly:
> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> Currently, /home/default is mode 2755 which means it is setgid.
> Since /home/default is not group-writable, it is useless.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> ---
> AFAICS, there is no reason that /home/default be setgid.
> However, I have not audited all packages to check whether one
> would require that.
> ---
> system/device_table.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/system/device_table.txt b/system/device_table.txt
> index 421728b..43c0cfa 100644
> --- a/system/device_table.txt
> +++ b/system/device_table.txt
> @@ -9,7 +9,7 @@
> /dev d 755 0 0 - - - - -
> /tmp d 1777 0 0 - - - - -
> /etc d 755 0 0 - - - - -
> -/home/default d 2755 1000 1000 - - - - -
> +/home/default d 755 1000 1000 - - - - -
> /var/www d 755 33 33 - - - - -
> /etc/shadow f 600 0 0 - - - - -
> /etc/passwd f 644 0 0 - - - - -
I think this should got in -next, not master. If it should go at all.
Any reason for this setgid bit on a group-unwritable directory in the
first place?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] system/device-table: do not set /home/default stgid
2013-05-25 20:37 ` Yann E. MORIN
@ 2013-05-26 17:23 ` Samuel Martin
0 siblings, 0 replies; 4+ messages in thread
From: Samuel Martin @ 2013-05-26 17:23 UTC (permalink / raw)
To: buildroot
Hi Yann,
2013/5/25 Yann E. MORIN <yann.morin.1998@free.fr>:
> All,
>
> On 2013-05-25 22:33 +0200, Yann E. MORIN spake thusly:
>> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
>>
>> Currently, /home/default is mode 2755 which means it is setgid.
>> Since /home/default is not group-writable, it is useless.
>>
>> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>>
>> ---
>> AFAICS, there is no reason that /home/default be setgid.
>> However, I have not audited all packages to check whether one
>> would require that.
>> ---
>> system/device_table.txt | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/system/device_table.txt b/system/device_table.txt
>> index 421728b..43c0cfa 100644
>> --- a/system/device_table.txt
>> +++ b/system/device_table.txt
>> @@ -9,7 +9,7 @@
>> /dev d 755 0 0 - - - - -
>> /tmp d 1777 0 0 - - - - -
>> /etc d 755 0 0 - - - - -
>> -/home/default d 2755 1000 1000 - - - - -
>> +/home/default d 755 1000 1000 - - - - -
>> /var/www d 755 33 33 - - - - -
>> /etc/shadow f 600 0 0 - - - - -
>> /etc/passwd f 644 0 0 - - - - -
>
> I think this should got in -next, not master. If it should go at all.
Acked-by: Samuel Martin <s.martin49@gmail.com>
(for the patch itself and its application on next).
>
> Any reason for this setgid bit on a group-unwritable directory in the
> first place?
It has been there for ages (from the beginning), though i don't see
any obvious reasons to set this setgid bit on the home directory.
Regards,
--
Samuel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] system/device-table: do not set /home/default stgid
2013-05-25 20:33 [Buildroot] [PATCH] system/device-table: do not set /home/default stgid Yann E. MORIN
2013-05-25 20:37 ` Yann E. MORIN
@ 2013-05-30 14:06 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-05-30 14:06 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
Yann> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
Yann> Currently, /home/default is mode 2755 which means it is setgid.
Yann> Since /home/default is not group-writable, it is useless.
Committed to next, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-30 14:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-25 20:33 [Buildroot] [PATCH] system/device-table: do not set /home/default stgid Yann E. MORIN
2013-05-25 20:37 ` Yann E. MORIN
2013-05-26 17:23 ` Samuel Martin
2013-05-30 14:06 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox