I want to give read and right access to www-data user..
When I Right click the folder /var/www/ I selected the option Read and Write Files, but after clicking apply, it becomes - (dash) again..
I am creating new directory using php exec command. But because of this problem, the new folder is not being listed using the ls command.
What is the problem?
Apparently, it was because I was using
execinstead ofshell_exec. For the past two days I have been scratching my head, always the solution is a simple one.