From owner-freebsd-questions@freebsd.org Sun Dec 6 21:35:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07C249A0E79 for ; Sun, 6 Dec 2015 21:35:45 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id B7C821A84 for ; Sun, 6 Dec 2015 21:35:44 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 9BAF7290033B for ; Sun, 6 Dec 2015 19:35:38 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1449437743; bh=DUHfFGOhxsG7/txeb7ceuIo2TV7gtTUXSeQ7gXuZfFw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=CLcUtcitDEGkWuW2UwcLlf5j1fXppgknH5qwetfHEyZcQ64vdNQyGuR97skr/m5dE JDyCodcqRJIxIXmseEWy3z2k0EwCY0L8mgImRaUL9q7sqJwaSzE2S3tR8CEf7nhyZd NduNc3P+94RSXYH5eJZjsGupO1+tfm2yb1pt+4fY= Date: Sun, 6 Dec 2015 19:37:19 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: Re: OSS in jail Message-ID: <20151206213719.GB5294@hpmini> References: <20151206194401.GA3860@hpmini> <20151206194958.GB4044@hpmini> <4A96B34F-EC69-4036-8D49-73C9B1E662F1@ccsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4A96B34F-EC69-4036-8D49-73C9B1E662F1@ccsys.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 21:35:45 -0000 Thank you for your ideas. Indeed, unfortunately a network audio server is too high level a solution. But if it comes to that I guess it is an alternative, so I will look into that. According to my setup here, the devfs filesystem does not support file system flags. Also, in FreeBSD, device nodes only work if they reside on such a filesystem. If I find a solution I will post it here. On Sun, Dec 06, 2015 at 03:09:44PM -0500, Jake wrote: > > On Dec 6, 2015, at 2:51 PM, Anton Sayetsky wrote: > > > > 2015-12-06 21:49 GMT+02:00 Luís Fernando Schultz Xavier da Silveira > > : > >> Sorry, I meant write-only mode. > > If a user has write access, how do you want to prevent him to set permissions? > > I think that's what he's asking us, the general community. Maybe not for a solution as simple as the standard device nodes and permissions, since he also described his use case as the actual goal. Without actually forming a specific plan for u in detail, a setup involving network send/receive and on a solution such as what Jack2 (and others) provide comes to mind. That may work for you Fernando or it may not be low-level enough to fit all your desires. Perhaps a simpler solution using the append-only file flag would suffice and disallowing the jail to change flags is workable. See allow.chflags in man 8 jail and/or man 5 jail.conf. I believe there's a global setting and a per jail setting. > > I'm interested in hearing about what solutions you/we can come up with. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"