Re: strange error noise ...

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

 



On 09/18/2012 05:26 PM, R P Herrold wrote:
>   	echo "$MESSAGE" 1>&2
>
> is the usual way, so that it follows the stderr file handle
> assigned to that sub-shell, rather than (as here in your
> approach) trying to write directly to a device to which it
> does not have rights

Russ, it is evident I was confused about it. Now I understand why it 
wasn't possible to run the script through su without all those 
permission denied messages.

I will update the script to fix this, based on your suggestion, and will 
commit the changes up to the central repository soon.

Thank you,

-- 
Alain Reguera Delgado <alain.reguera@xxxxxxxxx>
_______________________________________________
CentOS-docs mailing list
CentOS-docs@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-docs


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux