User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Darwin, X11 and BSD section within the Tech Talk category of DaniWeb, a massive community of 403,510 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,123 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Darwin, X11 and BSD advertiser: Programming Forums
Views: 5852 | Replies: 8
Reply
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,893
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 111
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

0 file in root?

  #1  
Jul 19th, 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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2004
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Rep Power: 10
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: 0 file in root?

  #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  
Join Date: Aug 2004
Location: Saint Paul, MN
Posts: 2
Reputation: dwoodhouse is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dwoodhouse's Avatar
dwoodhouse dwoodhouse is offline Offline
Newbie Poster

Help Re: 0 file in root?

  #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  
Join Date: Aug 2004
Location: Hanover
Posts: 152
Reputation: cosi is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
cosi's Avatar
cosi cosi is offline Offline
Junior Poster

Re: 0 file in root?

  #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  
Join Date: Aug 2004
Posts: 1
Reputation: samdeane is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
samdeane samdeane is offline Offline
Newbie Poster

Re: 0 file in root?

  #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  
Join Date: Aug 2004
Location: Saint Paul, MN
Posts: 2
Reputation: dwoodhouse is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dwoodhouse's Avatar
dwoodhouse dwoodhouse is offline Offline
Newbie Poster

Re: 0 file in root?

  #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  
Join Date: Mar 2006
Posts: 42
Reputation: redage is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
redage redage is offline Offline
Light Poster

Re: 0 file in root?

  #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  
Join Date: Mar 2004
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Rep Power: 10
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: 0 file in root?

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,893
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 111
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: 0 file in root?

  #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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Darwin, X11 and BSD Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Darwin, X11 and BSD Forum

All times are GMT -4. The time now is 12:42 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC