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: Scott Nursten (Scott.NurstenSTREETSONLINE.CO.UK)
Date: Tue Sep 12 2000 - 11:19:55 CDT


If you are telnetting / *sh'ing, set your umask on the shell. Same goes
for ftp'ing, but only on some ftp servers. I don't know if you can set
the umask of the user that runs the ftp daemon...!?!

Rgds,

Scott Nursten

"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.

--
Scott Nursten - Systems Administrator
Streets Online Ltd.

Business: +44 (0) 1293 402 040 Direct: +44 (0) 1293 437 981 Fax: +44 (0) 1293 402 050 Email: scottnstreetsonline.co.uk

------------------------------------------------------------------- | "Facts do not cease to exist because they are ignored." | | Aldous Huxley | -------------------------------------------------------------------