PDA

View Full Version : REALLY BAD CHMOD Problem


bapinney
5-28-03, 10:24 PM
Ok, I am totally aware of how to chmod and ftp and stuff. Usually, instead of using WS_FTP LE, I will use a cgi program I installed called FileMan.

Anyways, I was setting up a folder, and I wanted to make it invisible to other people. As in, there are files in that folder, but websurfers can't do a virtual listing. Well, I chmod'ed the wrong permissions. The permissions set denied everyone from accessing the folder.

I remember having this problem before. And all I had to do was chmod it back and I can access it again. Well, I can't chmod it back. I get a permission denied error. I tried chmoding it in both FileMan (what I used to chmod it in the first place), and in WS_FTP LE.

To answer some questions:
Yes, I am the "owner" /creater of that folder.
Yes, I used the same username to create the chmod permissions. as I did to try and chmod it back.
Yes, I actually tried to CHMOD it under all FTP accounts as well as the CGI script I used to CHMOD it, and I still got "permission denied"
Yes, I have the master ftp account to my site and tried to CHMOD it back using that.

Anyways, I was wondering if anyone knew how to help me out with my situation.

Thanks

--Branden

B&T
5-28-03, 10:36 PM
When ever I have had problems changing/deleteing/whatever with files through ftp I have always found IE to be the one tool that would come through. I know people don't like IE as an ftp tool (and neither do I for routine tasks). But give it a try - it has worked for me in sticky situations when I could not get other tools to work right.

You can use IE to ftp to your site with:

ftp://XXXX:YYYY@ftp01.powweb.com/

where XXXX is your user and YYYY is your password.

To chmod, right click and choose properties.

It is worth a try - good luck :)

bapinney
5-29-03, 09:16 PM
Thanks for the advice, but it didn't work. I also tried loging on through HTTP (I have frontpage extensions enabled), and that didn't work either.

HalfaBee
5-30-03, 04:41 AM
If you have chmod the file to 000 you can't fix it.
You will have to email support@powweb.com and ask them to chmod it to 644.

Make sure you give them the server and full path to the file.

HalfaBee

bapinney
5-30-03, 08:18 PM
hmmm....

Ok, thanks, it looks like I don't really have any other choice. Powweb should set permissions on their ftp to prevent things like this from happening to people who accidently chmod a directory wrong.

HalfaBee
5-30-03, 09:10 PM
If you use an FTP client you can't do it.
If use cgi you can, it just can't be stopped when you use cgi scripts.

HalfaBee

sandy
5-30-03, 10:44 PM
Powweb should set permissions on their ftp to prevent things like this from happening to people who accidently chmod a directory wrong.

I'll probably be flamed for saying this, but, it's not Powweb's responsibility to prevent anyone from doing anything to their own website. If they put any additional restrictions on us, there will be others who will complain.

The best thing to do when not sure what you're doing, is ... don't do anything. Ask for help first.

Not criticizing you .. but stating this generically. Too many try to do things that they would be better not attempting. People have to take accountability for their own actions. This isn't powweb's fault.

Sandy