From owner-freebsd-questions Fri Dec 13 11:53:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5524F37B401 for ; Fri, 13 Dec 2002 11:53:27 -0800 (PST) Received: from brittney.jlschwab.com (client54.fre.communitycolo.net [216.218.240.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED55743E4A for ; Fri, 13 Dec 2002 11:53:26 -0800 (PST) (envelope-from jlschwab@jlschwab.com) Received: by brittney.jlschwab.com (Postfix, from userid 1000) id 9001B5758; Fri, 13 Dec 2002 12:53:16 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by brittney.jlschwab.com (Postfix) with ESMTP id 823BA573A for ; Fri, 13 Dec 2002 12:53:16 -0700 (MST) Date: Fri, 13 Dec 2002 12:53:16 -0700 (MST) From: "Jason L. Schwab" To: freebsd-questions@freebsd.org Subject: chmod question Message-ID: <20021213125137.X69651-100000@brittney.jlschwab.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Heya Folks; I came accross a file on a friend of mine's machine and I was wondering how via chmod you could come up with the follow permissions (ls -la on the file) -rwx--s--- thanks much. I tried doing chmod u+rwx and then g+s but then I get -rwx--S--- and it does not work correctly. The idea behind this is to have a shell script that can be ran as suid by a group of people, but the actual script code can not be seen. Thanks. -Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message