Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 57847 Details for
Bug 69783
useradd creates homedirs with 755 - should rather be 700
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix
shadow-4.0.5-remove-insecure-homedircreating.patch (text/plain), 336 bytes, created by
Eero Volotinen
on 2005-05-02 09:24:53 UTC
(
hide
)
Description:
patch to fix
Filename:
MIME Type:
Creator:
Eero Volotinen
Created:
2005-05-02 09:24:53 UTC
Size:
336 bytes
patch
obsolete
>--- src/useradd.c 2004-10-24 21:24:33.000000000 +0300 >+++ src/useradd.c 2005-05-02 18:25:43.428936664 +0300 >@@ -1539,7 +1539,7 @@ > fail_exit (E_HOMEDIR); > } > chown (user_home, user_id, user_gid); >- chmod (user_home, 0777 & ~getdef_num ("UMASK", 022)); >+ chmod (user_home, S_IREAD | S_IWRITE | S_IEXEC); > home_added++; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 69783
: 57847