Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: paullamhkgPosted on 2004-11-16 at 00:51:30ID: 12591506
you have to add some script in your php script so that after the uploaded finished than change the umask will do.
or you can use a crontab to run a chmod to make it change to 644 on every 1hr or so.
eg. run 'crontab'
add below in the cron job
* 1 * * chmod 644 /data/www/*
so every an hour the crontab will run and all the files inside the /data/www will become 644 mode.
but the best way is add the chmod script into your php script.
hope can help a bit :)