Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2003 09:21:52 +0100
From:      Uwe Doering <gemini@geminix.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: group members can't modify files even though 775 set
Message-ID:  <3FE94CA0.6030605@geminix.org>
In-Reply-To: <3FE90996.9050606@princeton.edu>
References:  <3FE90996.9050606@princeton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Seamus Abshere wrote:
> Dear freebsd-questions,
> 
> I want all members of the "webmasters" group to be able to modify my web 
> documents directory /www.
> 
> Here's my user, a webmaster:
> [...]
> 
> 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'.

Hope this helps.

    Uwe
-- 
Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
gemini@geminix.org  |  http://www.escapebox.net



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