Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

xalex1

macrumors newbie
Original poster
May 15, 2004
22
0
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
 
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.
 
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 ! :)
 
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
 
kingjr3 said:
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 ;)
 
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.
 
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?;)
 
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 ?
 
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....
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.