[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH master f14-branch?] Fix permissions of wepkey file to 0600 (#636099)



On Wed, Sep 22, 2010 at 03:15:36PM +0200, Radek Vykydal wrote:
> ---
>  pyanaconda/network.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/pyanaconda/network.py b/pyanaconda/network.py
> index ae06f1e..61c00e2 100644
> --- a/pyanaconda/network.py
> +++ b/pyanaconda/network.py
> @@ -278,7 +278,7 @@ class NetworkDevice(IfcfgFile):
>          os.write(fd, "KEY1=%s\n" % self.wepkey)
>          os.close(fd)
>  
> -        os.chmod(newifcfg, 0644)
> +        os.chmod(newifcfg, 0600)
>          try:
>              os.remove(keyfile)
>          except OSError as e:
> -- 
> 1.7.2

Ack

-- 
Brian C. Lane / Anaconda Team
Port Orchard, WA (PST8PDT)

Attachment: pgp55PzcGYc8T.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]