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

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

 



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: pgpn7vQvJdaJ0.pgp
Description: PGP signature

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux