Page 1 of 1
Can I upload CMSMS in this way ?
Posted: Sat Apr 14, 2007 4:13 pm
by amin30b
Hi
Can I upload CMSMS with a
tar.gz compressed package to my linux server and then extract it on server ?
May this action cause to bad files permission or security problem ?

Re: Can I upload CMSMS in this way ?
Posted: Sat Apr 14, 2007 5:57 pm
by Nullig
I don't see why not. You can always adjust permissions after you extract the files.
Nullig
Re: Can I upload CMSMS in this way ?
Posted: Sat Apr 14, 2007 6:42 pm
by amin30b
Ok , But I don`t want change permission after extracting.
I want to know default permission after extracting from tar.gz is suitable or not ?
Re: Can I upload CMSMS in this way ?
Posted: Sat Apr 14, 2007 6:51 pm
by Nullig
You can always use some modifiers when extracting, like:
--owner=NAME --group=NAME --no-same-permissions
to make sure that the file permissions are OK.
Nullig
Re: Can I upload CMSMS in this way ?
Posted: Sun Apr 15, 2007 7:00 am
by amin30b
Oh, I can`t see what you want to say ?
I want just know default permission after extracting from tar.gz is suitable or not ?
My Host Control Panel is cPanel ?
Re: Can I upload CMSMS in this way ?
Posted: Sun Apr 15, 2007 5:05 pm
by Nullig
I guess it depends on who (which user) is creating the tar file, whether it was created on a linux system or windows system and what parameters you pass to the tar program when you extract.
Why don't you try it and see, then you can let us know?
Nullig
Re: Can I upload CMSMS in this way ?
Posted: Sun Apr 15, 2007 6:54 pm
by amin30b
ok, I will do it and report result .
Re: Can I upload CMSMS in this way ?
Posted: Mon Apr 16, 2007 1:47 pm
by Pierre M.
Hello,
amin30b wrote:
Can I upload CMSMS with a tar.gz compressed package to my linux server and then extract it on server ?
This is even my recommended way of installing. You even may download from the hosting location. I install via SSH with wget+tar.
If you can untar on your hosting location, I'm confident you can chown and chmod too.
Pierre M.
Re: Can I upload CMSMS in this way ?
Posted: Tue Apr 17, 2007 9:26 pm
by amin30b
Hi friends,
I compressed a folder that I have been created in my windows with
PowerArchiver software into
tar.gz format .
Then I uploaded it into my server on web through cPanel filemanager and extracted it . Folders permission is 755 and files permission is 444 , of course
after extracting .
But by default when we upload a file (any file) or when we crate a folder through File Manager in cPanel Folders permission is 755 like
before but files permission isn`t 444 like before ,yea files permission is 644 .
Now I want to know difference between 644 and 444 may cause to some problems in CMSMS installation and running or not ?
Please guide meĀ

Re: Can I upload CMSMS in this way ?
Posted: Wed Apr 18, 2007 1:27 pm
by Pierre M.
444 makes a file worldreadable. 644 adds modifying permission to its owner.
On a running CMSms install, config.php should be 444 or even 440 or even 400 if it works.
File permissions may not be the same from one hosting location to the other, as seen in these forums. You should follow the installation instructions and it should work out of the box. In some rare cases, the permissions need to be raised or lowered, but it is very specific.
Pierre M.
Re: Can I upload CMSMS in this way ?
Posted: Wed Apr 18, 2007 4:02 pm
by amin30b
So I can work with 444 permission on my linux server, Yes?
Re: Can I upload CMSMS in this way ?
Posted: Wed Apr 18, 2007 7:21 pm
by Pierre M.
Pierre M. wrote:
On a running CMSms install, config.php should be 444...
Re: Can I upload CMSMS in this way ?
Posted: Wed Apr 18, 2007 8:04 pm
by amin30b
What about other files . Can`t they be 444?
And what about after installation .

Re: Can I upload CMSMS in this way ?
Posted: Fri Apr 20, 2007 7:59 am
by Pierre M.
Just try to lower access rights, until CMSms can't operate in your hosting context.
Some need to be writeable : tmp, cache...
Please read other users experience about this in these forums.
Pierre M.