Iworx trashes all .htaccess files

Every time a .htaccess file is created, it automatically disappears within a second. This is through creating in the file manger or uploading by FTP.
When accounts were transfered, as a result all of these seem they were deleted.
This most likely put major security holes in a lot of websites, as .htaccess is used to restrict access to important files.
Why on earth does it do this and how can it be fixed?

Are you sure they’re not being hidden?

cd to one of the directories and do ls -al | grep htaccess

A lot of FTP programs also don’t show .htaccess files by default. You can change this by editing:
/etc/proftpd.conf

and adding this line in ther:

ListOptions -a

And then restarting the ftp service:

service proftpd restart

[quote=stephen_wq;10310]
When accounts were transfered, as a result all of these seem they were deleted.[/quote]

I’ll just add to what Greg said with the clairification that .htaccess files are NOT deleted by the backup/restore/import system, or at least shouldn’t be.

From the shell you can get a complete directory listing (which includes system files like those beginning with a period) with the command ls -la instead of dir. There is also a setting within Fileman to make all files visible (I don’t have it open right now).

If you do this and find that the files are indeed missing post import please open a ticket as that would be a bug.

In file manager, click Prefs at the top and then make sure “[SIZE=2]Do you want to show hidden files?” is checked
[/SIZE]