Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 12:53:16 -0700 (MST)
From:      "Jason L. Schwab" <jlschwab@jlschwab.com>
To:        freebsd-questions@freebsd.org
Subject:   chmod question
Message-ID:  <20021213125137.X69651-100000@brittney.jlschwab.com>

next in thread | raw e-mail | index | archive | help
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




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