rejetto forum

Software => Other languages => HFS ~ HTTP File Server => Pусский => Topic started by: f2065 on July 12, 2015, 02:34:41 PM

Title: Что за файлы в VirtualStore в большом количестве?
Post by: f2065 on July 12, 2015, 02:34:41 PM
Я так понимаю, что HFS постоянно пишет временные файлы в свою папку.
А поскольку он установлен в %programfiles% и работает UAC - то Windows ему не даёт это делать и перенаправляет в VirtualStore.
Проблема в том что этих tmp-файлов там скапливается много - сотни штук за месяц.

Вот например:
C:\Users\xxx\AppData\Local\VirtualStore\Program Files (x86)\Http File Server\hfs.ini~434537222.tmp
C:\Users\xxx\AppData\Local\VirtualStore\Program Files (x86)\Http File Server\hfs.tpl~759291080.tmp

Можно ли как-то решить эту проблему? Чтобы не оставались там сотни ненужных файлов…
Title: Re: Что за файлы в VirtualStore в большом количестве?
Post by: bmartino1 on July 12, 2015, 02:53:48 PM
because it is in the program files, i assume you are using FHFS

http://www.rejetto.com/forum/fhfs/way-to-change-default-url-root/msg1059177/#msg1059177

You need to set windows folder permissions

You will need to change the set/permission of this folder path:
*see pictures in link above...

Make sure you are the "folder's OWNER":

Right Mouse click > Properties > Security tab > Advance button
Advance security settings for fhfs > Owner tab > Edit button
Checkbox Replace owners on subcontiners and objects
click on your current windows user name (%user)
(in pictures i have scratched this out...)

apply and ok wait for setting to finish!

Apply your new folder permissions:

Right Mouse click > Properties > Security tab > Advance button
Advance security settings for fhfs > permissions tab >
In the drop down list you will need these users/groups and apply full control to them all

Uncheck the box "include inheritable permissions form the objects parent
*(IF asked click add the users/groups)
these groups need to be added:
System
Administrators
Users
these users need to be added:
(Your current user name)%user
Trustedinstaller
everyone
Creator Owner

----Now file permissions are good for program and user access!---