In the last episode (Dec 24), Uwe Doering said:
> Seamus Abshere wrote:
> >But this happens when I am logged in as sabshere:
> >
> >>$echo "whatev" > index.html
> >>-bash: index.html: cannot overwrite existing file
> 
> I think this has nothing to do with file permissions.  Instead, the 
> 'noclobber' option is probably enabled in your bash settings, so the 
> shell refuses to overwrite existing files.  Find the directive 'set -o 
> noclobber' in your shell's startup files and comment it out, or if this 
> behaviour is the default, try to override it with 'set +o noclobber'.

Or use >! , which overrides noclobber for just that one time.

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to