Web Hosting Talk







View Full Version : directory /logs


serv
12-27-2001, 08:11 AM
can i delete the files in the directory /logs/
at 1 site at my raq... the site have many visitors

the files is

75453 ftp.cache
75692 ftp.cache.new
416022 ftp.log
62837 ftp.stats
577 mail.cache
290 mail.log
11211 mail.stats
26570117 web.cache
26750759 web.cache.new
8012697 web.log
750296 web.log.1.gz
5223165 web.stats

what is in this files?


also... how i can delete the files in /users/stats/web (webalizer)
i dont have a permisition

thank you

kprojects
01-02-2002, 02:17 AM
Heya,

You probably mean:
/home/sites/sitexx/logs ?

if so, sure ya can.. i'd touch them afterwards though to create empty files..

touch ftp.cache
touch ftp.cache.net
etc..

Other question, for permission to do that, you'll need to su to root..

$ su - [enter]
(it'll ask you for a password) [enter]
#

now you're root and have permission to delete anything on the box. be careful :)

Rob