I get the same messages in SuSE 8.2 Pro, both as user and as root. However, when I check the files I redirected to /dev/null, the file size is 0. So, I guess it works, and the error message is standard procedure, even when it works. Therefore, I don't worry about it anymore. In your case, check to see if user has permission to write to the file in question. If not, su to root, then do the /dev/null thing.
Since root has the necessary privileges, you might consider su to root before running the script which generates the error message. Otherwise, change the permissions on the script to allow user to execute the script.
|