• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File permission change automatically

#1
After uploading successful, using defaulUpload library the file is saved in 'only read mode' in server directory, using chmod native function i change the file permission manually.
The question is why the file is not saved with it's default permission mode?
Operating system: Ubuntu

Thank you
Reply

#2
Have you talked to your hosting provider about the issue? They can help you for chmod settings. I believe, it's not about Codeigniter.
Reply

#3
@alamkhan,

I agree with @demyr. Check with your hosting provider and see what their default settings are. Also keep in mind that you could automate setting the files permissions every time a file is uploaded (just a thought). Just make sure that the file is from a trusted source.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.