GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   When you lock yourself out of an ftp directory... (https://gfy.com/showthread.php?t=870224)

MrMaxwell 11-19-2008 06:45 AM

When you lock yourself out of an ftp directory...
 
077 I guess is what I've set it to..
No owner permissions, can't delete it...

- Jesus Christ - 11-19-2008 06:46 AM

Uh... change the permission settings back back?

Dirty Lord 11-19-2008 06:47 AM

If you change the permissions for "normal settings"?

V_RocKs 11-19-2008 06:47 AM

SSH is always nice.

MrMaxwell 11-19-2008 06:49 AM

I can't change the permissions.. I broke it

- Jesus Christ - 11-19-2008 06:54 AM

Is this even possible?

I acutally just went and TRIED to do this to myself and it didn't work.

What FTP server are you running?

MrMaxwell 11-19-2008 07:06 AM

See! I thought so!
I've never seen this happen before.

MrMaxwell 11-19-2008 07:07 AM

The client I use is called Filezilla

MrMaxwell 11-19-2008 07:11 AM

Response: 550 Can't change directory to h: Permission denied
Error: Failed to retrieve directory listing
Status: Set permissions of '/h' to '777'
Command: CWD ************
Response: 250 OK. Current directory is********
Command: PWD
Response: 257 *************" is your current location
Command: SITE CHMOD 777 h
Response: 550 Could not change perms on h: Permission denied

- Jesus Christ - 11-19-2008 07:15 AM

If you dont have root... contact your host.
No one on GFY is going to be able to help you.

MrMaxwell 11-19-2008 07:16 AM

It's funny, because I always did, before...

Iron Fist 11-19-2008 07:34 AM

Quote:

Originally Posted by V_RocKs (Post 15076558)
SSH is always nice.

Indeed... see below:

Code:

user@machine:~/homedirectory/testdir$ mkdir test
user@machine:~/homedirectory/testdir$ ls -l

total 0
drwxr-xr-x 2 user user    6 2008-11-19 09:25 test

user@machine:~/homedirectory/testdir$ chmod 000 test
user@machine:~/homedirectory/testdir$ ls -l

total 0
d--------- 2 user user    6 2008-11-19 09:25 test

user@machine:~/homedirectory/testdir$ rm -rf test
user@machine:~/homedirectory/testdir$ ls -l

total 0

You can't do this by FTP... you need to download a SSH client like PuTTY

Don't ask me to help you set it up... ask your host.

Tevion 11-19-2008 09:18 AM

You'll need root access, otherwise you'll not be able to chmod the file back. If you don't have root access contact your host, it's just a matter of minutes :thumbsup


All times are GMT -7. The time now is 02:23 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123