I have several websites under /home/user/www/, since I've had to restore all www directory from a backup, most of the files are with root ownership and permissions. Looks something like this:
drwxr-xr-x 34 root root 4.0K 2009-09-10 14:04 . -rw-r--r-- 1 root root 127 2009-09-10 10:13 file1 -rwxr-xr-x 1 root root 23 2009-09-10 10:12 file2 drwxr-xr-x 4 user user 4.0K 2009-09-10 10:05 .. drwxr-xr-x 14 root root 4.0K 2009-09-08 12:08 folder
My question is, how safe is having them like this? should I change permissions/ownerships to all of them (www-data). I'm the only one who edit those files.