View Single Post
  #3  
Old 30th April 2013, 16:53
helptec helptec is offline
Junior Member
 
Join Date: Apr 2013
Location: Italy
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

normally when a website is created are applied this permissions and ownership

Code:
ls -l /var/www/test.tsa.com/web
total 24
drwxr-xr-x 2 web32 client3 4096 Apr 30 16:39 error
-rwxr-xr-- 1 web32 client3 7358 Apr 30 16:39 favicon.ico
-rwxr-xr-- 1 web32 client3 1861 Apr 30 16:39 index.html
-rwxr-xr-- 1 web32 client3   14 Apr 30 16:39 robots.txt
drwxr-xr-x 2 root  root    4096 Apr 30 16:39 stats
and it's ok

now, for example, i do this:

Code:
chown -R root:root index.html
chmod  -R 777 index.html
chmod  -R 777 robots.txt
and i get this

Code:
drwx--x--- 4 web32 client3 4096 Apr 30 16:39 ./
drwxr-xr-x 9 root  root    4096 Apr 30 16:39 ../
drwxr-xr-x 2 web32 client3 4096 Apr 30 16:39 error/
-rwxr-xr-- 1 web32 client3 7358 Apr 30 16:39 favicon.ico*
-rwxr-xr-- 1 web32 client3   26 Apr 30 16:39 .htaccess*
-rwxrwxrwx 1 root  root    1861 Apr 30 16:39 index.html*
-rwxrwxrwx 1 web32 client3   14 Apr 30 16:39 robots.txt*
drwxr-xr-x 2 root  root    4096 Apr 30 16:39 stats/
In version 3.0.4.6, updating website configuration results in a restore of permissions and ownership to the original scheme.

In version 3.0.5.1 don't.

Quote:
Are you aware that the permission scheme from 3.0.4.6 to 3.0.5.0 has been changed, so the permissions have to be different now.
Ok the permission scheme has changed.
But it means that files owned by web32 or owned by root now is the same thing?
Reply With Quote