group members can't modify files even though 775 set

Dan Nelson dnelson at allantgroup.com
Wed Dec 24 07:19:36 PST 2003


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
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list