Results 1 to 3 of 3
  1. #1
    Preventing name change to external HFS+ disk

    Member Since
    Aug 13, 2009
    Posts
    13
    Preventing name change to external HFS+ disk
    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

  2. #2
    Preventing name change to external HFS+ disk

    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    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.

  3. #3
    Preventing name change to external HFS+ disk

    Member Since
    Aug 13, 2009
    Posts
    13
    That sounds like a good idea. I will look into it.
    Elongated Terminology Promotes Vocabulary Development

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Move disk space from hfs+ to ntfs
    By matty1 in forum OS X - Operating System
    Replies: 3
    Last Post: 04-15-2014, 08:43 PM
  2. How do I change my external HD disk description in Disk Utility?
    By kevn in forum OS X - Operating System
    Replies: 1
    Last Post: 08-10-2011, 11:27 PM
  3. Replies: 0
    Last Post: 12-10-2008, 11:14 PM
  4. Format external hd HFS+ using a pc?
    By Monstrosean in forum Other Hardware and Peripherals
    Replies: 2
    Last Post: 12-04-2008, 02:14 PM
  5. Disk Permissions - HFS Volume Needs Repair.
    By irocz106 in forum OS X - Operating System
    Replies: 8
    Last Post: 01-19-2008, 07:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •