0 file in root?

Reply

Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

0 file in root?

 
0
  #1
Jul 20th, 2004
I just noticed from within the finder that the root of my drive has a file, with no extension, called 0, that is a 0 byte file. Does anyone know where this could possibly have come from and whether it's save to delete? It should be, no? I'm thinking maybe it's a file needed by one of my apps which will eventually write to it? I dunno.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: 0 file in root?

 
0
  #2
Jul 20th, 2004
Hello,

I did not find such a file on my 10.3.4 computer... then again, I have one of the oldest computers that can run OS X.

Who owns the file? What group?

I would suggest that the file is not bothering you, aside from the nagging question of where did it come from. You might wish to run Disk Utility and do a scan and permissions thing on it.

Otherwise, let sleeping dogs sleep...

Christian
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 2
Reputation: dwoodhouse is an unknown quantity at this point 
Solved Threads: 0
dwoodhouse's Avatar
dwoodhouse dwoodhouse is offline Offline
Newbie Poster

Re: 0 file in root?

 
0
  #3
Aug 10th, 2004
I've been curious about this empty file too. Yes you can delete it, but it comes back again anyway.

I thought it may have been created by Firefox, but it appears to have been created by a root user, so that doesn't make sense.

Let me know what you find, because this is bothering me too...

thanks
Dean
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 153
Reputation: cosi is an unknown quantity at this point 
Solved Threads: 1
cosi's Avatar
cosi cosi is offline Offline
Junior Poster

Re: 0 file in root?

 
0
  #4
Aug 18th, 2004
I have a suggestion and an App idea. Perhaps you can just look at this mystery file and take note of that last accessed / last modified date. Take a look at it again in a week or few days or so. If it hasn't been updated, it's probably safe to delete.

Here's the App idea. There are commecial apps that look for least used files to delete and free up space. It would be nice to have an application that could be given a list of files to track. This app could log or notify you when a file is being accessed. Hmm... security would even benefit from this app.

I personally do not have this file on my system. I think it should be harmless to delete, especially b/c it has no information in there.


Ed
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 1
Reputation: samdeane is an unknown quantity at this point 
Solved Threads: 0
samdeane samdeane is offline Offline
Newbie Poster

Re: 0 file in root?

 
0
  #5
Aug 24th, 2004
I've also noticed this. I suspect it's caused by something that we're all using (unless it's something viral of course).

For me it seems to be present on my servers, but not my desktop machines.

Is anyone else using postfix? Anyone turned it on using Postfix Enabler? That's one of the things I've done on both of the affected machines.

I've also got VNC server running on both of them, but I've also got it running on a machine that isn't showing the problem (I do regard it as a problem!).
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 2
Reputation: dwoodhouse is an unknown quantity at this point 
Solved Threads: 0
dwoodhouse's Avatar
dwoodhouse dwoodhouse is offline Offline
Newbie Poster

Re: 0 file in root?

 
0
  #6
Aug 24th, 2004
A defect in a script used by OSXvnc (Server) appears to be the culprit. See here for the bug report and fix...

http://sourceforge.net/tracker/index...23&atid=507763

Thanks
Dean
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 51
Reputation: redage is an unknown quantity at this point 
Solved Threads: 1
redage redage is offline Offline
Junior Poster in Training

Re: 0 file in root?

 
0
  #7
Apr 27th, 2006
deleting certain zero-bytes files can kick you out of your system. root is the master mind that is allowed to do anything, by the way.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 1,620
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Solved Threads: 51
Team Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: 0 file in root?

 
0
  #8
Jun 15th, 2006
Hello,

Yes, it is dangerous to delete a 0 byte file.

Linux / Unix scripts allow you to touch a file, meaning, make a file, and have it filesize=0. Programs can do that to keep track of things, or simulate a lockfile condition for programming.

If file exists, then do this.

Christian
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: 0 file in root?

 
0
  #9
Jun 16th, 2006
Hmm ... are you sure it's OSXvnc? I used to use that app a long while ago. However, nowadays I use OS X's built-in "remote desktop" server, which seems to work fine with my Windows VNC client. I've done a clean install on my mac since I've downloaded / used OSXvnc.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Darwin, X11 and BSD Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC