gocom / danpu

Optimized MySQL dump library written in PHP
MIT License
62 stars 15 forks source link

read and write permission #22

Closed nowfalsalahudeen closed 6 years ago

nowfalsalahudeen commented 8 years ago

i cannot read the exported sql file bcoz its read and write protected why

gocom commented 6 years ago

Sounds like the user that you are trying to open the file as does not have read access to the file, which is pretty much what you said, but it would be the reason. You are likely running the PHP process under an user whose files you don't have read access to, or etc.

You could either change the user that PHP ran under (or change the way your permissions are set up), chown/chmod the created file to grant read access to it or try to read it as a different user.