[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sssd-devel
Subject:    [SSSD] [PATCH] Fixing traceback call messages for sss_obfuscate command.
From:       ssorce () redhat ! com (Simo Sorce)
Date:       2011-01-31 19:21:36
Message-ID: 20110131142136.1109b20d () willson ! li ! ssimo ! org
[Download RAW message or body]

On Tue, 01 Feb 2011 00:30:28 +0530
Gowrishankar Rajaiyan <grajaiya at redhat.com> wrote:

> 
> Hi
> 
> Traceback call messages were displayed while testing "sss_obfuscate"
> as a non-root user.
> Attached patch fixes this 
> (https://bugzilla.redhat.com/show_bug.cgi?id=674141).
> 

I would prefer to catch the permission denied exception and when that
happens, print a neat error that tells you you may have to run as a
more privileged user.

I personally do not really like blanket checks for uid = 0

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic