TinyPortal

General => Chit chat => Topic started by: Mitchâ„¢ on April 16, 2006, 06:15:18 AM

Title: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 06:15:18 AM
I am trying to make it 777 but it just reverts back to 644.

How can I make this work?

:'(
Title: Re: Help with CHMOD!
Post by: elpvn on April 16, 2006, 06:18:01 AM
Have u get the right permission ? What program do u using with, MitchÃ,â,,¢ ?
Try flashfxp (http://www.flashfxp.com) or direct use the PHP admin by via Cpanel in your server
Title: Re: Help with CHMOD!
Post by: IchBin on April 16, 2006, 06:18:09 AM
This is probably something your host is forcing on you. If you chmod a file 777, and then notice it gets changed back I would assume your host has the server setup to not allow you to chmod certain files 777.
Title: Re: Help with CHMOD!
Post by: elpvn on April 16, 2006, 06:20:41 AM
Quote from: IchBinÃ,â,,¢ on April 16, 2006, 06:18:09 AM
This is probably something your host is forcing on you. If you chmod a file 777, and then notice it gets changed back I would assume your host has the server setup to not allow you to chmod certain files 777.

uh, right !
Try CHMOD to 775 or 755, usually it's better than 777Ã,  ;D
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 06:22:26 AM
IchBin: I have never had trouble CHMOD'ing things in the past especially a index.php file.

elpvn: I am using Ipswitch WS_FTP Proffesional
I will try the 775
And well I dont know I think something is wrong cause I go into cpanel and its fine but I go to Fantastico and its soo slow I mean look at this:

Title: Re: Help with CHMOD!
Post by: IchBin on April 16, 2006, 06:24:25 AM
Something definately is going wacky there. I would see how it is tomorrow. Maybe there is problems on the server.
Title: Re: Help with CHMOD!
Post by: elpvn on April 16, 2006, 06:25:04 AM
Quote from: Mitchâ„¢ on April 16, 2006, 06:22:26 AM
IchBin: I have never had trouble CHMOD'ing things in the past especially a index.php file.

elpvn: I am using Ipswitch WS_FTP Proffesional
I will try the 775
And well I dont know I think something is wrong cause I go into cpanel and its fine but I go to Fantastico and its soo slow I mean look at this:



For best, do not CHMOD your index.php to 777 !
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 06:27:58 AM
To IchBin: Ya 140 Seconds and it still wasnt loaded!

elpvn: Why? What is wrong with doing that?
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 06:35:14 AM
Ok ya something is goofy and not going on correctly its still doing it thanks anyways guys.
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 02:50:28 PM
Welp today is a new day but I am still having problems.

Error in SmartFTP:
[09:29:25] SITE CHMOD 775 index.php
[09:29:25] 550 Could not change perms on index.php: Bad file descriptor

Error in Ipswitch WS_FTP:
It doesnt give me an error it just reverts back too 644.

Folder properties go like this:
folder/subfolder/subfolder/file
777 /   775    /   755    /644
Title: Re: Help with CHMOD!
Post by: gerrymo on April 16, 2006, 03:52:03 PM
This could be an ownership issue. If you can check the ownership of the file. If it is "webserver" (or similar), you wont be able to change it. You need to change the owner of the file to "You". I've had a similar problem on my server, but now I know, its easy fixed.
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 03:59:18 PM
How do I check to see what the owner ship is?
And if it is named webserver how do I change it to me.
Title: Re: Help with CHMOD!
Post by: elpvn on April 16, 2006, 04:16:56 PM
I think you need check your permission of your FTP account or ask your hosting admin for best  :)
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 04:41:03 PM
How will that tell me who/what has permission over a folder?

and I am using the main FTP Account on my site.
Title: Re: Help with CHMOD!
Post by: G6Cad on April 16, 2006, 04:43:04 PM
In most FTp programs you can set it up to show in the info bar. Like
|name|size|modifyed|owner|group|attribute| etc etc

Look in the settings of the ftp program you use and see if you can find how to make it show.
Title: Re: Help with CHMOD!
Post by: PhilH on April 16, 2006, 04:53:19 PM
Mitch,
If your FTP ckient does not have the features G6 mentioned then try FileZilla http://sourceforge.net/projects/filezilla (http://sourceforge.net/projects/filezilla)

Very reliable and feature packed.

Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 04:56:12 PM
Ok well I do not know what this means when I go to my regular files it says owner: 32040

The files I am trying to edit belong to owner: 99

So I am guessing I am owner 32040 And need to change the 99 to my owner.

Can I fix this or is it something that my webhost has to do?
Title: Re: Help with CHMOD!
Post by: PhilH on April 16, 2006, 05:03:57 PM
If you can login as root, which is 99, you can make the required changes. If you are on a shared server or any server without root access then you will need the host to make the changes for you.
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 05:08:02 PM
Hmm what do you mean log on as the root?
Title: Re: Help with CHMOD!
Post by: Crip on April 16, 2006, 05:12:09 PM
Mitch -
Folders/Directorys should be 755 - while those files inside it should be 644 - this works for me on most servers - html / shtml /php / cgi -perl/ et-ceteras..et-ceteras.
      :)
Title: Re: Help with CHMOD!
Post by: Crip on April 16, 2006, 05:13:19 PM
root is /www/public_html/username/
Title: Re: Help with CHMOD!
Post by: Crip on April 16, 2006, 05:14:37 PM
Do you have use of Cpanel?
Title: Re: Help with CHMOD!
Post by: PhilH on April 16, 2006, 05:16:25 PM
If you had it you would know about its use. See http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-wstation-privileges.html (http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-wstation-privileges.html)

Have you contacted your host?

crip.... he can't chmod if he does not own the files/directories in question.
Title: Re: Help with CHMOD!
Post by: Crip on April 16, 2006, 05:21:31 PM
OK..gottcha PhilH.
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 05:22:37 PM
Quote from: PhilH on April 16, 2006, 05:16:25 PM
If you had it you would know about its use. See http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-wstation-privileges.html (http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-wstation-privileges.html)

Have you contacted your host?

crip.... he can't chmod if he does not own the files/directories in question.

Yes I have but honestly my Webhost sucks but I cant complain it is free.
I have not the only ftp username and account I use is the one that I use to log into Cpanel with.
Title: Re: Help with CHMOD!
Post by: PhilH on April 16, 2006, 05:25:11 PM
You get what you pay for ;)

How long have you been waiting for your host to respond?
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 05:27:39 PM
Quote from: PhilH on April 16, 2006, 05:25:11 PM
You get what you pay for ;)

How long have you been waiting for your host to respond?

Well like a day and a half. Ya  I know its really not that long but you know how impatient I am Phil. XD
Well I am slightly irratated to cause I have a paid account to and I cant use it for what I want to now because of this.
Title: Re: Help with CHMOD!
Post by: PhilH on April 16, 2006, 05:32:11 PM
That is too long!

patience.. ;D, no worries Mitch, I am also very impatient when it comes to server support. If you can afford $7 - $10 per month you should switch hosts.
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 05:34:09 PM
Quote from: PhilH on April 16, 2006, 05:32:11 PM
That is too long!

patience.. ;D, no worries Mitch, I am also very impatient when it comes to server support. If you can afford $7 - $10 per month you should switch hosts.

I do pay 7-10 a month for one of them. But that is something that I really cant pay for right now becuase Well I lost my job and this month is already paid for and I was going to upgrade my account so I could host other sites. So I would have my own minisever. He has a tech team that he pays out of the arse for. But I have no way to contact them.
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 16, 2006, 05:39:02 PM
Yeah! My host is online!
I had to spam his forums.   8)
Title: Re: Help with CHMOD!
Post by: PhilH on April 17, 2006, 12:24:41 AM
Your issue, is it resolved???
Title: Re: Help with CHMOD!
Post by: Mitchâ„¢ on April 17, 2006, 12:33:30 AM
Yes it is. It turns out that I cant edit them in an external editor I HAD to use the one that was integrated into what I was using.
Title: Re: Help with CHMOD!
Post by: PhilH on April 17, 2006, 12:39:25 AM
Cool, now you change permissions as needed. Glad you got it squared away. Thanks for changing the icon to solved. ;)