Archive for May, 2009

Below commands can be used to check file and diretcory permissions under the present working diretcory (pwd)

  • Check files with permission 755

root@master [~]# find $x -type f -perm 755

  • Check files with permission 777

root@master [~]# find $x -type f -perm 777

  • Check diretcory with permissions 777

root@master [~]# find $x -type d -perm 777

  • Check diretcory with permissions 000

root@master [~]# find $x -type d -perm 000

You can change the permissions to the value you  you want to search.

Typo3 database error

Database Error !
The current username, password or host was not accepted when the connection to the database was attempted to be established!

If you are receiving error mentioned above after installing typo3, please follow the steps below.

1. Open the file typo3_src/t3lib/config_default.php
2. Find for ‘no_pconnect’ the default value set will be 0. Change the value for ‘no_pconnect’ to 1. This will look like

‘no_pconnect’ => 1

3. Save the file and exit.

mysql_pconnect will be disabled on servers for security reasons. By default, typo3 uses mysql_pconnect to connect to the database. Changing the value for no_pconnect to 1 will use mysql_connect to connect to the database.

100% Customer Satisfaction