Re: Can I set the access level to the files with specified suffix when creating?
- From: Zdenek Zikan <xzikan@xxxxxxxxxx>
- Date: Sat, 28 Oct 2006 12:09:48 GMT
To the best of my knowledge, it's mandatory to explicitly declare aEeeer ... why security reasons? I cannot see any.
script as executable using chmod, and there are security reasons for
such.
And _that_ is precisely the reason why.
WTF? Firstly, if this script is not executable, I can run it using "sh
script_name". Secondly, the script cannot do more than I can and if run
any program, it has the same effect with the difference that in script
files, I can (usually) watch the source. Thirdly, what is more secure on
having the script non-executable if I (or some malicious code) can do
"chmod u+x script && ./script"?
Zdenek
.
- Follow-Ups:
- References:
- Can I set the access level to the files with specified suffix when creating?
- From: Lazytiger
- Re: Can I set the access level to the files with specified suffix when creating?
- From: ynotssor
- Re: Can I set the access level to the files with specified suffix when creating?
- From: Lazytiger
- Re: Can I set the access level to the files with specified suffix when creating?
- From: ynotssor
- Re: Can I set the access level to the files with specified suffix when creating?
- From: Zdenek Zikan
- Re: Can I set the access level to the files with specified suffix when creating?
- From: ynotssor
- Can I set the access level to the files with specified suffix when creating?
- Prev by Date: Re: xemacs & FC6
- Next by Date: Re: does anyone know what MBR is?
- Previous by thread: Re: Can I set the access level to the files with specified suffix when creating?
- Next by thread: Re: Can I set the access level to the files with specified suffix when creating?
- Index(es):
Relevant Pages
|
|