RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread J.
On Tue, 29 Mar 2005, Ray Olszewski wrote: > At 07:02 PM 3/29/2005 +0200, J. wrote: > >On Tue, 29 Mar 2005, Mike Turcotte wrote: > > > > > That would be great if someone knew and could tell us how to set default > > > permissions on a specific directory. > > > >In the case if the directory is NOT a

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread J.
> > From: [EMAIL PROTECTED] [mailto:linux-newbie- > > [EMAIL PROTECTED] On Behalf Of Ray Olszewski > > Sent: Tuesday, March 29, 2005 1:21 PM > > To: linux-newbie@vger.kernel.org > > Subject: RE: Simple script to set permissions on folders daily - write > > script

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread Mike Turcotte
age- > From: [EMAIL PROTECTED] [mailto:linux-newbie- > [EMAIL PROTECTED] On Behalf Of Ray Olszewski > Sent: Tuesday, March 29, 2005 1:21 PM > To: linux-newbie@vger.kernel.org > Subject: RE: Simple script to set permissions on folders daily - write > script and cron it? > > At

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread Ray Olszewski
At 07:02 PM 3/29/2005 +0200, J. wrote: On Tue, 29 Mar 2005, Mike Turcotte wrote: > That would be great if someone knew and could tell us how to set default > permissions on a specific directory. In the case if the directory is NOT a mount point: This is done either from the command-line with `chmod

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread J.
http://www.cityofnorthbay.ca > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:linux-newbie- > > [EMAIL PROTECTED] On Behalf Of Ray Olszewski > > Sent: Tuesday, March 29, 2005 10:51 AM > > To: linux-newbie@vger.kernel.org > > Subject: RE: S

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread J.
On Tue, 29 Mar 2005, Eve Atley wrote: > That is my issue as well; Ray and others, I hadn't implemented umask because > it still appears Greek to me. Eve I think ray's answer was very good. I think you have to look a bit more at how permissions work, and what happends when someone log's in [or pr

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread Mike Turcotte
ubject: RE: Simple script to set permissions on folders daily - write > script and cron it? > > At 09:31 AM 3/29/2005 -0500, Mike Turcotte wrote: > >I am fairly new to the linux scene, and I am currently using Gentoo > >Linux. How exactly do I go about setting a global default uma

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread Ray Olszewski
At 09:31 AM 3/29/2005 -0500, Mike Turcotte wrote: I am fairly new to the linux scene, and I am currently using Gentoo Linux. How exactly do I go about setting a global default umask value to set 777 permissions on a particular folder and its contents? [...] You don't. That's not how umask works. In

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread Eve Atley
That is my issue as well; Ray and others, I hadn't implemented umask because it still appears Greek to me. I'm not against use umask; I just didn't 'get it' upon reading stuff online. A link or two pointing to 'Umask for Idiots' would be great! Thanks, Eve P.S. For additional info, my setup is

RE: Simple script to set permissions on folders daily - write script and cron it?

2005-03-29 Thread Mike Turcotte
mple script to set permissions on folders daily - write > script and cron it? > > On Mon, 28 Mar 2005, Eve Atley wrote: > > > Hello! I want to write a very simple script that once daily (via cron) > will > > set permissions to 777. This is to override any permissions set on files

Re: Simple script to set permissions on folders daily - write script and cron it?

2005-03-28 Thread J.
On Mon, 28 Mar 2005, Eve Atley wrote: > Hello! I want to write a very simple script that once daily (via cron) will > set permissions to 777. This is to override any permissions set on files > uploaded by other people, so everyone who already has access to the group > will have rwx access to the

Re: Simple script to set permissions on folders daily - write script and cron it?

2005-03-28 Thread Ray Olszewski
At 04:02 PM 3/28/2005 -0500, Eve Atley wrote: Hello! I want to write a very simple script that once daily (via cron) will set permissions to 777. This is to override any permissions set on files uploaded by other people, so everyone who already has access to the group will have rwx access to the fi

Re: Simple script to set permissions on folders daily - write script and cron it?

2005-03-28 Thread John T. Williams
you could use a sticky bit on the directory instead. man chmod and read the second on sticky bit and directories. It might save you effort. - Original Message - From: "Eve Atley" <[EMAIL PROTECTED]> To: Sent: Monday, March 28, 2005 4:02 PM Subject: Simple script to set permissions on