View Full Version : [ubuntu] Change file permissions permanently

April 24th, 2008, 02:18 PM
I have a config file for phpMyAdmin. It wants world write permissions disabled. The file is owned by root with read/write for group and others.

I sudo chmod the file permissions, but after I close phpMyAdmin they seem to revert to default because I am prompted to change the permissions again.

How can I change these permissions permanently?

May 6th, 2008, 08:03 PM
And why do you need this? It is not secure, so probably phpMyAdmin changes permissions after exit so it would be secure.

May 10th, 2008, 01:15 AM
because it's a localhost copy so there's no security issue. There was no issue until I upgraded to HH. Besides, the permission change is o-w (pMA wants no write permission on the config file) so being able to permanently change the permission IS the security fix!