[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Raq3 CMU



> Hi!
> We want to move some virtual sites from Raq3 to Raq3.
> The steps 1-6 from your migration installation documentation are no problem.
> When I try to ftp the files to the target raq I get a permission denied at
> the ftp command
> ( put /home/cmu/* /tmp/ )
> also when I try it with cute_ftp.
> After change the permissions to 777 I moved them with Cute_ftp and continued
> with step 8 of your manual. But then the owner of the site and of user
> directories is admin and not the specified user, or httpd, or nobody as
> before.
> Im sure this way is not the right solution. Maybe you can assist me in which
> correct way I have to use the ftp command in telnet or how can I copy the
> files without changing permissions.
> Thanks in advance
> Manfred

Yes, this is a bug in CMU, in the next release the /home/cmu directory (and sub dirs) will be owned by uid root and gid admin with 640 permissions (since cmu.xml does contain encrypted password data from /etc/shadow).  Which will allow admin ftp read access to the data.    

workaround for now:
$ chown -R root.admin /home/cmu
$ find /home/cmu -type d |xargs chmod 750
$ find /home/cmu -type f |xargs chmod 640