Re: Question about umask

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

 



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

chi wrote:

| iin /etc/bashrc the umask is 022
| then why when i create file , the permission is 664 not 755
| Thx
|
As a security fix, Fedora (as does RH since RH8 or 9) never sets the
executable bit no mater what your umask is set at.  The umask is only
appropriate for the read, write, sticky bits, but not executeable.

Any time you need a file (such as a script) to be executable you need
to chmod +x

Kevin Fries

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB7K5AiFq1Eo16+CgRAg11AJ9TYXrO19le/EuZA1u1IlJ6Vi6z7ACfSKtf
XIcNLT74G9hOlRoftP/aK+k=
=nhab
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux