Results 1 to 14 of 14

Thread: VAR folder

  1. #1


    Member Since
    Sep 01, 2013
    Posts
    10
    VAR folder
    After playing around with an app called Invisiblix (it makes hidden folders visible or invisible at will) a folder called "VAR" has appeared in my home folder. I understand that this folder is normally hidden but it is now visible at all times regardless of what I do in Invisiblix. How do I make it hidden again?

  2. #2

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,519
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    There should not be a var folder in your home directory.

    My first question would be how did it get there?
    Did you create an alias of the var folder which would be located in private/var at the root of the drive?
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  3. #3


    Member Since
    Sep 01, 2013
    Posts
    10
    Quote Originally Posted by bobtomay View Post
    Did you create an alias of the var folder which would be located in private/var at the root of the drive?
    Not knowingly.

  4. #4

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,519
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    Is there an arrow on the folder?

    Are you sure you're looking at your home folder?

    Can you post a screen shot?

    What Mac and version of OS X are you using?
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  5. #5


    Member Since
    Sep 01, 2013
    Posts
    10
    There is no arrow.

    If the home folder has a little picture of a house I have the home folder.

    The VAR folder contains a sub-folder called LOG and a hidden file called .DS_Store. The LOG folder is empty.

  6. #6

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    There is a /var/log folder that contains system logs but, as you can tell from the path, that's nowhere near your home folder (your home folder would be /Users/<username>).

    My advice from all of this - stop unhiding folders that were meant to be hidden (they're hidden for a reason). If you really need to see a folder, push Shift-Command-G and enter the directory manually.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  7. #7

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,519
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    Guess better question would have been...

    Are you sure you are looking inside the home folder?

    right click on the file and select Get Info

    What does it say for Kind, Size and Where?

    still need the version of OS X you are using.
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  8. #8


    Member Since
    Sep 01, 2013
    Posts
    10
    I am sure I'm looking inside the home folder.

    Kind: folder
    size: 6,148 bytes (8 KB on disk) for 2 items
    Where: /users/username

    OS X 10.8.4

  9. #9

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,519
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    ???

    Don't have a clue if some other application you've installed would place that folder there.

    Perhaps try Repair Permissions.
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  10. #10

    XJ-linux's Avatar
    Member Since
    Jul 02, 2007
    Location
    Going Galt...
    Posts
    3,451
    Specs:
    MacBookAir5,2:10.9.5-MacMini3,1:10.9.5-iPhone6,1:8.4.1
    Sounds like a program that was installed used something like a default of $HOME to create a variable sized directory (ie var directory) in there for logging. About all you can do without buying maintenance software is to look in your syslog's and search for /Users/username/var to see if you get lucky and see an entry that calls things out well enough. From there you can hopefully find out what uses it and whether you need it.

    As far as "seeing" it, I'd imagine it will go away of you chmod it to something less obvious like 740 or whatnot - depending upon what it's current ownership and permissions are. Then again that could "break" whatever is logging there. Of course, again, there doesn't seem to be anything logging there, so your guess is as good as anyone else's right now...

    Good times.
    Never judge a man, untill you have walked a mile in his shoes...
    That way you'll be a mile away from him, and you'll have his shoes.

  11. #11


    Member Since
    Sep 01, 2013
    Posts
    10
    Thanks for your help guys. I guess I'll just leave it there for now.

  12. #12


    Member Since
    Sep 01, 2013
    Posts
    10
    What if I drag the offending folder to the desktop to see what happens? Am I likely to destabilise the whole machine or something equally disastrous?

  13. #13

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,519
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    Don't believe it will do anything since it is in your home account (directory I meant) and not in any of the system folders.

    However, I would create a new user account with admin privileges first.
    Then move the folder to the trash (or desktop).
    Then reboot - if it lets you back into your user account and everything is working - no harm no foul.
    If it doesn't, boot into the new account you created and move the folder back to where it came from.
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  14. #14

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by ubeauty View Post
    What if I drag the offending folder to the desktop to see what happens? Am I likely to destabilise the whole machine or something equally disastrous?
    Not likely. I'm guessing that an app created ~/var/log when it meant to put things in /var/log and did this accidentally.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Will this solve my problem? rm /var/db/.applesetupdone
    By WanderlustTime in forum OS X - Operating System
    Replies: 18
    Last Post: 03-19-2015, 10:18 PM
  2. I accidentally deleted /private/var folder
    By Macetazz in forum OS X - Operating System
    Replies: 9
    Last Post: 03-17-2013, 11:49 AM
  3. /var
    By andreshermoso in forum OS X - Operating System
    Replies: 1
    Last Post: 05-07-2010, 07:22 PM
  4. Deleting VAR/sleepimage file- OSX 10.6.2
    By Axxll in forum Apple Notebooks
    Replies: 5
    Last Post: 03-22-2010, 12:58 PM
  5. var folder dissappeared?
    By jdgti in forum OS X - Operating System
    Replies: 2
    Last Post: 11-15-2006, 10:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •