
3rd December 2006, 12:41
|
|
Member
|
|
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Rename folder -> create new folder equals contents of old folder
Ok. I followed the perfect setup for Fedora Core 5.
When accessing the site via IP, renaming a folder to something else, and then recreating a new folder with the same name, will result in the new folder holding the contents of the old directory. Whether it is a symlink or a true copy I am not sure and have no time to explore.
I was originally gonna post a "aw crap! why me!" thread but as indicated above, logging in via the actual domain does not cause the same problems.
|

4th December 2006, 10:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
Did you rename the folder with FTP or with the mv command on the shell?
|

4th December 2006, 13:58
|
|
Member
|
|
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
using FTP. this FTP has had no problems before.
FlashFXP
|

5th December 2006, 17:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
And does the domain name point to the correct IP address? You can check with
|

5th December 2006, 17:37
|
|
Member
|
|
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I think you misunderstand.
FTPing to the IP will create the problem mentioned. FTPing to the domain which points to the IP will not.
In any case, the domain points to the IP.
|

6th December 2006, 17:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by BlueStream
When accessing the site via IP, renaming a folder to something else, and then recreating a new folder with the same name, will result in the new folder holding the contents of the old directory. Whether it is a symlink or a true copy I am not sure and have no time to explore.
|
What's the output of
Code:
ls -la /path/to/parentfolder
and what's the name of the directory you're trying to rename?
|

7th December 2006, 03:51
|
|
Member
|
|
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
What's the output of
Code:
ls -la /path/to/parentfolder
and what's the name of the directory you're trying to rename?
|
Hi. How do I do this? Thru the ftp? I'm using a GUI ftp.
Or should I access the server directly.
Sorry, completely lost here.
|

7th December 2006, 09:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
Please connect with SSH. A free windows SSH client is putty.
|

7th December 2006, 10:30
|
|
Member
|
|
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
After connecting succesfully, I immediately get a connection closed by host message. Both on accessing via IP and via the domain.
|

8th December 2006, 14:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Did you connect as root? Maybe the user you tried doesn't have shell access.
Anyway, instead of SSH, you can use the system's terminal if you have physical access to the system.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Create imap folder
|
alex916 |
Installation/Configuration |
12 |
9th April 2007 21:04 |
|
Verify email setup
|
meekish |
Installation/Configuration |
28 |
27th October 2006 15:36 |
All times are GMT +2. The time now is 18:22.
|
Recent comments
1 day 9 hours ago
1 day 18 hours ago
1 day 21 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 3 hours ago
2 days 19 hours ago
2 days 20 hours ago