var folder dissappeared?

Joined
Mar 14, 2005
Messages
443
Reaction score
3
Points
18
Location
Atlanta, GA
Your Mac's Specs
17" Macbook Pro Unibody 2.66 Ghz and Powerbook G4 1.67 GHz 2.0GB RAM
i am trying to install a program that requires that I navigate to my /var folder. So i tried going to find and doing a go->go to-> var
that didn't work it said that folder didn't exist.

Then I tried going into terminal and doing

cd ..
cd ..

until there was nowhere else to go

then i did a cd var

it was there.

then i tried to create a folder and it said i have don't have permissions.

then i found out that all the stuff in the var folder was in the

cd ..
cd ..
cd /private/var

For some reason I can't access the regular var folder like i am an admin. I checked in accounts and I am definitely listed as an admin. let me know if there is anyting i can do about this. Thanks.

james
 
Joined
Jan 4, 2006
Messages
1,385
Reaction score
146
Points
63
Location
Hamburg, Germany
Your Mac's Specs
MacBook Pro | iMac(2.1 G5) | MacBook(2.16 C2D) | MacMini (1.67 CD) | iPhone 4 | iPad (3rd Gen)
As I understand it you have /var folder but you can't do changes it. Is that right?

Add sudo before the rest of the command (Eg. #sudo mkdir /var/<Folder Name>)

Then it will ask you for the password. Enter the pw and hit Return

Should work.
 
J

JunMacTech

Guest
As I understand it you have /var folder but you can't do changes it. Is that right?

Add sudo before the rest of the command (Eg. #sudo mkdir /var/<Folder Name>)

Then it will ask you for the password. Enter the pw and hit Return

Should work.

Yep, to explain that a little further, you need to be logged in as the system administrator (root) to modify that folder. A regular administrator account does not have the permissions, but can access the root accound using sudo <command>.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top