From owner-freebsd-questions Wed Apr 28 16:49: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hyperhost.net (ether.lightrealm.com [207.159.132.5]) by hub.freebsd.org (Postfix) with ESMTP id 222DC14D57 for ; Wed, 28 Apr 1999 16:49:04 -0700 (PDT) (envelope-from patseal@hyperhost.net) Received: from p10.a8.du.radix.net (p10.a8.du.radix.net [207.192.132.138]) by hyperhost.net (8.8.5/8.8.5) with ESMTP id TAA24336; Wed, 28 Apr 1999 19:48:58 -0400 (EDT) Date: Wed, 28 Apr 1999 19:48:54 -0400 (EDT) From: Patrick Seal To: Laurence Berland Cc: davebullock@dwindledistribution.com, questions@FreeBSD.ORG Subject: Re: chmod to death! In-Reply-To: <37279209.C41A5BE2@confusion.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG man chmod 4000 (the set-user-ID-on-execution bit) Executable files with this bit set will run with effective uid set to the uid of the file owner. Directories with the set-user-id bit set will force all files and sub-directories created in them to be owned by the directory owner and not by the uid of the creating process, if the underlying file system supports this feature: see chmod(2) and the suiddir option to mount(1). ------------------------------------ _____________________________________ Patrick Seal |"Microsoft isn't evil, they just make | really crappy operating systems." Hyperhost - http://www.hyperhost.net| -Linus Torvalds hosting and Design http://www.freebsd.org - http://www.linux.org On Wed, 28 Apr 1999, Laurence Berland wrote: > Forgive my ignorance, what's the leading 4? > > davebullock@dwindledistribution.com wrote: > > > I really blew it... I did 'chmod -R 4755 /' > > -- > Laurence Berland, Stuyvesant HS Debate > <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> > Windows 98: n. > useless extension to a minor patch release for > 32-bit extensions and a graphical shell for a > 16-bit patch to an 8-bit operating system > originally coded for a 4-bit microprocessor, > written by a 2-bit company that can't stand for > 1 bit of competition. > http://stuy.debate.net > icq #7434346 aol imer E1101 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message