On 10/04/2013 03:18 AM, vic...@vsespb.ru wrote: > >> The operating system is (on purpose) not letting you know if that file >> exists or not > OS is not lying about file existence. It returns "permission denied" error, > which means file may or may not exist.
If you care about the difference between ENOENT and EPERM, then write your program in C or other language, not shell. There is no way for the shell to tell you what errno the OS returned. The shell is not going to change just because of your request. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature