troubleshooting Question

umask and default file permission

Avatar of bionicblakey
bionicblakey asked on
16 Comments2 Solutions968 ViewsLast Modified:
i am working on a web project that runs on freebsd.

currently all the file that created dynamically by the internet user (they upoad file through web browser) has a default file permission of 0644.

however, i need these files to have a default extension of 0755 in order to have my perl code working.

i changed the umask from 022 to 000 for both user and root and nothing happens. every time i re-logged back in and my umask number stays the same.

i am very confuse and don't know what to do.

thanks for anybody that can give me a hand.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 16 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros