Re: [gentoo-user] local shared directory

2016-05-14 Thread Neil Bothwick
On Sat, 14 May 2016 18:23:10 +0200, hw wrote: > >> Using 'chmod -R g+w $#' isn't very appealing, and how safely does it > >> handle file names? > > > > What is unappealing about it? I've never had any problem with file > > names, but I don't use odd ones. You could quote the $@/$# just in > > ca

solved: how to share a directory tree with files in it with multiple users (Re: [gentoo-user] local shared directory)

2016-05-14 Thread hw
Alan McKinnon schrieb: On 07/05/2016 17:12, hw wrote: Michael Orlitzky schrieb: On 04/23/2016 10:42 AM, hw wrote: Has it become entirely impossible to share a directory tree and the files in it with multiple users when Linux is involved? This should be a very simple thing to accomplish. I

Re: [gentoo-user] local shared directory

2016-05-14 Thread hw
Neil Bothwick schrieb: On Sat, 23 Apr 2016 14:42:56 +0200, hw wrote: I've done this with ACLs in the past, which is why I suggested it, but it's a pain to set up if you haven't used them before. Alan's suggestion of using inotify is probably simplest. Install incrond and put something like this

Re: how to share a directory tree with files in it with multiple users (Re: [gentoo-user] local shared directory)

2016-05-07 Thread Alan McKinnon
On 07/05/2016 17:12, hw wrote: > Michael Orlitzky schrieb: >> On 04/23/2016 10:42 AM, hw wrote: >>> >>> Has it become entirely impossible to share a directory tree and the >>> files in it with multiple users when Linux is involved? This should be >>> a very simple thing to accomplish. >>> >> >> It

Re: how to share a directory tree with files in it with multiple users (Re: [gentoo-user] local shared directory)

2016-05-07 Thread hw
Michael Orlitzky schrieb: On 04/23/2016 10:42 AM, hw wrote: Has it become entirely impossible to share a directory tree and the files in it with multiple users when Linux is involved? This should be a very simple thing to accomplish. It was never possible. It's ridiculous, but there it is.

Re: how to share a directory tree with files in it with multiple users (Re: [gentoo-user] local shared directory)

2016-04-23 Thread Michael Orlitzky
On 04/23/2016 10:42 AM, hw wrote: > > Has it become entirely impossible to share a directory tree and the > files in it with multiple users when Linux is involved? This should be > a very simple thing to accomplish. > It was never possible. It's ridiculous, but there it is. The UNIX permissio

Re: [gentoo-user] local shared directory

2016-04-23 Thread Neil Bothwick
On Sat, 23 Apr 2016 14:42:56 +0200, hw wrote: > > I've done this with ACLs in the past, which is why I suggested it, but > > it's a pain to set up if you haven't used them before. Alan's > > suggestion of using inotify is probably simplest. Install incrond and > > put something like this in a file

how to share a directory tree with files in it with multiple users (Re: [gentoo-user] local shared directory)

2016-04-23 Thread hw
hw schrieb: Neil Bothwick schrieb: On Thu, 17 Mar 2016 18:38:56 -0400, Rich Freeman wrote: umask is just not viable either, as a) it's global and affects all files a user creates and b) by definition umask is modifiable by the user (it's a feature to help users out so they don't need to chmod

Re: [gentoo-user] local shared directory

2016-04-23 Thread hw
Neil Bothwick schrieb: On Thu, 17 Mar 2016 18:38:56 -0400, Rich Freeman wrote: umask is just not viable either, as a) it's global and affects all files a user creates and b) by definition umask is modifiable by the user (it's a feature to help users out so they don't need to chmod every file ev

Re: [gentoo-user] local shared directory

2016-04-23 Thread hw
Neil Bothwick schrieb: On Thu, 17 Mar 2016 18:38:56 -0400, Rich Freeman wrote: umask is just not viable either, as a) it's global and affects all files a user creates and b) by definition umask is modifiable by the user (it's a feature to help users out so they don't need to chmod every file ev

Re: [gentoo-user] local shared directory

2016-03-20 Thread Neil Bothwick
On Thu, 17 Mar 2016 18:38:56 -0400, Rich Freeman wrote: > > umask is just not viable either, as a) it's global and affects all > > files a user creates and b) by definition umask is modifiable by the > > user (it's a feature to help users out so they don't need to chmod > > every file every time)

[gentoo-user] local shared directory

2016-03-19 Thread hw
Hi, how can I make it so that multiple users on a system who create files in a local, shared directory do have write access to files created by other users within the shared directory? The directory is group-writeable, and the users belong to the group which owns the directory. This enables th

Re: [gentoo-user] local shared directory

2016-03-19 Thread Michael Orlitzky
On 03/17/2016 06:38 PM, Rich Freeman wrote: > On Thu, Mar 17, 2016 at 4:59 PM, Alan McKinnon > wrote: > > Actually, this is completely viable... > > If users chmod a file then tell them not to. If you must, set up some > cron job to clean up after them. > > But, you can of course do this with

Re: [gentoo-user] local shared directory

2016-03-19 Thread Alan McKinnon
On 17/03/2016 19:19, hw wrote: > > Hi, > > how can I make it so that multiple users on a system who create > files in a local, shared directory do have write access to files > created by other users within the shared directory? > > The directory is group-writeable, and the users belong to the gr

Re: [gentoo-user] local shared directory

2016-03-18 Thread Neil Bothwick
On Thu, 17 Mar 2016 18:19:21 +0100, hw wrote: > how can I make it so that multiple users on a system who create > files in a local, shared directory do have write access to files > created by other users within the shared directory? ACLs. -- Neil Bothwick And if you say "No", I shall be force

Re: [gentoo-user] local shared directory

2016-03-18 Thread Rich Freeman
On Thu, Mar 17, 2016 at 4:59 PM, Alan McKinnon wrote: > > umask is just not viable either, as a) it's global and affects all files > a user creates and b) by definition umask is modifiable by the user > (it's a feature to help users out so they don't need to chmod every file > every time) and c) y