New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - Preventing name change to external HFS+ disk


Post Reply New Thread Subscribe

 
Thread Tools
combatking0

 
Member Since: Aug 13, 2009
Posts: 13
combatking0 is on a distinguished road

combatking0 is offline
I have an external HFS+ disk attached via USB to an eMac running 10.4.10.

I use an AppleScript to organise the drive on login, but it will only work if the drive has a specific name.

All users require read/write access to the drive, but is there any way to prevent the user changing its name? Some users (they're kids, so some of them like messing things up) will change the name of the drive, and it ruins the functionality of the setup.

I have attempted to hide the drive using AppleScript, but then Finder cannot open any folders on it.

Elongated Terminology Promotes Vocabulary Development
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
It's a bad idea to have a script depend on a fixed pathname. You should probably rewrite it to identify the volume based on some other combination of characteristics (You could, for example, put a locked, write-disabled file with a particular name on the disk.) and then refer to it by volume ID.

Once you've got the ID, you can do whatever cleanup you want, and even rename the disk back to whatever you want it to be.
QUOTE Thanks
combatking0

 
Member Since: Aug 13, 2009
Posts: 13
combatking0 is on a distinguished road

combatking0 is offline
That sounds like a good idea. I will look into it.

Elongated Terminology Promotes Vocabulary Development
QUOTE Thanks

Post Reply New Thread Subscribe


« Running programs off an external harddrive -- help! | can't log in »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
External HD, not mounting but shows in Disk Utility Dermiroth Other Hardware and Peripherals 3 01-06-2010 09:11 AM
Partitioning external HD with Disk Utility Munkee6002 Switcher Hangout 3 10-15-2009 05:11 AM
alterative to disk utility for formatting external hard drive cardamom OS X - Operating System 2 09-12-2009 07:25 PM
Does mounting a disk image from a external drive take up disk space on the local one? damainman OS X - Operating System 3 08-29-2009 03:55 PM
Installing windows on external hard disk mac_mrty Running Windows (or anything else) on your Mac 3 04-03-2009 05:11 AM

All times are GMT -4. The time now is 06:15 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?