Permissions confusion

Discussion in 'Mac Basics and Help' started by myotis, Sep 24, 2010.

  1. myotis macrumors member

    Joined:
    Dec 12, 2007
    #1
    I have just upgraded to Snow Leopard (clean install) and backed up all my files on a QNAP NAS.

    Now that I have brought them back I noticed that several file types (e.g. .bak, .rhistory, .org etc) are showing as a black icon with "exec" on them.


    Other files such as DOC and XLS files looked normal.

    However, looking at the permissions "all" the files from the back up have permissions

    -rwx---------(700) (including Excel and Word files)

    and new files created since the upgrade e.g. an Excel file

    have permissions

    -rw-r--r--(644)

    Can anyone explain what has happened here and how I can get the permissions back to the way I "think" they should be.

    Many thanks
     
  2. Bernard SG macrumors 65816

    Bernard SG

    Joined:
    Jul 3, 2010
    #2
    Assuming you haven't done that yet, try to repair permissions with Disk Utility on your backup drive?
     
  3. (marc) macrumors 6502a

    (marc)

    Joined:
    Sep 15, 2010
    Location:
    the woods
    #3
    Try to repair permissions with the disk utility. Alternatively, you can use the chmod command from the Terminal app, for example to change permissions on the entire Documents folder, you'd use:

    Code:
    chmod -R 644 ~/Documents
     
  4. myotis thread starter macrumors member

    Joined:
    Dec 12, 2007
    #4
    Thanks, I have run repair permissions on the hard drive on the Macbook pro, but the files weren't really on a back up drive, but a folder on a NAS which is formatted as NTFS, I suspect that the MAC repair permissions wouldn't work on that.

    Interestingly however, the repair permissions on the MacBook HD found hundreds and hundreds of permissions to repair. But this was done before I realised all the permissions were wrong, I just did it as part of the final re-install process.

    Graham
     
  5. Bernard SG macrumors 65816

    Bernard SG

    Joined:
    Jul 3, 2010
    #5
    NTFS do you say? Maybe that's the reason? AFAIK Mac OS X cannot write on an NTFS (which btw gets me puzzled on how you managed to backup your mac on the NAS :confused:).
    Anyway, sorry, just a +/- advanced user here, not an expert at all.
     
  6. myotis thread starter macrumors member

    Joined:
    Dec 12, 2007
    #6
    Thanks, I will give that a go.

    Graham
     
  7. myotis thread starter macrumors member

    Joined:
    Dec 12, 2007
    #7
    Well, that puzzled me as well when I got my Mac, but apparently on a server it doesn't matter what format the server HDs are, because its the server software that does the communication.

    Anyway, until Snow Leapard there has never been an issue, but now Finder won't work with the NAS either, but PathFinder works perfectly. A different but seemingly common problem since Snow Leopard came out and not yet fixed by Apple.

    Graham
     
  8. myotis thread starter macrumors member

    Joined:
    Dec 12, 2007
    #8
    Marc,

    I have done this and the contents have vanished!!

    Info for the folder say Folder (41) size 0 bytes

    Permissions for the folder are now drw-r--r--(644),

    but when I open it with PathFinder its empty, but when I try and open it with Finder, it says I don't have permission to open it.

    I am assuming the files are still there, I just can't access them.

    So a bit more help will be very useful.

    maybe I should mention that this wasn't on my home directory but my Dropbox directory so the command was

    sudo chmod -R 644 ~/Dropbox

    Thanks,

    Graham
     
  9. myotis thread starter macrumors member

    Joined:
    Dec 12, 2007
    #9
    A bit more detail.


    If I "get info" for the top level "Dropbox" folder, under sharing &permissions it has entries for

    graham (me), Staff and Everyone.

    All of these are set to "Custom".

    Changing the first to Read &Write gets me into the top level folder, but I then have hundreds of subfolders so would still like a command line option to bring these folders back.

    At least I have confirmed the files are still there :)

    Graham
     
  10. myotis thread starter macrumors member

    Joined:
    Dec 12, 2007
    #10
    Solved

    There is an option in the Info window to apply the changes to the "enclosed" which seems to have given me access to everything in the folder again.

    Graham
     

Share This Page