strange permissions issues with upgrade to 1.2.2 [solved]
Posted: Mon Dec 03, 2007 4:56 pm
Hi,
I am attempting to upgrade from 1.1.1 to 1.2.2. However, I noticed that a bunch of subdirectories have strange owners (like nobody or www-data).
I have not run into this problem in previous upgrades and am at a loss to figure this out.
According to the docs, when you upgrade, all you do (which I have done numerous times in the past) is to upload the upgrade setup for CMS Made Simple to your existing site and then overwrite all files in question. Now, however, at 1.2.2, when I do this I get really odd upload failures due to these ownership/permissions issues.
For instance, here is a partial listing of my modules permissions/owners:
-rw-r----- 1 nobody nobody 18292 Jul 17 20:32 UserManipulator.class.php
-rw-r----- 1 nobody nobody 3934 Jul 17 20:32 action.addgroup.php
-rw-r----- 1 nobody nobody 5759 Jul 17 20:32 action.addprop.php
-rw-r----- 1 nobody nobody 4223 Jul 17 20:32 action.addprop2.php
-rw-r----- 1 nobody nobody 1596 Jul 17 20:32 action.adduser.php
-rw-r----- 1 nobody nobody 8559 Jul 17 20:32 action.defaultadmin.php
-rw-r----- 1 nobody nobody 3405 Jul 17 20:32 action.do_addgroup.php
-rw-r----- 1 nobody nobody 4603 Jul 17 20:32 action.do_addprop.php
-rw-r----- 1 nobody nobody 2223 Jul 17 20:32 action.do_adduser1.php
-rw-r----- 1 nobody nobody 5995 Jul 17 20:32 action.do_adduser3.php
When I look at my other CMSMS server (my work server) - which has been running 1.2 for a while, I see this:
-rw-r--r-- 1 www-data www-data 4224 2007-11-26 22:48 action.addgroup.php
-rw-r--r-- 1 www-data www-data 4307 2007-11-26 22:48 action.addprop2.php
-rw-r--r-- 1 www-data www-data 5759 2007-11-26 22:48 action.addprop.php
-rw-r--r-- 1 www-data www-data 1596 2007-11-26 22:48 action.adduser.php
-rw-r--r-- 1 www-data www-data 3910 2007-11-26 22:48 action.admin_exportgroup.php
-rw-r--r-- 1 www-data www-data 11763 2007-11-26 22:48 action.admin_importgroup.php
-rw-r--r-- 1 www-data www-data 1400 2007-11-26 22:48 action.admin_logout.php
-rw-r--r-- 1 www-data www-data 2045 2007-11-26 22:48 action.admin_setlostun_template.php
-rw-r--r-- 1 www-data www-data 8829 2007-11-26 22:48 action.defaultadmin.php
-rw-r--r-- 1 www-data www-data 3970 2007-11-26 22:48 action.do_addgroup.php
-rw-r--r-- 1 www-data www-data 4659 2007-11-26 22:48 action.do_addprop.php
-rw-r--r-- 1 www-data www-data 2223 2007-11-26 22:48 action.do_adduser1.php
These were installed using CMS MS to install the modules either through the module manager or XML upload via the modules tab. My upgrade to 1.2 at work was done using FTP and my upgrade at home going from 1.1.1 to 1.2.2 was done using ssh via FileZilla. Both logged in as the proper account owner (not a special ID or something).
I'm assuming that as root I can change the ownership of all these to my account id...but why is this happening? Is this a bug? Or is there something I am not considering?
-p
I am attempting to upgrade from 1.1.1 to 1.2.2. However, I noticed that a bunch of subdirectories have strange owners (like nobody or www-data).
I have not run into this problem in previous upgrades and am at a loss to figure this out.
According to the docs, when you upgrade, all you do (which I have done numerous times in the past) is to upload the upgrade setup for CMS Made Simple to your existing site and then overwrite all files in question. Now, however, at 1.2.2, when I do this I get really odd upload failures due to these ownership/permissions issues.
For instance, here is a partial listing of my modules permissions/owners:
-rw-r----- 1 nobody nobody 18292 Jul 17 20:32 UserManipulator.class.php
-rw-r----- 1 nobody nobody 3934 Jul 17 20:32 action.addgroup.php
-rw-r----- 1 nobody nobody 5759 Jul 17 20:32 action.addprop.php
-rw-r----- 1 nobody nobody 4223 Jul 17 20:32 action.addprop2.php
-rw-r----- 1 nobody nobody 1596 Jul 17 20:32 action.adduser.php
-rw-r----- 1 nobody nobody 8559 Jul 17 20:32 action.defaultadmin.php
-rw-r----- 1 nobody nobody 3405 Jul 17 20:32 action.do_addgroup.php
-rw-r----- 1 nobody nobody 4603 Jul 17 20:32 action.do_addprop.php
-rw-r----- 1 nobody nobody 2223 Jul 17 20:32 action.do_adduser1.php
-rw-r----- 1 nobody nobody 5995 Jul 17 20:32 action.do_adduser3.php
When I look at my other CMSMS server (my work server) - which has been running 1.2 for a while, I see this:
-rw-r--r-- 1 www-data www-data 4224 2007-11-26 22:48 action.addgroup.php
-rw-r--r-- 1 www-data www-data 4307 2007-11-26 22:48 action.addprop2.php
-rw-r--r-- 1 www-data www-data 5759 2007-11-26 22:48 action.addprop.php
-rw-r--r-- 1 www-data www-data 1596 2007-11-26 22:48 action.adduser.php
-rw-r--r-- 1 www-data www-data 3910 2007-11-26 22:48 action.admin_exportgroup.php
-rw-r--r-- 1 www-data www-data 11763 2007-11-26 22:48 action.admin_importgroup.php
-rw-r--r-- 1 www-data www-data 1400 2007-11-26 22:48 action.admin_logout.php
-rw-r--r-- 1 www-data www-data 2045 2007-11-26 22:48 action.admin_setlostun_template.php
-rw-r--r-- 1 www-data www-data 8829 2007-11-26 22:48 action.defaultadmin.php
-rw-r--r-- 1 www-data www-data 3970 2007-11-26 22:48 action.do_addgroup.php
-rw-r--r-- 1 www-data www-data 4659 2007-11-26 22:48 action.do_addprop.php
-rw-r--r-- 1 www-data www-data 2223 2007-11-26 22:48 action.do_adduser1.php
These were installed using CMS MS to install the modules either through the module manager or XML upload via the modules tab. My upgrade to 1.2 at work was done using FTP and my upgrade at home going from 1.1.1 to 1.2.2 was done using ssh via FileZilla. Both logged in as the proper account owner (not a special ID or something).
I'm assuming that as root I can change the ownership of all these to my account id...but why is this happening? Is this a bug? Or is there something I am not considering?
-p