Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 1998 23:24:55 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        George Vagner <kf7nn@mutsgo.dyn.ml.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: sticky bit problem
Message-ID:  <Pine.BSF.3.96.980208232329.24904C-100000@gdi.uoregon.edu>
In-Reply-To: <199802070224.UAA00344@mutsgo.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Feb 1998, George Vagner wrote:

> I am trying to make my /usr/ftp/incoming directory writeable 
> but the files in it undeleteable.
> 
> i am logging in as anonymous without password and can put files in and also 
> delete them, i dont want people to be able to delete them...
> 
> i tried some of these commands without success
> 
> chmod 1777 /usr/ftp/incoming
> chown root /usr/ftp/incoming
> chgrp wheel /usr/ftp/incoming
> chmod 1755 /usr/ftp/incoming  (cant write to it now)

try mode 1766; you can't make it the current directory to remove the file
since the exec bit is missing. 

I think, I didn't try it ;-)

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980208232329.24904C-100000>