Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 19:37:19 -0200
From:      =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira <schultz@ime.usp.br>
To:        freebsd-questions@freebsd.org
Subject:   Re: OSS in jail
Message-ID:  <20151206213719.GB5294@hpmini>
In-Reply-To: <4A96B34F-EC69-4036-8D49-73C9B1E662F1@ccsys.com>
References:  <20151206194401.GA3860@hpmini> <CAA2O=b_isQOHepigMgDyDGtOidpbYkLOmvEayCbETfLEbUsDKA@mail.gmail.com> <20151206194958.GB4044@hpmini> <CAA2O=b_SmMh6iU8-SVjh-qHyvZf9xyxkOLc8KwrynktBvDjsbg@mail.gmail.com> <4A96B34F-EC69-4036-8D49-73C9B1E662F1@ccsys.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <vsasjason@gmail.com> wrote:
> > 
> > 2015-12-06 21:49 GMT+02:00 Luís Fernando Schultz Xavier da Silveira
> > <schultz@ime.usp.br>:
> >> 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"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20151206213719.GB5294>