View Full Version : Were is //var ? on my hard drive ?
xalex1
Jun 4, 2004, 12:24 PM
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
jeremy.king
Jun 4, 2004, 12:30 PM
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.
xalex1
Jun 4, 2004, 01:04 PM
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 ! :)
jeremy.king
Jun 4, 2004, 01:15 PM
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
superbovine
Jun 5, 2004, 12:06 AM
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
at least we know where you hide yours ;)
xalex1
Jun 5, 2004, 12:35 AM
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.
cb911
Jun 5, 2004, 05:34 AM
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?;)
xalex1
Jun 5, 2004, 08:45 AM
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 ?
cb911
Jun 5, 2004, 06:38 PM
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....
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.