[ale] Help with chmod

Mark Angeli webmaster at tinyminds.org
Fri Sep 12 14:48:48 EDT 2003


Yea, that seems that creating a file that could be executed would open a
huge hole in the system.



-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org]On Behalf Of Rick
Huebner
Sent: Friday, September 12, 2003 2:53 PM
To: 'Atlanta Linux Enthusiasts'
Subject: RE: [ale] Help with chmod


That did the trick however I can only get 664, not 774...not that it really
matters, but it seems that umask on a file subtracts from 666, not 777 which
is only for directories.  It looks like you can't make a new file be created
with execute permissions.

---
Rick Huebner
www.rhuebner.com



-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Chris
Ricker
Sent: Friday, September 12, 2003 11:28 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Help with chmod


On Fri, 12 Sep 2003, Rick Huebner wrote:

> I've been trying to setup a directory /var/www/html/foodir so that any
> new files created(usually by ftp) have 774 permissions.  I set the
> owner to foo and the group to foogroup.  When foo ftp's a file into
> foodir, it ends up 644.  I set umask for foo to 003 and chmod -R g+s
> foodir to no avail.  I'm missing something here and can't find
> it....sigh

You have to configure that in your ftp server -- most let you control the
permissions and ownership w/ which files are created

later,
chris
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list