Were is //var ? on my hard drive ?

Discussion in 'Mac Apps and Mac App Store' started by xalex1, Jun 4, 2004.

  1. xalex1 macrumors newbie

    Joined:
    May 15, 2004
    #1
    Hello, what i want to do is to creat a folder on the //var folder in my mac. I have powerbook with osx panther. How can i do this ? I even tried creating the file from a terminal with the little unix that i know. but i got : permision denied.

    Where in the hardisk is this folder located ? I cant wid it anywhere. I even did a search for it.

    Thanks
     
  2. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #2
    you should see /var (note only one slash) at the root of the drive from Terminal. This is a sym link to /private/var

    To get to the folder, open terminal and type cd /private/var and hit enter.

    to create a folder within there (not really sure why you would want to) you can use the following command in Terminal - assuming your login has admin rights

    sudo mkdir newFolderName and then enter you login password. of course subsitute in the name of your new folder.


    Just be careful mucking around with system folders such as these as other processes are dependant on the files/folders within.
     
  3. xalex1 thread starter macrumors newbie

    Joined:
    May 15, 2004
    #3
    Excelent

    Excelent, It worked perfectly, but now i tried to save a file to it, and it told me that the file is not writable, do you know how ca i change it so that its writable ?

    hey, i apreciate your help ! :)
     
  4. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #4
    From terminal again:

    sudo chmod 754 /private/var/yourNewFolderName and enter password again.

    Now what exactly are you doing that you need to play around in /var? Are you hiding pr0n? :D
     
  5. superbovine macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #5
    at least we know where you hide yours ;)
     
  6. xalex1 thread starter macrumors newbie

    Joined:
    May 15, 2004
    #6
    c

    kingjr3, i did what you told me but still couldnt save on to the file from the text editor. O and nope dud , it not porn ;) its im instaling some sofware on to my mac.
     
  7. cb911 macrumors 601

    cb911

    Joined:
    Mar 12, 2002
    Location:
    BrisVegas, Australia
    #7
    yeah, i've heard that Maya 6 is a real bastard to crack.

    but if you can't even figure that out for yourself, dont' even think about firing up Maya, that's a massive app. lots, and i mean lots to learn.

    am i right or am i right?;)
     
  8. xalex1 thread starter macrumors newbie

    Joined:
    May 15, 2004
    #8
    Nah, dude, once you get to know maya its not that hard after all. Im taking some maya clases, its not so hard to learn when taking clases.I need the program so that i can work at home. I have maya 5. any ideas on how to change those permisions ?
     
  9. cb911 macrumors 601

    cb911

    Joined:
    Mar 12, 2002
    Location:
    BrisVegas, Australia
    #9
    well, glad to hear you're taking classes. :)

    and only Maya 5? ;)

    well, you're admin on your Mac, right? you shouldn't have any problems moving files. i know i didn't. :D

    but you could also try changing permissions with the 'Get Info' window and selecting the item in the Finder.

    hope that helps. otherwise it's probably better to PM someone... or talk on AIM....
     

Share This Page