Couldn't CHMOD !!!!

Support for IntegraMOD 140

Moderator: Integra Moderator

Couldn't CHMOD !!!!

PostAuthor: Genjuro-Sensei » Mon May 22, 2006 5:04 pm

Hello,

When trying to CHMOD files and folders, the server respond:

[color=red][R] SITE CHMOD 777 /album_mod/upload
[R] 500 'SITE']

and the CHMOD does not apply !!

What shoud i do ???

Thanks a LOT for help !!
Last edited by Genjuro-Sensei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Genjuro-Sensei
Newbie
Newbie
 
Posts: 29
Likes: 0 post
Liked in: 0 post
Joined: Wed May 17, 2006 3:22 am
Cash on hand: 0.00

Re: Couldn't CHMOD !!!!

PostAuthor: Helter » Mon May 22, 2006 5:13 pm

you must be on a windows server. Just make sure it is read/writable
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: Jason Sanborn » Mon May 22, 2006 6:28 pm

If you are on a Windows Server, there are some things that you won't be able to do via FTP, and you might have to ask your host to change the permissions for the Internet Guest Account to those files/folders.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

Re: Couldn't CHMOD !!!!

PostAuthor: Genjuro-Sensei » Tue May 23, 2006 2:18 am

The server is Linux...

Thanks anyway...
Last edited by Genjuro-Sensei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Genjuro-Sensei
Newbie
Newbie
 
Posts: 29
Likes: 0 post
Liked in: 0 post
Joined: Wed May 17, 2006 3:22 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Tue May 23, 2006 4:33 am

"Genjuro-Sensei";p="6967" wrote:The server is Linux...

Thanks anyway...
I thought this may be the case, and I spoke to adbasques on a similar issue, where it appears he cannot chmod because his server login is not the owner named on the file who put it there. I replied to him;

I have come across this before, sometimes it is the host enforcing certain CHMODs that they feel are good enough, or it can be your unzipping program, or it can also be if the site has been restored by the host from a backup. I do find a couple of ways to get around it. If you go through your hosting file manager to change the CHMODs then this is normally accepted. If not, download the file you want changed, delete the original, then reupload the file, where you can change the permissions then.

One thing to look at is the named owner of the file, this should be your hosting username, if not you should ask whose login it is. If you cannot see the named owner I can look at it if you wish.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: Couldn't CHMOD !!!!

PostAuthor: Genjuro-Sensei » Tue May 23, 2006 5:01 am

Thanks,

The file manager provided by the host service doesn't have any CHMOD functions, it allow only create/rename/delete directories and files, and upload them !!
Last edited by Genjuro-Sensei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Genjuro-Sensei
Newbie
Newbie
 
Posts: 29
Likes: 0 post
Liked in: 0 post
Joined: Wed May 17, 2006 3:22 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Tue May 23, 2006 5:03 am

Yes but do you use an ftp program that informs you of file owner name? If you need me to look I would be happy to.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: Couldn't CHMOD !!!!

PostAuthor: Genjuro-Sensei » Tue May 23, 2006 5:47 am

<img> I Really dont understand you, but what you want !!
the program i'm using is FlashFXP

But i tried many others like Filezilla...etc and also FTP website like web2ftp, always i get the same error !!

you may need other informations ?
Last edited by Genjuro-Sensei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Genjuro-Sensei
Newbie
Newbie
 
Posts: 29
Likes: 0 post
Liked in: 0 post
Joined: Wed May 17, 2006 3:22 am
Cash on hand: 0.00

PostAuthor: Fubie » Tue May 23, 2006 8:46 am

When using FlashFXP on the right panel where it shows your files on your host you should see a column at the top that says Owner.

Example, Mine says Name Size Modified Owner

If yours does not have an owner column try right clicking the column header and selecting owner.
Last edited by Fubie on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.myhorrorstories.com/files/bannerexchange.gif[/img][/url]

[url=http][img=left]http://www.fubie.net/images/geekstufflarge.jpg[/img][/url]

Fubie
Dev Team
Dev Team
 
Posts: 742
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 7:52 pm
Cash on hand: 0.00

Re: Couldn't CHMOD !!!!

PostAuthor: Genjuro-Sensei » Tue May 23, 2006 10:16 am

Yeah, the "Owner" colum says: web

What should i do ??

Thanks.
Last edited by Genjuro-Sensei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Genjuro-Sensei
Newbie
Newbie
 
Posts: 29
Likes: 0 post
Liked in: 0 post
Joined: Wed May 17, 2006 3:22 am
Cash on hand: 0.00

PostAuthor: Fubie » Tue May 23, 2006 10:26 am

Speak to your host and ask them to set it to your login name or domain name.
Last edited by Fubie on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.myhorrorstories.com/files/bannerexchange.gif[/img][/url]

[url=http][img=left]http://www.fubie.net/images/geekstufflarge.jpg[/img][/url]

Fubie
Dev Team
Dev Team
 
Posts: 742
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 7:52 pm
Cash on hand: 0.00

PostAuthor: Eon » Thu May 25, 2006 4:26 am

This maybe a wishful thought from neverland, but is there any way to get rid of this issue all together? I mean I know we have hundreds of mods installed here, but the install of phpbb2 never had chmod'ing to be done.

Although this would mean more info being stored in the database I am guessing, but there has to be someway to remove this permissions issue.

Maybe a way to set the permissions of the files on the install, even if unzipped.

Just thinking out loud here.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Thu May 25, 2006 5:05 am

Yes I think it may be possible to some extent, but it may increase the number of queries, and there will still need to be some chmods for file upload etc. One of the main reason for the 666 permissions is to use cacheing. The system is slow now, so I am not sure if you may get memory or server overload without it.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: Couldn't CHMOD !!!!

PostAuthor: Dragonsys » Thu May 25, 2006 5:42 am

the CHMOD being required is due to all the Mods installed. That is why phpBB does not require them and IM does.

some of the Mods (File attachments, template cache, etc) require read/write permissions, without the CHMOD those Mods would not work.

I have seen a script which will do all the CHMOD for you, I think the problem then is that if the files are owned by a different user, yo umight still run into problems. On a *NIX server, you should be the owner of your files. If you are not the owner, then your WebHost needs to correct that.

I will see if I can find that script again.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Eon » Thu May 25, 2006 6:30 am

Yeah I am familiar with that script, and for a lot of people it does not work due to the issue you stated. Or other issues. Cause I am the owner on one server and it still will not allow that script to run.

If there was a way to set these permissions in the actual install package this would solve a lot of problems. But keeping the host from changing them would be the issue.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

Re: Couldn't CHMOD !!!!

PostAuthor: Genjuro-Sensei » Thu May 25, 2006 6:58 am

Thanks for your replies.

But i think there is no hope... cuz i just noticed that my host provider have deactivated some commands in their PHP installation, one of the deactivated commands is CHMOD :(
Last edited by Genjuro-Sensei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Genjuro-Sensei
Newbie
Newbie
 
Posts: 29
Likes: 0 post
Liked in: 0 post
Joined: Wed May 17, 2006 3:22 am
Cash on hand: 0.00

Re: Couldn't CHMOD !!!!

PostAuthor: Dragonsys » Thu May 25, 2006 10:51 am

"Genjuro-Sensei";p="7279" wrote:Thanks for your replies.

But i think there is no hope... cuz i just noticed that my host provider have deactivated some commands in their PHP installation, one of the deactivated commands is CHMOD :(


??? huh? CHMOD is a system command, not a PHP command. Do they disallow system commands to be run by PHP scripts?
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot]