Showing posts with label tips. Show all posts
Showing posts with label tips. 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.

Sunday, March 29, 2009

Blackberry Tips and Tricks

Its been a week with my new Blackberry Curve. Previously, I had a Windows Smartphone (Treo 700WX), and was fairly happy with the functionality, but the stability of the device left much to be desired.

My new Blackberry Curve has been a pleasure. At first I was concerned that it wouldn't have some of the features that I had grown accustomed to with the Treo. That has not only proved false, but there are some excellent applications available that take the smart phone further than the Windows Smartphone platform can currently support. I am sure that there is still untapped functionality in the Blackberry, given that I have only been using it for a week.

Here are some quickly learned tips and tricks (which I'll add to as I learn more)
KEYBOARD SHORTCUTS
Soft Reset: If you would like to reset your Blackberry without popping out the battery, give it a "three fingered salute" using the [alt], [right shift], and [del] keys all at once (don't start with the delete key).

Email Commands
Compose an Email: Roll your cursor so that it is not on an email (on the date for example) and press [enter] to start a new email.
Delete a Message: Use the [del] key followed by [enter] to quickly delete a message
Reply to a Message: Use the [r] key while in a message to reply.
Forward a Message: Use the [f] key while in a message to forward.
To select multiple messages (to file or delete) hold the [shift] key.

MUST HAVE APPLICATIONS
BLACKBERRY APP WORLD: Just recently released, App World is a definite must have ... easy to find, pay for, install (and remove) applications. What more to say? Visit http://www.blackberry.com to download.

VLINGO: Did you know that you can talk to your Blackberry (and it may even talk back to you). VLingo (http://www.vlingo.com) is a great application that uses voice recognition (you talk, it types) to send, reply and forward emails, text (SMS) messages, open applications, search on Google and Yahoo, update your status on Twitter and Facebook, and (of course) dial your phone.

This is a must have application if you spend any time in the car or with your hands busy. You can download VLingo at (http://www.vlingo.com/vlingo/downloadvlingo).

SLACKER: Listen to and customize streaming internet radio stations right to your Blackberry over your 3g network. Slacker Radio (http://www.slacker.com) is pretty cool. You can search for songs and artists or pick from approximately 100 channels of various music genres. There is a free version that has a few limitations, but nothing significant. You can download slacker at (http://www.slacker.com/mobile/blackberrydownload/). (Flycast is another similar application ... I prefer Slacker, but they both seem very functional. )

BLACKBERRY MAPS: While using my Treo, one of my "can't do without" applications was Google Maps. One of the features that I missed was the "My Location" feature, which didn't work on the Treo. So when I loaded up Google Maps on my Blackberry I was very happy to see the "My Location" feature was working as advertised. I was pretty happy ... big step up. Low and behold, I determined after a bit of searching that the Blackberry Maps application actually utilized the internal GPS in the Curve. Now, I have Verizon as a carrier and any googling will indicate that Verizon disables application access to the Internal GPS. Well Blackberry Maps can use the Internal GPS, which makes it my Mapping application of choice. Furthermore, Blackberry Maps utilizes Google Local for its search functionality (note: the search feature is not quite as good as Google Maps). Isn't it great when the built in application does exactly what you need it to.

OTHER TIPS:

YOUR BLACKBERRY as Portable Storage: If you connect your Blackberry to a computer with a USB cable, you can turn on Mass Storage Mode and your Blackberry will be available to uses as a "flash" drive. Pretty handy, especially since the USB cable connection is a standard cable and readily available.

Well that is all for NOW ... I'll update this as I get any more information.

Checkout my Delicious Links that are related to this post at (http://www.delicious.com/tim.alosi/blackberry)