SPUG: creating file with cgi

Ben Reser ben at reser.org
Tue Oct 23 19:00:20 CDT 2001


On Tue, Oct 23, 2001 at 04:05:21PM -0700, Ryan Ames wrote:
> I have a cgi script that is creating a text file and saving it on my
> server.  The problem is the owner is "nobody" and I want other people to
> be able to access this file.  Is there a way that I can chmod it via my
> script?  

perldoc -f chmod
perldoc -f umask

-- 
Ben Reser <ben at reser.org>
http://ben.reser.org

"To fight and conquer in all our battles is not supreme excellence. 
Supreme excellence consists in breaking the enemy's resistance without
fighting." -Chinese philosopher Sun Tzu

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list