View Single Post
Old 09-28-2007, 03:54 PM  
sortie
Confirmed User
 
sortie's Avatar
 
Industry Role:
Join Date: Mar 2007
Posts: 7,771
Quote:
Originally Posted by GrouchyAdmin View Post
Your script will have to test/set the umask, then change the settings, accordingly. Herein lies the problem: If your FTP user is not your Apache/Web 'running as' user, you can't do it through a browser.

So, since you're using Perl, I'd look into Net::FTP, and create a form where they re-enter their FTP username, password, and all of that, and it logs in, and issues SITE CHMOD commands for them.
Sounds like too much work. I'm already working enough as it is.
My solution is for everybody to use phatservers or isprime

I mean, there are several ways around it that involve me writing a bunch of new code. I'm just at the point that this stuff takes away from developing the part that makes money for people.

Heard at a Santa Monice workshop:

"There is no money in chmod".
__________________
sortie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote