OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: chmod and permission trouble
From: vamp (allgoodPHYSICS.UCSC.EDU)
Date: Tue Sep 12 2000 - 11:14:37 CDT


Set the umask for the user to 022 to give other and group executable
access to files created by the user. Rune 'man tcsh' or 'man bash' and
search for umask.

On Tue, 12 Sep 2000, Infrastructure Dept. wrote:

> Here's the scenario. On my web server the permissions on the directory in
> question are 755 and the owner and group are both set to the user that is
> doing the development.
>
> Problem: Every time the developer uploads a file it sets the permissions to
> rw-r--r--. This isn't a problem except for CGI, which has to be world
> executable. Also if the developer is telneted in and copies a file the same
> thing happens to the newly created file. Even if they pico a file, make
> changes and save it with a different name.
>
> How can I force all files created within a certain directory to have 755
> permissions?
>
>
> Thanks
> Mr I
> Narellan (NorthEast) Inc.
>

--
		
						^o^  Vampire  ^o^
				 	    ^o^

Censorship rests on the child's delusion that "If I shut my eyes so I can't see it, it isn't there".

^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^

email: allgoodphysics.ucsc.edu Tele: (1) 831-251-0667 web: http://physics.ucsc.edu/~allgood/

snail mail: UCSC, Physics Dept. Santa Cruz, CA 95064 USA

^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^ ^o^