Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2003 09:19:34 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Uwe Doering <gemini@geminix.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: group members can't modify files even though 775 set
Message-ID:  <20031224151933.GE2890@dan.emsphone.com>
In-Reply-To: <3FE94CA0.6030605@geminix.org>
References:  <3FE90996.9050606@princeton.edu> <3FE94CA0.6030605@geminix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031224151933.GE2890>