[SSSD] [PATCH] Check and set permissions on SBUS sockets

Stephen Gallagher sgallagh at redhat.com
Tue Feb 23 12:40:10 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/22/2010 04:14 AM, Sumit Bose wrote:
> On Fri, Feb 19, 2010 at 03:46:43PM -0500, Stephen Gallagher wrote:
> On 02/19/2010 08:49 AM, Sumit Bose wrote:
>>>> Hi,
>>>>
>>>> this patch should fix #403.
>>>>
>>>> libdbus is so nice to call chmod(0777) explicitly on a newly created
>>>> socket so we have to call chmod() explicitly too to change the
>>>> permissions. I would prefer the call fchmod(), but I didn't found a way
>>>> to get the file descriptor of the socket out of libdbus. If anyone knows
>>>> a way I would be happy to update the patch.
>>>>
> 
> 
> Nack.
> 
> Don't check for 0777 permissions. Check that the permissions are NOT
> 0600 and correct it if so.
> 
> 
>> New version attached.


Ack.


- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuDzKoACgkQeiVVYja6o6OWjACdF4mbg4pPe2BhSGSxczJ9VtnV
VXAAn2SuVY4EBL8ig/fEVfS8cJBROc8Q
=9/ld
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list