File permission issues after copying from hard drive

Hi there,
I've copied my Sites folder (containing lots of HTML, CSS, PHP files) from a Time Machine backup that lives on an external hard drive onto my new MacBook Air running Lion.
Now, I can't edit any of the files. Here are the errors I'm getting:
http://d.pr/1jlu
I've already tried the following system/preference changes:
Make sure the Time Machine "2 week lock" is disabled
Make sure the folder (and subfolders) are not locked via "get info"
Make sure I have read/write permissions for the folder/files
See:
http://d.pr/Iiee
I'm going crazy! Nothing seems to help? What else can I try to get back permission to edit my own files? (Not very familiar with Terminal unfortunately).
Help please!
Kai

Puck84 wrote:
So my hard disk crashed and when I installed the new one I tried using the setup program to restore my mac settings from my Time Machine backup. But for some reason the process continued to freeze halfway.
That sounds like something's corrupted on your backups. Try to repair them, per #A5 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum).
If that finds and fixes errors, your best bet will be to do a full system restore, per #14 in Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum). That will bring everything back, just as it was, permissions and all.
If that doesn't work, the problem with your HD may have damaged your installation of OSX and/or some of your data, which Time Machine backed-up. So try it again, but choose an earlier backup, from before all the trouble started.

Similar Messages

  • Start up issue with clicks from hard drive

    My Macbook Pro 17" with Maveric does not load beyond grey apple logo during start up and has intermittent clicks sounding from hard drive. I've tried the following to resolve:
    1. Removed and reinstalled the RAM modules followed by clearing the PRAM on restart... ineffective.
    2. Restarted holding the option key. This showed my 1 year old hard drive was still available. However, selecting it resulted in the same failure at the grey apple logo.
    3. My previous Snow Leopard Recovery disc also ineffective. The eject button does no eject the disc either.
    4. Target disk mode also fails.
    5. Remote Recovery start up (command R) hangs on spinning wheel.
    Please advise.

    You may have to resort to using something such as DiskWarrior or Data Rescue 3 to try an repair the drive to the point where you can recover some of your files.
    I assume that you have no backups?
    Clinton

  • Second user with admin, but blocked copying from hard drive

    I noticed today that my new iTunes will not drag and drop songs into playlists. I can do it if I right click on highlighted songs, right click and select the appropriate playlist. Its a pain doing this and not too intuitive as just drag and drop. I searched and found many people have this issue.
    I also realized that can't copy anything from my external drive (iTunes library is also located here) I press command I and realized its locked and after entering password the lock is open. However I still cannot copy songs out of the drive. What the **** is happening? I have used iTunes for over 6 years now and never had this problem. Can someone let me know how I can unlock the external hard drive?
    Just to let you know this laptop is originally installed by my wife with her user. I added my own later so we both have admin access. So not sure why this is happening.
    Cheers for all advice.
    Thanks

    I used my own account to start copying all my songs onto this MBP. I need this for my djing, so it helps if I can custom my playlists and organize my music.
    I could try deleting the other user but not sure how to do this.
    I am not getting any error messages. I can drag songs but when I put them in the playlist folder or out onto the desktop, the highlighted songs bounce back to its original position. No "+" signs either.
    I have the same setup on another mac with the same iTunes latest version. This is the first time its happened to me after many years of using iTunes.

  • File permission issue when indexing from JSP

    HI
    I have a class that I intend to use both in batch file and in JSP that will build a search index (Lucene) somwhere in the file system outside the web root. The class works great when called from the batch script but when I try to use it in the JSP page i get this error:
    [#|2004-04-23T09:56:41.155-0400|INFO|sun-appserver-pe8.0|javax.enterprise.system.stream.out|_ThreadID=13;|
    caught a class java.security.AccessControlException
    with message: access denied (java.io.FilePermission C:\AMIR\nemours_internet\common\search_index\html\segments delete)|#]
    Can someone tell me if this is a setting in PE8 server or do I have to do something within my class code?
    Thanks
    Following is my class (BuildPageIndex.java) and the snippet of the JSP file where I call it...
    <<<< package and imports ommited >>>>
    public class BuildPageIndex {
         private StringBuffer sbOut;
         public BuildPageIndex(){
         public BuildPageIndex(String pathToCMTXML){
         CMTController.loadCMTXML(pathToCMTXML);     
         public void buildIndex(){
              try {
              sbOut = new StringBuffer();
         // get all the page objects from the database
         ArrayList pageList = CMTPersister.getInstance().getAllPages();
         if (pageList.size() == 0)
              sbOut.append("<Lucene> No HTML pages in the database...Exiting...\n");
              return;     
         // obtain index location from XML config file
         HashMap searchMap = CMTController.getInstance().getSearchConfig();
         String strIndexLoc = (String)searchMap.get("LOCATION");
         sbOut.append("\n\n\n");
         // if backup management fails abort index creation
         if (!(manageBackup(strIndexLoc)))
                        return;
         // create index and start timing
         sbOut.append("<Lucene> Creating index for HTML pages in: "+ strIndexLoc + "\n");
         Date start = new Date();
         IndexWriter ixdBuilder = new IndexWriter(strIndexLoc, new StandardAnalyzer(), true);
         //for all pages ...
         for (int i=0;i<pageList.size();i++)
                        //get a page
                        Page thisPage = (Page)pageList.get(i);
                        // create lucene document from a page
                        sbOut.append("<Lucene> Page [" + thisPage.getURL().trim() +"] added \n");
                        Document pg_doc = PageDocument.Document(thisPage);
                        // add page document to the index...
                        ixdBuilder.addDocument(pg_doc);     
         // optimize and close index
                   ixdBuilder.optimize();
                   ixdBuilder.close();
         // calculate the time it took to build index
         Date end = new Date();
         long msecs = end.getTime() - start.getTime();
         sbOut.append("<Lucene> HTML Index created in: " + msecs + " milliseconds ("+ (float)msecs/1000.00 + " seconds) on "+pageList.size()+" pages\n\n");
         } catch (Exception e) {
                   System.out.println(" caught a " + e.getClass() + "\n with message: " + e.getMessage());
         public String getOutput(){
              return this.sbOut.toString();
         private boolean manageBackup(String loc){
    boolean retVal = true;
              //rename the location to _BACKUP so we have it
    File currIdx = new File(loc);
    File backIdx = new File(loc+"_BACKUP");
    if (currIdx.exists()){
         sbOut.append("<Lucene> Index directory allready exists!\n<Lucene> Backing it up to ["+backIdx.getPath()+"]...\n");
         if (backIdx.exists()){
              sbOut.append("<Lucene> Backup directory also exists! Will delete it first...\n");
              if (!(Utils.deleteDirRecursive(backIdx))){
                   sbOut.append("<Lucene> Failed deleting backup directory! Aborting...\n");
                   retVal = false;
         if (!(currIdx.renameTo(backIdx)))
              sbOut.append("<Lucene> Problem backing up existing index! Aborting...\n");
              retVal = false;
    return retVal;
         * Class has a main so it can be run from the batch file
         * or a command line
         * @param args
         public static void main(String[] args) {
              if (args.length == 0) {
                   System.err.println("Usage: BuildPageIndex <path_to_cmt.xml_file>");
                   System.exit(0);
              BuildPageIndex bpi = new BuildPageIndex(args[0]);
              bpi.buildIndex();
              System.out.println(bpi.getOutput());
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    JSP snippet
    +++++++++++++++++++++++++++++++++++++++++++++
    <%
         BuildPageIndex bpi = new BuildPageIndex();
         bpi.buildIndex();
         String results = bpi.getOutput();
    %>
         <%=results%>

    Hi Zambak,
    It looks like you might need to give your JSP permission to delete the file that it is complaining about. One way to do this would be to add a FilePermission to the server's security policy file (located at <PE install dir>/domains/domain1/config/server.policy. Adding the following would grant file delete permissions to all files for all codebases...
    grant{
    permission java.io.FilePermission "<<ALL FILES>>", "delete";
    After modifying the policy file, you will need to restart the domain by executing the following...
    <PE install dir>/bin/asadmin stop-domain
    <PE install dir>/bin/asadmin start-domain
    It is also possible to further restrict permissions to certain codebases or further open the set of file permissions (adding write, read, delete for example). For more information on how to do this, please refer to the J2SE security documentation loacted at http://java.sun.com/j2se/1.4.2/docs/guide/security/permissions.html .

  • Error message when I try to copy new files (images, documents) to mac from flash drive/SD card

    I am recieving an error message when I try to copy new files (images, documents) to mac from flash drive/SD card. The message is saying "operation cannot be completed because an item already exists with that name." They are brand new therefore not the same name? I cannot even put them in a brand new folder...  How can I fix this?
    Please help me!

    You don't need to recover the system.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press the space bar:
    dot_clean -m
    Switch to the Finder and drag the icon of the flash drive into the Terminal window. Some text will appear after what you entered. Press return.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear. Then quit Terminal and try the copy again.

  • How to move files after installing new hard drive

    I am considering the installation of a new 80 or 100 GB hard drive. I purchased the new iLife 06 program but I do not have enough space to install on my present 60 GB unit. I only have 3 GB available. I've read all the posts involving the possible brands, downloaded the instructions how to swap out the units. My question is how to backup and install my files and applications so I may reinstall onto the new drive. Can I just copy my hard drive volume onto my external Lacie storage unit and then drag the volume back to the new hard drive after booting off my OS disk? Any advice on how to move my apps and files? Do I need to purchase cloning software?

    The easiest way is buy an external firewire enclosure and put your new drive in it. Then format your new drive. then use Carbon Copy Cloner to copy your internal drive onto your new drive. Then install your new drive and put your old one in the enclosure. You are now in business with an external backup on your old drive.

  • I have created a slide show with music but when i view it or attempt to burn to a CD or even copy to hard drive after about 15 sec the program stops working and it shuts down

    Elements 10 was deactivated on desktop and installed on new laptop.  Have on
    y used it for photo editing until yesterday. Created a slide show with music but every time I try to burn to cd or move it to hard drive after about 15 sec, it says windows has encountered a problem with this program and must shut down.
    I Also can't sign in to adobe with the program. It simply spins and I had to force close the program.
    help!?

    I am using photoshop Elements 10 under the create tab...slide show.
    Used it on my desktop several times. Deactivated it and installed on new lap top about 5 months ago.  Had not used it other than for photo editing until today.
    I can also not login in thru the program. It simply spins and I finally had to force close the program
    Toni V. Sloan
    Sent from my iPad
    On Jun 27, 2014, at 7:03 PM, Chris Cox <[email protected]>
    I have created a slide show with music but when i view it or attempt to burn to a CD or even copy to hard drive after about 15 sec the program stops working and it shuts down
    created by Chris Cox in Photoshop General Discussion - View the full discussion
    Photoshop doesn't do slideshows… What software are you using?
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6504356#6504356
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • After connecting the Hard Drive to the airport extreme, where can I find the file location in Windows 7

    After connecting the Hard Drive to the airport extreme, where can I find the File Location (to access my files from my Hard drive)

    Hi,
    Try this select to check backup history:
    Select 
    r1.database_name, 
    r1.name, 
    (case r1.[type] when 'D' then 'Full database backup' when 'I' then 'Differential database' when 'L' then 'Transaction Log Backup' else r1.[type] end) as BackupType, 
    r3.physical_device_name, 
    r1.backup_start_date, 
    r1.backup_finish_date, 
    r1.backup_size, 
    r1.compressed_backup_size, 
    r2.is_compressed,
    r1.server_name, 
    r1.first_lsn, 
    r1.last_lsn 
    from msdb.dbo.backupset r1 
    inner join [msdb].[dbo].[backupmediaset] r2
    on r1.media_set_id = r2.media_set_id
    inner join [msdb].[dbo].[backupmediafamily] r3
    on r1.media_set_id = r3.media_set_id

  • Time Machine only shows the current copy of the file I am trying to restore. There is none of the time machine backup histories shown. I am running OSX 10.7.5. I see the backup files on my external Time Machine hard drive. Help

    Time Machine only shows the current copy of the file I am trying to restore. There is none of the time machine backup histories shown. I am running OSX 10.7.5. I see the backup files on my external Time Machine hard drive in the Backups.backupdb folder.
    Time Machine does show the history of my Macintosh HD, but when I try to navigate to the folder I wish to restore the backup history disappears. I've been searching for answers and I have not found one that works for me.

    Time Machine only shows the current copy of the file I am trying to restore. There is none of the time machine backup histories shown. I am running OSX 10.7.5. I see the backup files on my external Time Machine hard drive in the Backups.backupdb folder.
    Time Machine does show the history of my Macintosh HD, but when I try to navigate to the folder I wish to restore the backup history disappears. I've been searching for answers and I have not found one that works for me.

  • Is there an issue with the hitachi hard drives in the MacBook Pro's ?  Got a 15 inch and a 13 inch at the same time and both drives have failed in under two years. I have heard from a few other people with same issue.

    Is there an issue with the hitachi hard drives in the MacBook Pro's ?  Got a 15 inch and a 13 inch at the same time and both drives have failed in under two years. I have heard from a few other people with same issue. Other drive I have had have lasted at least 5 or more years.

    there is a dylib you can put in the springboard if jailbroken but if not you have to find an apple store

  • So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    The reason that threadjacking is frowned on (as mentioned in the terms use which you can read by clicking the link to the right on this page) is for the most part a practical one:
    By starting your own thread your problem can get individual attention, focussed on your particular set of circumstances.
    By joining somebody else's thread it becomes tricky to answer more than one question at the same time, and can lead to confusion for both parties.
    So if you don't mind the minor inconvenience, please start your own thread (in the correct forum) so we can get to grips with your particular problem!

  • Deleting files from hard drive

    How can I delete files without Finder asking for my digital ID? This is annoying

    I thought that was it so I checked. I had downloaded some white papers off the Internet, but I copied some files into a folder on the hard drive that I created and it still asked for my password.  However I have an external drive and it does not ask me for a passward to delete a file on my external drive.

  • After 10.5 upgrade Mac will not boot from hard drive

    I just upgraded to 10.5 Leopard but my mac will not boot from the hard drive even after selecting my hard drive as the startup disk. The mac will start to boot but will cut itself off before the boot is complete. I have to leave the Leopard disk in the mac and hold down C to get the mac to turn on but it only allows me to install the software again.

    instead of archive and install you might first want to try restoring your system using TM to some time point before your failed 10.5.1 upgrade. Then try upgrading to 10.5.1 again. I would suggest downloading the full 110 MB upgrade and installing it manually rather than doing it through the software upgrade menu.
    You can download the upgrade here:
    http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx1051update.html

  • How to I restore lost audiobooks from iTunes after replacing my hard drive?

    After replacing my hard driver I put my apple ID and password into iTunes and was able to re-download all of my music but I was not able to get my audiobooks. Does anyone know how I can do that?

    Hello
    do you have multiple itune account ?
    answer is certenly here
    http://support.apple.com/kb/HT2519
    take care of that
    Notes:
    To download previous purchases on a computer, your computer must be authorized for the Apple ID that was used for the original purchase. For more information about iTunes Store authorization and deauthorization see,this article.
    Items that have been refunded by iTunes Store support cannot be downloaded again and will no longer show on your Purchased page.
    HTH
    Pierre

  • Hello all, how do I back up a folder as new library to free space from hard drive to external drive BUT leave my favorites pictures still on hard drive?

    Hello all, I organise all my photos in a base folder by year and then sub folders for each destination I have visited, i.e. 2013 then USA as sub folder.  I would like to backup each year as new library to external hard drive which I can do.  BUT I keep a copy of my favourite pics in various albums which can have photos from multilpe years.  After backing up to external hard drive I would like to delete the year folder but keep the pics in the album.  Is this possible?  If so, how?

    To be more accurate, I have no issue doing the backup folder as new library but when i delete from hard drive it deletes all pics that were in my albums.  I would ideally like to keep my favourite selection of photos on my hard drive.

Maybe you are looking for

  • HP ScanJet G3110 and Mac 10.4.11

    *new scanner *installed from CD *attempt to use HP Scan software ends in a crash --software crashes during launch *downloaded latest version of software, same problem *tried both launching software from application folder and using button on scanner

  • Printing the Collective Stock/Requirements List

    Hey All, I'm trying to print out the collective stock/requirements list via the menu path "System -> List -> Save -> Local File" but it is shaded out and i cannot do this, just like SD variants are needed to be maintained in own data for the report V

  • Multiple selections as input to BAPI

    Hi All, I have a table with two fields type and model which will be populated with a bapi. A perticular tpe containd different modela. For eg: Type A contains modelA,modelB,modelC. I need to select multiple models for a perticular user and pass them

  • Vine videos will not load

    I'm not sure exactly when this started happening, whether it was related to a new version of Firefox or not. But at some point embedded Vine videos on other sites would no longer play. For a time I could go to the video itself on vine.co and that wou

  • Restore A/P Invoice

    Good day Experts, I have a situation whereby one of the users dragged the A/P Invoice into the SAP Business One 2007 tool bar. Now the header where there is document name and minimize, maximize and close can not be accessed, how do i restore the docu