How To Open Unpermission Folder And How To Change It's Permissions.
I am using ubuntu 12.10 and i am working on lamp server (linux apache mysql php) and i have great work on it but when i want to open my database folder i have to face a problem on it.the problem is when i open database folder so the error occurs "The folder contents could not be displayed." you don't have a permissions to view the content of mysql.The mysql stored data in the (file system/var/lib/mysql).
Follow These Steps.
- First you have to open your terminal and run this command gksudo nautilus /var/lib/mysql.
terminal window with that command - Then the folder was open than goto properties of that folder.
- Goto permissions and change the following fields like this.
- Owner: mysql-MySQL server => ankurgarg-Ankurgarg (your user name ).
- Folder access: Create and delete files.
- File access: Read and write.
- Group: Mysql
- Folder access: -- => Create and delete file.
- File access: Read and write.
- Others
- Folder access: Create and delete
- File access: Read and write
4. After that click apply permissions to enclosed file.