From owner-freebsd-questions Mon Aug 21 7:52:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202]) by hub.freebsd.org (Postfix) with ESMTP id 13B5C37B422 for ; Mon, 21 Aug 2000 07:52:37 -0700 (PDT) Received: from amrelay1.boi.hp.com (amrelay1.boi.hp.com [15.56.8.24]) by atlrel2.hp.com (Postfix) with ESMTP id A58695A28 for ; Mon, 21 Aug 2000 10:52:34 -0400 (EDT) Received: from xrosebh3.rsvl.itc.hp.com (xrosebh3.rsvl.itc.hp.com [15.34.240.67]) by amrelay1.boi.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with SMTP id IAA02056 for ; Mon, 21 Aug 2000 08:52:33 -0600 (MDT) Received: from 15.34.240.67 by xrosebh3.rsvl.itc.hp.com (InterScan E-Mail VirusWall NT); Mon, 21 Aug 2000 08:52:30 -0600 (Mountain Daylight Time) Received: by xrosebh3.rsvl.itc.hp.com with Internet Mail Service (5.5.2650.21) id ; Mon, 21 Aug 2000 08:52:30 -0600 Message-ID: From: "DINKEY,GENE (HP-Loveland,ex1)" To: "'freebsd-questions@freebsd.org'" Subject: Permission problems on a suiddir Date: Mon, 21 Aug 2000 08:52:15 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a directory /usr/mud which is suid. I mount /usr w/ the suiddir option and have it compiled in the kernel which is great. The directory /usr/mud is owned by mud:mudadmin. The user mud is nologin and is used as the process owner of the bin that runs, user mud also only has access to files within the directory /usr/mud. I have another user who is part of the group mudadmin...all files created in /usr/mud area -rw-rw-r-- but for some reason when my user recompiles the binary from the source code it comes out -rw-rw-r--, even though the group mudadmin has write permissions to the binary file he is unable to do a chmod g+x or u+x so it can be executed. How do I allow him to do this without giving him anytype of special access to the system, I only want him to be able to do this within the /usr/mud directory. I'm not subscribed to the list at work so a reply to my email would be appreciated. Thank You Gene Dinkey 970.278.8732 Hewlett Packard Customer Care Center Technical Computing Division To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message