Can I upload CMSMS in this way ?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Can I upload CMSMS in this way ?

Post 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 ? :o
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Can I upload CMSMS in this way ?

Post by Nullig »

I don't see why not. You can always adjust permissions after you extract the files.

Nullig
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: Can I upload CMSMS in this way ?

Post 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 ?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Can I upload CMSMS in this way ?

Post 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
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: Can I upload CMSMS in this way ?

Post 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 ?
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Can I upload CMSMS in this way ?

Post 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
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: Can I upload CMSMS in this way ?

Post by amin30b »

ok, I will do it and report result .
Pierre M.

Re: Can I upload CMSMS in this way ?

Post 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.
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: Can I upload CMSMS in this way ?

Post 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  :)
Pierre M.

Re: Can I upload CMSMS in this way ?

Post 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.
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: Can I upload CMSMS in this way ?

Post by amin30b »

So I can work with 444 permission on my linux server, Yes?
Pierre M.

Re: Can I upload CMSMS in this way ?

Post by Pierre M. »

Pierre M. wrote: On a running CMSms install, config.php should be 444...
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: Can I upload CMSMS in this way ?

Post by amin30b »

What about other files . Can`t they be 444?
And what about after installation . :-\
Pierre M.

Re: Can I upload CMSMS in this way ?

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”