Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Tuesday, December 10, 2013

How to Unlock a "stuck" in Lock file on Mac OS X

I recently copied a file over the network from my Win8 machine to my Mac.

I then went to delete the file, but the system wouldn't let me stating that the file was locked, giving me the error message:

"The operation could not be completed because the item '(item name)' is locked."

I checked the standard approach to solve a file issue, using the GET INFO option on the file.  However, the check box to unlock the file was greyed out.  

So a bit of trial and error, and I found that if you have the developer tools, you can easily do this from the command prompt.

Open up a terminal and change directories to the location of the locked file.

at the terminal prompt, type
/Developer/Tools/SetFile -a l filename   (that is a lowercase "L" not a pipe "|")

To unlock all the files in the current directory, use a *

/Developer/Tools/SetFile -a l *

Voila!


Thursday, September 1, 2011

Enabling Aperture on Non Administration Account

Wow,

I haven't written a post in a while ... life gets busy!  (Wordy post ... Jump down for the solution)

Well, my iPhoto Library is enormous!  30,000 items and over 65 GB.  With new 10+ megapixel cameras out there, the growth rate is just going to increase!

So performance of iPhoto is getting abysmal!

I did a little research and looks like Apple is pushing Aperture as the next step (and they dropped the price in the App Store to $79) so I downloaded the trial (http://www.apple.com/aperture).

Of course, the install was a piece of cake, and I got the trial license ... however, when I went to run it from  my normal day-to-day non-admin account, it just Hung ... spinning beach ball ... nothing.

After some tinkering, I noticed that I could run Aperture fine from the administration account.  So I figure, this must be a permissions thing ... as I am pretty busy, I figured I would call Apple Support and speed up the solution!  Big Disappointment!!!  The person I talked to was not as knowledgable as I would have expected, and their answer was that you had to run Aperture from an administration account because it was a "professional" app.

What !?! That goes against everything I have ever read about the Mac and why OS X is secure.  It even goes against Apple's published security guidelines (https://ssl.apple.com/support/security/guides/)!  As I quote from the Snow Leopard guideline:
Unless you need administrator access for specific system maintenance tasks that cannot be accomplished by authenticating with the administrator’s account while logged in as a normal user, always log in as a nonadministrator user. Log out of the administrator account when you are not using the computer as an administrator. Never browse the web or check email while logged in to an administrator’s account.
Undaunted by the lack of knowledgeable tech-support (rant over), I dug in.  First I checked the normal locations (preferences and application support for Aperture) to ensure permissions were correct, but everything seemed good. Using the fs_usage command line utility, I started tracking what files Aperture was using.  I noticed that there was file access to the /Macintosh HD/Library/Application Support/ProApps folder.

Setting Permissions on that folder and enclosed items resolved the issue!

Step by Step Guide How To Run Aperture from Non-Administration Account
  • Install Aperture and Activate License from Administration Account.
  • Browse to /Macintosh HD/Library/Application Support/ProApps folder (your path may be different if  you named your hard disk.

ProApps File Location

  • Right Click (command click) on the ProApps Folder to display the properties of the folder.  Note the Sharing & Permissions section down the bottom.

ProApps Info

  • Unlock the folder and ADD (use + button) your normal non-administration account.  In this example it is the "home" account.  Give the account Read & Write permissions
  • Select the Gear Button and apply the changes to enclosed items.
Apply changes to Enclosed Items
  • Switch back to your non-administration account and Aperture should work!

Sunday, August 30, 2009

Howto Upgrade to Mac OS X Snow Leopard

I completed my upgrade to Snow Leopard (Mac OS X 10.6) on Friday (driving by the Apple Store twice was more than my restraint could take) and it is very easy to say that writing this HowTo will take more time than I spent on the install of Snow Leopard.

The total install time was about 1.5 hours, but I less than 3 minutes (including screen shots).  I started at 22:26:55 per the first screen shot and entered the admin password to start file copying at 22:28:16.  A blazing  2 minutes and 15 seconds.  And if you are wondering, those screen shots are the actuals from the install, not ones taken afterwards for this post.

Here are the step by step instructions.
1. If you don't use Time Machine (shame on you) then make sure you have a good backup.  If you use Time Machine,  you should be covered.
2. Insert the Snow Leopard Install DVD.  You will be presented with the following window.  Double click the Install Mac OS X icon to start.
3. At the next screen, you can simply press continue, unless you want to access any of the utilities (including Disk Utilities) which you may need if you are doing a clean install, but for Snow Leopard, an Upgrade over your current operating system is the recommendation from Apple and is what this HowTo assumes.
4. After pressing continue, the installer will search for your hard disk.

5. You may want to check out the optional components to install.  To display the optional components, select the Customize button.  For my install,  I deselected Language Translations to save some disk space.  If you have older Mac applications, you may want to select Rosetta.
6. Once you have chosen your options, you can go back to the install screen.  Select the Install button and you will be presented with an authentication box.  Type in your administration user name and password, click OK and the install will proceed without further input required from you.  At the completion of the upgrade, your mac will reboot and you will be running Snow Leopard.

Post Install Notes.
For the most part every application I have works, except Microsoft Sync, which does not seem to be able to connect to the Microsoft Sync Web Site.

Some applications, such as Mail, will perform an upgrade the first time you start them, and certain other items (for example the iPhoto based screen saver settings I use) may need to be tweaked.

But overall, you can expect a simple, painless upgrade that leaves you with a faster, more robust operating system and a few (only a few) handy features.

Friday, August 28, 2009

Snow Leopard is out and why I'm choosing to upgrade

Apple's Lastest Version of Mac OS X (10.6), known as Snow Leopard, releases today.

I don't know how soon I'll upgrade, but at $29, I will definitely be upgrading.  As with any upgrade, you should make sure you are getting your moneys worth.

With a $29 price tag, that should be pretty easy, but the four features for me that I am looking forward to (and using to justify the $29) are:
  • 64-Bit and Grand Central Multiprocessing ... This provides what apparently is a significant performance boost.  Since my Mac Mini is over 2 years old, any performance boost is a welcomed addition.
  • Quick Time X.  This update to quicktime has a few nicities that will make dealing with video clips easier.  With my new Flip camera and every cell phone and digital still camera able to take video clips, the ability to quickly trim and share these right from Quick Time without pulling up iMovie will be a benefit.  Also, Quick Time X has a feature that allows you to record your screen (screencast) without using third party apps.  
  • Built-in Cisco VPN support.  A nice features that eases the use of a Mac in todays business environment, wether it is just for logging in using my home Mac, or perhaps helping with the introduction of Macs for work, we will see.
  • Exchange Support.  Like the Cisco support, this is a push at helping to integrate the Mac into thw workplace.  Even though I won't be taking my Mini to work, this is a feature that I desire for the future, so I'll chip in a bit now.

Saturday, April 4, 2009

HowTo Display Facebook Updates on your ScreenSaver

I just finished up a HOWTO on displaying status updates from your Facebook friends on your Mac OS X screen saver.

The HowTo can be found at: http://www.timalosi.com/facebookscreensaverhowto

Check out my Delicious.Com links related to this post at http://delicious.com/tim.alosi/facebook

Monday, February 9, 2009

Rebooting a Mac when all else fails

So, I'm off using OpenOffice 3.o (which seems rather buggy compared to 2.4.x) and it locks up ... even Forced Quit application is just sitting there. Now one option is to pull the plug, but that is never the best choice, so here are the steps that I followed to resolve this situation.

  1. Stopping Open Office: Since Forced Quitting the application didn't work, I launched the Application Monitor app (found in the Utilities folder in Applications). From there Open Office was shown as not responding. Selecting it in the list of processes and clicking the Stop Sign (kill process) was effective in taking care of Open Office.
  2. So ... Now a reboot, something pretty easy one would expect, but after selecting reboot from the Apple Menu, the desktop cleared, but the machine didn't reboot and eventually an error message popped up and said it timed out waiting for Finder to kill itself.
  3. Clicking on the Finder in the Dock (which was still visible) started up Finder again. So I tried to do the Reboot from the menu a few times ... repeating steps 2 and 3 here. That didn't work. So when all else fails, it is time to use the Terminal for some command line triage. This is not something that most Mac users will do often, and most will be uncomfortable with it, but it is not that tricky and better than just pulling the plug. To start the terminal App, go to the Utilities folder in Applications and double click on the terminal application.
  4. Rebooting from Terminal: In general, I don't use the admin account for day to day activities (and neither should you), so the first step is to set the SuperUser (su) to your admin account (the first account you created when you set up your Mac). This is accomplished with the su command. For some help on Mac terminal commands, check out http://www.ss64.com/osx/. From the bash$ prompt, type the following
home$ su admin_account (where admin_account is your administration account)
password: (enter your password for the administration account)

Now, to force the reboot. From the bash$ prompt type the following

bash-3.2$ sudo shutdown -r now (translated: "super-user do shutdown and reboot rightnow")
password: (enter your password again)
Rebooting this way is quick and safe, meaning that the system cleans up before rebooting. It is not "pretty" since everything stops immediately. I would say that the prefered method is to use the Apple menu, but when you need it, rebooting from the terminal is better than pulling the plug on your Mac.

See the screen shots below for additional help.



Thursday, January 22, 2009

How to uninstall applications on a Mac

I really couldn't post a How To on installing applications without doing one on uninstalling ... right?

The HowTo is posted at: http://www.timalosi.com/uninstallingmacapps

Sunday, January 11, 2009

How to install Applications on a Mac

I just finished another Mac OS X HowTo on installing applications. A good one for recent Mac switchers.

The HowTo is at http://www.timalosi.com/howtoinstallmacapps

Tuesday, November 11, 2008

How to Set your Screen Saver to Display your Flickr PhotoStream

I just finished a Mac OS X HowTo on setting your screen saver to display photos from your Flickr Photostream.

This can be used to display your own photostream, or any of the published photostreams on Flickr or other photo sites.

The HowTo is at http://www.timalosi.com/flickrscreensaverhowto

Saturday, September 20, 2008

VMWare Fusion 2.0 Reviewed

Well, I am pretty excited about the new Fusion 2.0 (www.vmware.com/mac) release. Fusion was one of the enabling technologies that facilitated me making the switch from PC to Mac (a move I am very happy with). It is the safety net that allows me to run the odd Windows app that I cannot find an equivalent for on the Mac.

I have used Fusion from when it was in beta, and am a VMWare virtualization user for work as well (Windows Platforms), so let's take a look at Fusion 2.0

Installation: The installation was extremely clean and uneventful. One interesting item was that Fusion comes bundled with MacFuse 1.5.1. I have been contemplating installing MacFuse to be able to utilize my Gmail account as an online storage system ... looks like I have something to try once I am done with Fusion :-).

Starting and Upgrading Virtual Machines: The Virtual Machine Library and Settings received a face lift. It appears mostly "eye candy", all the same features are there, and they have added a live thumbnail of the virtual machine so you can see what the VM is doing.

When I started my XP VM, I was prompted to upgrade the machine. Since I wanted to take a look at the new features, I happily initiated an upgrade. The VM upgraded and started, but once started, the VM was unable to load a driver for "Base System Device". This concerned me a bit. However, issue was easily resolved by upgrading VMWare Tools and a VM Reboot.

All in all, the upgrade was clean, but there was a moment of panic that could have been reconciled with a dialog box warning that the Upgraded VM will require the Upgraded Tools.



New Features


Driverless Printing: This feature allows you to print from within your VM to a printer installed on your Mac. To enable this feature, the VM must be powered off. Choose Printers from the VM Settings. The Printer preference pane will open and you have a few choices. I chose the defaults, which seemed reasonable to me.

Driverless printing worked as advertised. I was able to print graphics and text to my HP 7250 Multifunction printer with no problems. One caveat, I did not have the ability to use any special features (such as scanning) since I didn't have the full driver installed, but with only a click back to my Mac's desktop, I had all those features available.

Drag and Drop Files between Windows VM and Mac Host: This feature allows you to transfer files by dragging the file between your Mac and Windows VM. In previous versions of Fusion, you needed to use Shared Folders, which add an extra step.

At first, sounds simple, but getting it to work took another Uninstall of VMWare Tools, a reboot, and then installation of VMWare Tools, another Reboot and voila, Drag and Drop was running. This feature makes moving files a breeze and is a welcomed addition to the product.

Mirrored Folders: This new feature allows you to mirror key folders between your Mac and the windows VM. These folders include the Desktop, Documents and Music. This setting is enabled in the Shared Folders settings and works great, allowing you to open your Mac equivalent folders from within the VM, so selecting the "My Documents" folder in windows opens your Documents folder in your home directory.

Multiple Display Support: Unfortunately, I was unable to test this feature, since I don't have multiple displays on my Mac.

Multiple Snapshots and AutoProtect: In general, I don't much use snap shots, it impacts disk performance, however, the if you are making some significant changes to your virtual machine and want a path of "bread crumbs" to get you back through the forest if something goes wrong, the multiple snapshots are a handy feature.

Fusion allows for some pretty simple management of the snapshots ... of course, you need to know to click on the Rollback button to access the management tool for the snap shots, not exactly intuitive.


Application Sharing: With the new version of Fusion, it is possible to open files on your Mac with applications on your VM and open files from your VM with applications on your Mac.

For example, I don't have Adobe reader installed in my VM so to open a PDF, now I can right click on the PDF file and select open with... You now have a new choice in the menu to open the file with the Default Host Application. If you choose that, the PDF file will open up in Preview on you Mac. If you check the box to always open the file with the Default Host Application, anytime you double click a PDF File in the VM, it will open in Preview.

This also work in the reverse. So you can open a file on your Mac in a VM. For example, say you have a visio file on your Mac. Rather than copy the file to the VM, you can right click on the file and select open with. You will have a choice of the applications installed on your various VMs along with the name of the VM that will launch when you open the file. This also works for .EXE files

This is a great new feature, that as you start to use it saves you alot of time by eliminating the copying of files between your VM and your Mac just to use the correct application.

Mounting VMWare Disks from Mac OS X: Once you install Fusion 2.0 (and make sure that you reboot), you will be able to right click on either the virtual disk (.vmdk file) or the Virtual Machine package (.vmwarevm file) and select Open with VMDKMounter. This will mount your virtual disk directly onto your desktop. Depending on how your disk is formatted, you will be able to read or read/write (Mac OS X only read support for NTFS formatted disks).

This is an extremely useful feature for those times when you need a file from your virtual machine, but do not want to take the extra time to start up the machine. This feature only works if the VM is powered off.

Resizing Disks: Although the release notes state that you can resize the virtual disks, it is more accurate to say that you can expand the size (increase only) of the virtual disks. This is a nice feature, since it allows you to create smaller disks with little risk of running out of room.

Note: another nice feature for Virtual Disk management is the ability to shrink the virtual disks from the Hard Disk Settings pane by selecting the "Clean Up Disk" button.

Overall Impressions:
When it is all said and done, VMWare Fusion 2.0 is a nice upgrade for Fusion users, and the fact that it was released for free is greatly appreciated. Fusion has proven over the last year to be an invaluable tool, and this release adds some new features that improve the ease of use and solidifies Fusion as the leading virtualization platform, on the Mac or any other OS.

Friday, September 19, 2008

VMWare Fusion for Mac 2.0 Released

Looks like VMWare just released version 2.0 of Fusion (www.vmware.com/mac), the Virtualization Platform for Mac OS x that allows you to run Windows (and other OSs like Linux / Ubuntu) on your Intel based Mac.

I am in the process of Downloading it and will update the post after I have had a chance to use and review the product.

Some interesting looking new features:
  • Ability to print directly to your Mac Printers
  • Ability to "mirror" folders between your Mac and Virtual Machine
  • Ability to open a URL from within your Virtual Machine using your Mac Browser (safari etc)
  • Support for Multiple Displays
  • A host of others

Monday, September 15, 2008

HowTo for Changing your Screen Saver on a Mac

I just posted a new HowTo on my website for New Mac Users:

How to Change your Screen Saver in Mac OS X

One really neat thing I learned is how the Photo Mosaic screen saver display option works on the Mac. It is a pretty cool screen saver that builds photo mosaics OF your pictures WITH your pictures.

Friday, September 12, 2008

Mac Adoption Rate Increasing


As a recent convert from PCs to Mac, I think that the increasing adoption rate for Mac Computers (Please see the article from AppleInsider ) is great. Take a look at this graphic (used with permission) from the listed Article, and you will see that over the last year the US Retail market share for Macs has climbed from 9% to just shy of 20%.

Update: For the month of December 2008, Mac use reach 9.6% (Agregate for All Web Browsing (per Net Applications))

I think that I will start a series of posts and howtos aimed at recent Mac converts to help them make the transition smoothly and painlessly.

I have the first howto already completed on my web site at www.timalosi.com/wallpaperhowtomac.

So please post your comments on what you would like to know as a new Mac User!