Hello, I've joined Daniweb months ago, but haven't really had the time to post here. I apologize if I posted in the wrong section, as I tried to look for the most specific one. So far I've seen Linux/Unix > server as the closest.

I'm currently stuck with my situation right now. I recently migrated servers, and I'm trying to reinstall a forum script to my new host, however I kept getting an error stating that the folder I'm trying to install the script into is not empty. I am using PuTTY because the script currently requires Composer and SSH access. The error is indicated here: http://imgur.com/y2LoujF

I've tried everything, which includes the command line of rm -rf ~\wellspringdreams.club\* to clear everything including the hidden files, however, it seems (per the screenshot above) that there are two "very hidden" ones that I can't remove.

How do I solve this? Please help?

Thank you very much! - Adrianne

Recommended Answers

All 7 Replies

I don't think it's Flarum, but the directory by itself. I contacted my host about the issue hours ago and I still have yet to hear from them. I've tried requesting for help at the Flarum support forums months ago, but some of them are really unfriendly, which is why I had to go somewhere else for help.

I've already looked into those links you provided me before I resorted to posting here. None of those work.

Let's say it's the parent folder. Now create yet another folder in the folder you 777'd so the folder and its parent are wide open.
Also try / instead of . (see that last link I gave.)

It's entirely possible your host doesn't support this app/system.

Hi,

I don't want to add confusion, but I wonder if there is an open process pointing to an unlinked file in that directory. Try something like:

lsof -nP +L1 | grep '(deleted)' | grep -i ".club"

from a terminal, to see if it outputs results. To be honest, I ran a test on my system[2] and, while the file was still "existing" for the process, I was able to install Flarum through composer.

Reference:

  1. http://www.gnu.org/software/libc/manual/html_node/Deleting-Files.html
  2. http://www.linuxquestions.org/questions/linux-security-4/how-can-i-hide-a-file-from-ls-a-496229/

Anyway, instead of using composer on the server, you could install it on local and then use SFTP (Filezilla has the client too) to upload all the files to the server.

Cereal may have the workaround.

Anyway, instead of using composer on the server, you could install it on local and then use SFTP (Filezilla has the client too) to upload all the files to the server.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.