[ale] Help with chmod

Rick Huebner rick at rhuebner.com
Fri Sep 12 14:45:31 EDT 2003


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




More information about the Ale mailing list