Change ownership of entire hard drive

I just installed a second hard drive to house all of my music files, and mounted it to /media, then transferred all of my files to it.  The problem is, I used samba to transfer all of the files from my XP box, so all the directories/files are owned by root, and it would take my a day and a half to chown each individual directory.  Is there an easy way to change ownership of the entire drive/directory?  Sorry for the noob question but google and man chown didn't really help me much.

Use the recursive switch:
chown -R USERNAME:users /media
where USERNAME is your user name.

Similar Messages

  • Can somebody please advise urgently... I backed up my entire hard-drive of my macbook pro - just prior to installing osx mountain lion. I put everything into a folder on my desktop - then backed it up onto an external drive. Once this was done - i deleted

    Can somebody please advise urgently...
    I backed up my entire hard-drive of my macbook pro - just prior to installing osx mountain lion.
    I put everything into a folder on my desktop - then backed it up onto an external drive. Once this was done - i deleted the folder off my desktop - and  following this - things started to go all weird...pages hanging, the coloured 'wheel of death' appeared for ages. So i had to employ a 'hard-boot' restart - as i had not other options.
    I'm pretty sure i made copies of of files/apps/folders etc - however not so sure now as i cant even start up my laptop!!!
    Can somebosy please help me urgently??!!!

    Got the exact same problem, and I also did this operation many times before, from 500Gb to 750Gb, and then from 750Gb to 1 Gb. Not My HD got a little such complaining about bad sectors when in windows bootcamp, but still runs fine though.
    So I bought a new 1Gb drive exactly same drive as the one thats getting sick. I did the clone thing, with super duper, CCC, DU, but no matter it will not boot when i move the new drive inside the macbook…….**** thing exuse me, but wasted so much time.
    Now I get this strange feeling that something must have changed in the macbook itself. Just wondering if this could be a EFI "mac bios" prevention thing, they made just to sell more new computers, when you can't improve or fix your old one.
    If so, then its pretty scary. If not then I simply can't figure out why this suddenly becomes a problem for so many people, as I see so many posts about this!!
    BR Pete

  • Using Disk Utility to Clone/Duplicate entire hard drive.

    I have read many post that touch on this question but none have cleared up my questions, and many have just lead to more questions on my part.
    I want to use the included Disk Utility program to copy my entire hard drive to another.
    Because I only plan on backing up the entire drive once or twice a year, I do not feel I need Carbon Copy Cloner or Super Duper. Also I would like to understand how to accomplish this with the application I already have.
    Having read all the help pages and posts I can find, I understand the general concept of using the "Restore" function in DU, but have these questions still:
    1. My current HD is a 250GB partitioned with one volume "Macintosh HD" I am going to install another 250GB hard drive into bay 2. Do I need to partition this drive first?
    2. Do I need to format this drive?
    3. Do I need to erase this drive?
    4. Do I need to use the security feature to "Zero" this drive?
    5. It seems to me that if I am doing a bit for bit clone the partitioning and format from the source drive would just come over in the copy...no?
    6. As the source for the "Restore" do I want to select the parent 250GB disk drive, or should I select the "Macintosh HD" volume?
    7. As the destination for the "Restore" (if I had to partition and format) do I want the new 250GB drive or the "Backup" volume?
    8. If I have to partition and format the new drive first, I understand that I want the GUID partition table and the MAC OS Extended (journaled), can someone explain what the heck that means?

    I apologize for missing that part of the intro.
    For a new drive here's the modified procedure I suggest:
    Extended Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder. If you need to reformat your startup volume, then you must boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger or Leopard.)
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Click on the Options button, set the partition scheme to GUID (only required for Intel Macs) then click on the OK button. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • Can i copy my entire hard drive from one computer to another?

    I am buying a used ibook 900gh 640ram 40gb hd using 300mh clamshell now - i would like to copy my entire hard drive from the clamshell to the new ibook OS and all so when i use it everything will look and work exactly like it does on the clamshell - can i do this easily? disc copy when booted from a CD?

    Hi, not on Tiger at the moment, so I can't be certain, but...
    I may be wrong, but I thought the Networked Mac only came about in Leopard's Migration assistant.
    http://support.apple.com/kb/HT1554
    Setup Assistant, included with computers that have Mac OS X 10.3.4 or later preinstalled, can transfer data (including account settings and home folders) from a previous Mac (that's using Mac OS X 10.1 or later) to your newer computer. You'll need a FireWire cable to connect the two computers together. The Assistant offers to transfer (or "migrate") data from your older computer when you turn on your new computer for the first time. Make sure the older computer's firmware is up-to-date first.
    The only way I see this is going to happen is with a USB/FW external drive, and painfully Clone the Clamshell via USB 1.1 to the external drive, move the drive to the iBook and connect via FW.
    More info...
    http://www.oreillynet.com/pub/a/mac/2005/05/17/tiger.html

  • How do I take ownership of a hard drive build in windows but installed as an additional disk in my new Mac Pro?

    How do I take ownership of a hard drive build in windows but installed as an additional disk in my new Mac Pro?
    I bought a Mac and have various HDDs, some Portable some SATA, I can right to them and dont seem to be able to take ownership of them, is this to do with the format or Security seting I can't find?
    Any help would be great; thanks.
    Stephen

    Thanks Kaz-K, this was what I assumed it to be.  I have started to move the stuf over to a 4GB internal drive, once done and verified, I will reformat the drive and move it back, blooming nusience.
    Cheers.
    Stephen

  • How to share the entire hard drive with only one group

    We want to share our entire hard drive with our staff, plus share Web folders with our customers plus the staff. We'd like our customers to have no permissions at all for the share point at the root of the drive, so it won't even be presented as a volume for them to mount.
    The problem is that when we make the root of the drive a share point, we need to give read-only permissions to Everyone, or we break services. Read-only for Everyone makes our drive readable by any of our customers, which is obviously not good. This seems like it would be a common task for anyone running a server with customer folders on it. Is there a way to share the whole drive with our staff, and only our staff? Thanks.

    First... You are not making your boot drive the share point are you????? Only share an entire drive if the drive is ONLY used for data (not OS).
    You need to make mroe than one share point.
    You can have one share point which is the Data drive and another share point which is the customer folder within.
    You can have share points which exist within share points.
    Jeff

  • Will it wipe my entire hard drive by installing lion?

    will it wipe my entire hard drive by installing lion?

    And backing up is so simple. Buy an external Firewire hard drive, (not expensive but get one that will boot a Mac, like LaCie) format it as GUI in Disc Utility, download Carbon Copy Cloner (free, donations accepted) (or SuperDuper although I have not used that) and schedule a bootable clone for 9 am every day. That way, if you have trouble you can clone back the backup to your internal and be back where you were at 9 am - all documents, applications, settings, pictures, movies etc. etc. Everything.
    (I tried restoring from the Recovery drive an TimeMachine but many of my Mail emails did not return.)

  • Why is LV searching my entire hard drive for IBFS32.DLL?

    My computer was bogged down this morning so I ran Process Monitor to find out what was going on.  I found that LabVIEW 8.6 is looking for IBFS32.DLL and searching my entire hard drive.  I searched with Windows Explorer and that file does not exist on my PC.  Currently I have a LV project open along with several VI's.  This has been going on for several hours now.  Does anyone know how to resolve this?

    Out of curiosity I took a look at the startup for a clean install of 8.6 that I have. I saw entries in ProcessMonitor where that specific DLL was being sought. The entries seemed to be in the neighborhood of the license manager, so it seems perfectly harmless. Perhaps you have a problem with your license manager service?

  • Encryption for the entire hard drive?  (traveling with a MacBook Pro)

    Is there a way to encrypt the entire hard drive? Maybe I am being too cautious. But I will traveling overseas for an extended period of time and I am curious to know if there is a way to secure my hard drive by encrypting it. Is there a built-in feature in the latest OS that allows me to do so? And if so, where can I get information on how to do it?
    If there is a way to encrypt the entire drive, what are some trade-offs? How does it affect future software installation, software utilization (iTunes, iPhoto, Aperture 2, etc.), and so forth?
    Thanks!

    You can use FileVault to encrypt your data. Also, in System Preferences > Security, turn on "Use secure virtual memory". There is no reason to encrypt the system or applications.

  • Bios will not recognize the entire Hard Drive

    I am running a MSI P7N SLI Platinum right out of the box. This is an entirely new build. For some reason when I go to install Windows XP, my entire hard drive space is not listed. My hard drive is 320GB and it will only recognize 130GB of it. How do I fix this problem. I am completely new at building a system so try and keep it simple please. I will admit that I am terrified at the idea of flashing my BIOS. I dont want to void the warranty nor do I want to destroy the board and have to buy a new one. Any help would be greatly appreciated. I have listed my specs below.
    Case: Antec Nine Hundred Black Steel ATX Mid Tower Computer Case
    Power Supply: Thermaltake W0106RU Complies with ATX 12V 2.2 & EPS 12V version 700W Power Supply 100 - 240 V CE, CB, TUV, FCC, UL, CUL, and BSMI certified
    Motherboard: MSI P7N SLI Platinum LGA 775 NVIDIA nForce 750i SLI ATX Intel Motherboard
    Processor: Intel Core 2 Quad Q6600 Kentsfield 2.4GHz 2 x 4MB L2 Cache LGA 775 Quad-Core Processor
    Video Card: MSI NX8800GT 512M OC GeForce 8800GT 512MB 256-bit GDDR3 PCI Express 2.0 x16 HDCP Ready SLI Supported Video Card
    Memory: Corsair DDR2 XMS, 6400C5DHX (2 x 2GB) 4 GB 800mhz 5-5-5-18, 64 bit OS Quad
    Hard Drive: Western Digital 320 GB SATA, 8MB Buffer, 7200RPM
     

    Quote from: killiach on 01-April-08, 09:51:25
    Oh, there is the rest of my Hard Drive. To allocate, I just right click and hit "New Partition" and follow the steps? Furthermore, do I need to make this an extended partition or primary? I am just going to use this larger partition for storing programs and games.
    Also, my driver for my hard drive is 7 years old. Think I should update the driver?
    "Also, my driver for my hard drive is 7 years old. Think I should update the driver?"
    Nope, just install chipset drivers for your board.
    "Oh, there is the rest of my Hard Drive. To allocate, I just right click and hit "New Partition" and follow the steps?"
    Yes
    "Furthermore, do I need to make this an extended partition or primary?"
    Extended. When its done right click and format the newest partition in NTFS.

  • Missing photo links - changing name of external Hard Drive location

    I have searched for the answer to this high and low without success if someone can help...
    I have a large collection of photos that I store on an external firewire hard drive (too many to store on my macbook pro). My iphoto library is on my Mac and when importing photos to iphoto I did not import the files so the originals remain on the external hard drive and are therefore linked to in iphoto.
    I did it this way, rather than storing the library database on the external drive, so that I could access the information and thumbnails when travelling and not connected to my external drive.
    I've upgraded my external hard drive and it will have a different name. I need to transfer all the photos across to the new hard drive.
    Is there a quick way to reconnect all my original photos when transferred to the new hard drive or a better way to transfer them? Having tried to copy them across manually, obviously as expected I get a missing photo exclamation mark and am asked to browse to the file to relink. This is OK to reconnect one or two photos, but would take me forever with 17,000.
    I remember Adobe Photo Album had a command reconnect missing files, and it would go off and search for the files you may have moved location (or changed the directory name in which they were held). Is such a function available in iphoto? I've tried the iphoto re-build functions, but this doesn't look in other attached volumes for the photos.
    Alternatively, is there a way to edit the iphoto library database to do a search and replace of the Volume name to the new name and reconnect the link to then photos? e.g. Can you manually edit the albumdata.xml file (and would this be the file to edit) for example, and rebuild the database with Photo Library Manager?
    Can you re-import all the photos from the new location, and rebuild the links that way, or does this create duplicate entries and not merge album, keyword event data etc for each photo?
    My last resort is re-importing all the photos again, but of course I'd loose all my keywords, albums, events and other info I've spent a long time entering into iphoto.
    Thanks
    Phil

    I just wanted to close this off to say that my solution worked fine and my iphoto libraries are up and running in perfect order again. And to summarise the solution so you don't have to read the entire post above.
    This solution is for those wanting to have the iphoto library on your Mac and store the original photos linked elsewhere on an external / network drive (i.e. not imported into the iphoto library). Then you want to change the location where the originals are stored (say for example you get a new bigger external Hard Drive - like I did), and that new location will have a different name. Most people recommend importing the photos into the iphoto library, keeping everything together, and this can then be moved anywhere and accessed.
    So to summarise, if you are moving original photos linked into iphoto:
    1. Back up everything you can first...
    2. First try moving the files (not copying and deleting) - the aliases may reconnect, especially if they are on your main HD. You may need to manually reconnect one file in each sub-directory.
    3. Move your photos to your external HD / network drive. Note if the new place has the same name as your old external HD then the aliases probably won't need to be fixed.
    4. Download and install File Buddy or similar Alias 'fixer'
    5. Go to your iphoto Library, right click, "Show Package Contents"
    6. Copy the "Originals" directory to another location so that file buddy can read it.
    7. Run File buddy, fixing the aliases in your copy of the Originals folder, pointing to where you've moved your photos too (restrict the directories as much as possible where you point file buddy to search for the missing files to speed it up). You will only have issues if you have multiple copies of the same file - i.e. that have the same file name and creation date, and file buddy will give you a list of these. This in itself is a good check to see you don't have the same file in two places - I only had issues with folders of photos that I'd been given from family in which there were multiple copies of the same photo. I've now cleaned these up, saved space and ran file buddy again to finish the job off.
    8. Finally, move this now fixed "Originals" folder back into your iphoto library (package contents) - writing over / replacing the original "Originals" directory.
    All being well, should be fixed!
    Just to share with you the benefits I find of having my photos stored on an external HD and the iphoto library on my Macbook:
    -- Saves space on my limited internal HD
    -- others can access the photos, set up and manage their own iphoto libraries pointing at the same originals, and we don't need two copies of the original files
    -- I can access the iphoto library and manage albums, add keywords, titles, etc when not connected to the External HD, though you're limited to viewing the (not too small) thumbnail pictures iphoto stores in its library
    I'm loving iphoto even more now, it makes managing and viewing my 1000's of photos a pleasure.
    Cheers
    Phil

  • How do I share ONLY my Public Folder, not my entire Hard Drive?

    Hi, I'm trying to set up my home wireless network to share files between my two Macs- a Macbook and a Macbook Pro. Instead of allowing access to just the public folder, you can see the entire contents of each hard drive with no restrictions. So much for privacy! I'm new to Macs and I'm sure it's just some simple setting tat I'm overlooking. I had Appleshare turned on but I've since turned it off without making a difference. Can I go through each individual folder and set sharing priviledges like on a PC? Thanks in advance!

    Since you are logging on to another computer as a registered user, you have access to whatever a registered user is entitled to. That is to be expected. I don't see how it is a problem. What privacy issue are you talking about when you are logging in as yourself? Furthermore, no one can access what you can when logged in as yourself if they do not know the correct username/password. There is no issue here.
    But, if you want to use a Mac like a Windows machine, You can create a folder in the home directory of each computer where you log in as Guest and have Read/Write privileges. I'd create such a folder inside your Public Folder, and set its special permissions, and I would not change permissions on any other folders as that could cause security and general use issues with applications.
    I think you can set Group to nobody(others can offer better suggestions here) and give Group Read/Write permissions. Then, you can use that folder to share files like with a windows machine, but it makes no sense to me.
    My real suggestion is to understand how the Mac works, and it is very secure, and not use it like Windows.

  • How change icon of a Hard Drive?

    I just bought an external Seagate HD for my iMac Intel and I'm running OSX 10.6.8.
    I'm trying to change the icon to something more catchy than that bore yellow looking drive with the USB icon on it.
    I used to be able to do this hitting CMD+I on both the image I was copying from and the HD I was going to paste it to...
    Until now,
    It won't allow me to change the icon.
    First, when I hit CMD+I on the image I wanna copy, it does not show the picture or the icon. It just looks like a little document.
    Can anyone help me figure this out?
    Thank you

    the way you change your hard dirve icon is:
    first, you need to be the admin of the computer.
    then, you click on the hard drive icon, the press <apple> (which is "get info")
    at the top of the "get info" box is a small icon of the folder. you will use that later.
    then, you select any icons you have, such as one's downloaded from the internet, for example, www.appple.com/downloads/macosx
    if you want to use a picture for your icon, simply open the pic on preview, press <apple> <c> (copy) and then go to the "get info" window. you click on the small icon at the top of the window, and a small blue border appears arround it. thats good. then, press <apple> <v> (paste)
    it is really simple to change your icon for your hard disk, you do not need any shareware or "ask dave."
    i hope this helped you.

  • Time Machine attempting to back up entire hard drive again

    I recently got a new MacBook Pro. I transferred all my files from my old computer using my Time Machine backup.  But when TM tries to back up my new hard drive, it wont use the old backup files, and instead attempts to create an entirely new backup of the whole hard drive.
    In the Time Machine drive there's a folder called Backups.backupdb.  And inside that was a folder with "MyComputer'sName."  Now when TM tries to back up it creates a new folder called "MyComputer'sName 2" in which it wants to restart the backup from scratch.  Problem is, I only have about 60 gigs of space left on that drive and about 250 needed to backup.
    Is there any way I can get TM to recognize the original "MyComputer'sName" folder and restart the backups from where the old computer left off?
    Thanks,
    Mike

    I think TM tracks the volumes it is backing up by UUID (or at least, some device specific, hardware id), so Tropicoco is right that it will see the new machine as new, and will preserve the old backup for the older machine.
    As suggested, as long as you have already restored everything from the backup to the new machine, I would use Disk Utility to erase the backup drive and let TM start a fresh, new backup for the new machine (maybe let it go overnight if it is slow or taking a long time for that first full backup).

  • How can I restore Windows 7 to Bootcamp partition - not reformat the entire hard drive?

    Hello Apple (Mac) Community,
    I originally posted this question over on answers.microsoft, but no help was forthcoming. Hope someone can help me with a problem that's (almost) making me nuts! I teach graphics to college students. In brief: I run Windows 7 Pro 64 on a Mac Pro tower, along with Snow Leopard (OSX). Windows is loaded on one partition of a 1TB drive. The other partition is a Mac backup. The Mac OS is on a different drive. Everything was going swimmingly with both OS, until recently. Unfortunately, the drive with Windows showed problems and I determined that the HD was either toast or needed a total reformat. My Mac data was all backed-up. Now I wanted to backup Windows so I can easily get back to the relatively happy point of my Windows 7 experience (drivers loaded, dual monitors all working, etc.). I did some online searching and the recommendation was to create a "system image" of the existing Windows 7 install by attaching an external drive, formatting that to NTFS and selecting "backup to image" in Windows. I did that and also took the opportunity to "create a backup disc" on a DVD. (Windows recommended). Next I rebooted back to Mac OS and completely reformatted the problem 1TB disc to a single partition, zero all data, just to see if it would actually reformat. It all worked! So far, so good. Next I used Bootcamp to create two partitions, one for Windows. I then restarted using the Win7 Pro (64) install disc, reformatted the Bootcamp disk to NTFS (as required) and installed Windows 7. After all that is completed and all working, I next try to use the restore from image function while booted in Windows. I'm instructed to restart from the Win install disc, which I do. Here's where things get difficult. When I try to choose restore from image, at that point the installer asks which drives to I want to exclude... but does not show partitions, only full HDs. I do not want to reformat the entire 1TB drive. I only want Windows on the 120gb Bootcamp partition (which is already formatted for Windows BTW). I spent a lot of time online reading through articles with users having the same frustration.
    So here (at long last) is my question: How can I either restore Windows just to a Bootcamp partition... using "Windows System Image" or if that can't be done... can I somehow import all of the settings, etc. from the "image" (image is on external HD) into a fresh Win 7 install? So far the "backup disc" also seems useless. I can't even boot to Windows from it. BTW Apple folks: the only response on the MS side was that some "expert" simply posted links on how to install Windows and restore... not helpful with my particular problem of restoring to a partition.
    Any help would be appreciated! Hopefully some help that even a Mac user / new Windows user could understand would be better! Thanks!
    -melt

    WinClone 3 is OS X and saves Windows image it makes for restore - that should work but you will have to try and you would need to make a new image unless it also works with a native Windows system restore image. It is now supported and has come a long way.
    http://www.twocanoes.com/
    Paragon Clone OS works and does disk-to-disk clone just like CCC you end up with two bootable drives. But does not work with your setup. It would let you clone and move your Windows install to an SSD or another disk drive though and be bootable.
    During its clone process it checks for errors which is very helpful and lets you know - something CCC and others should adopt more of.
    http://www.paragon-software.com/downloads/demo.html
    I wish for our/my sake you had re-read and rewritten the long 'story' and broken it into a brief list of facts we needed.
    OS X
    Windows
    Backup (though external is much safer) and you want bootable OS X clones as well as TimeMachine
    https://support.apple.com/kb/HT1427
    https://support.apple.com/kb/HT1553
    There are a number of things to do like chkdsk and others as well as Windows DVD to do automatic system repairs and find out why.
    AppleHFS - the abilty to mount and read HFS volumes can be notorious.
    I would rearrange and redo your storage setup and how you use the 4-5 internal hard drive bays.

Maybe you are looking for

  • How to set up trust relationship between oc4j an tomcat

    Howdy According to the EJB 2.0 spec., section 19.8.1.1, second paragraph: "EJB containers are required to provide deployers or administrators with the tools to configure trust relationships with intermediate web or EJB containers." What tools/methods

  • Possible to create multiple pdf files from links?

    In Acrobat X Pro, is there a way to apply the option "create pdf file from link" to several links on the same website at once?.thanks

  • How to remove text sent swoosh sound?

    When I send a text I see/hear this annoying swoosh sound when it is sending the text.  My sound seeting are none and I do not want to have my iphone in silence or vibrate is it possible to remove that swoosh sound when text sent?

  • Is it possible to change color of some selective item of Combo...

    Hi,   Is it possible by SDK to hide / change some selective items of System`s Combo Box of any System Form. Regards, Ganesh

  • Licensing/Download/Serial Issues??

    Anyone else purchase CS5.5 recently to get the free upgrade to CS6 and run into a bunch of issues?  Nothing showing up in the licensing site (which is now down for "scheduled" maintenance), no order number, online chat support stating that it's a 72-