i cant move or trash my files?

Discussion in 'macOS' started by german41274, Dec 14, 2008.

  1. german41274 macrumors newbie

    Joined:
    Dec 14, 2008
    #1
    My little girl got on my computer and did something. I cant drag or move files anywhere. When attempting to move a file, I get asked for my password but after entering it it tells me I don't have sufficient privileges. I checked my settings and I can't find anything thats been changed. I need help.
     
  2. Gray-Wolf macrumors 68030

    Gray-Wolf

    Joined:
    Apr 19, 2008
    Location:
    Pandora, Home Tree
    #2
    Is your account and admin one, or a user one? If user, log out, and in as an admin and recheck the settings for the user account.
     
  3. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #3
    It's an administrator account.
     
  4. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #4
    Sounds like a permissions problem.

    Try repairing permissions in disk utility. If that doesn't work, you're going to have to get the terminal out.

    Try permissions first, if that doesn't work, come back and let us know. We'll get into the terminal next.
     
  5. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #5
    disk permissions didn't work.
     
  6. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #6
    What folder are the files you're trying to move in? Desktop? Home? Documents?
     
  7. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #7
    one is a word doc and I cant copy a picture and drag it to my desktop either
     
  8. TuffLuffJimmy macrumors G3

    TuffLuffJimmy

    Joined:
    Apr 6, 2007
    Location:
    Portland, OR
    #8
    can you create files? Try making a new word document. If You can't something has changed causing you to not have write privileges. Maybe she changed the permissions on your home folder or even the users folder.

    try sudo rm /file/path/you/wish/to/delete
    or try it without sudo first
    or you could do mv /file/path/to/file.doc /where/you/want/to/move/it/to/file.doc
     
  9. ebmonkey2 macrumors newbie

    ebmonkey2

    Joined:
    Jan 14, 2008
    #9
    You can also try enabling and accessing the root account, as this will allow you increased control over your system.
     
  10. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #10
    Time to open the terminal and see what's going on:
    My username is jmxp, so whenever you see that, substitute your own username.


    Open Terminal and navigate to the folder you're working in. Then look at the file permissions:

    cd Documents
    ls -cla myfile.txt

    -rw-r--r--@ 1 jmxp staff 2444 Dec 14 12:55 myfile.txt

    There are two keys to this output. One is the owner of the file. You see in this output jmxp and staff. jmxp is the owner, and staff is the group. The important thing is that I OWN the file.

    The second important piece is the permissions of the file:

    -rw-r--r--

    AFTER the first dash, you'll see rw- r-- r-- These are the three flags of permissions for three different ownership options.

    rw- = Users
    r-- = Group
    r-- = Other

    In this case:
    - The owner jmxp has rw (read write permissions)
    - The group staff has r (read permissions)
    - OTHER has r (read permissions)

    Look at the file you're trying to manipulate and ensure two things:

    1) You OWN the file
    2) You have at least rw permissions

    Feel free to paste your results back here and we'll go from there if your permissions are hosed.

    PS You probably need to check the permissions of the parent folder as well:

    cd /Users/
    ls -clad jmxp

    drwxr-xr-x 27 jmxp staff 918 Dec 14 03:00 jmxp

    The "d" means this is a directory. The owner is jmxp (good), the owner has rwx permissions which means read, write and execute. The group has r-x which means read and execute, other has r-x which means read and execute. Come to think of it, I'm going to go fix that :) Nobody else needs read in my home.

    After fixing the permissions to remove group and other read/execute permission, here's what my home looks like now:

    drwx------ 27 jmxp staff 918 Dec 14 14:35 jmxp

    Notice the change from drwxr-xr-x to drwx------

    This means group has no permission and other has no permission, only the owner can read/write/execute files within /Users/jmxp
     
  11. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #11
    It used to automatically save my word docs to my desktop, now they go to my docs. I cant drag it either. it told me the desktop could not be modified
     
  12. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #12
    That probably means the permissions of your desktop don't include rw.

    See my post above. Go to terminal:

    ls -clad Desktop

    paste results here.
     
  13. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #13
    I cant move or change any of my files
     
  14. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #14
    Carefully read through those instructions. Nothing in there suggests that you move or change your files.
     
  15. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #15
    how do I get to terminal
     
  16. Tallest Skil macrumors P6

    Tallest Skil

    Joined:
    Aug 13, 2006
    Location:
    1 Geostationary Tower Plaza
    #16
    Applications, Utilities, Terminal
     
  17. TuffLuffJimmy macrumors G3

    TuffLuffJimmy

    Joined:
    Apr 6, 2007
    Location:
    Portland, OR
    #17
    /Applications/Utilities/Terminal.app
     
  18. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #18
    In spotlight, type terminal <enter>

    (or what the previous two posters said)
     
  19. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #19
    ok, thanks.
     
  20. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #20
    I'm lost, sorry I'm not that computer savvy. how do I get to my file in terminal
     
  21. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #21
    You're not putting your file IN terminal.

    Just open the terminal application by clicking applications, utilities, terminal

    Then type:

    ls -clad Desktop

    Paste the output here.
     
  22. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #22
    drwx------ 55 jeff jeff 1870 Dec 12 08:13 Desktop
    jeff-hermans-computer:~ jeff$
     
  23. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #23
    Ok, type:

    cd Desktop <enter>
    touch test.txt <enter>

    Paste results here.
     
  24. german41274 thread starter macrumors newbie

    Joined:
    Dec 14, 2008
    #24
    syntax error near unexpected token `newline'
    jeff-hermans-computer:~ jeff$ touch test.txt <enter>
     
  25. jmxp69 macrumors 6502

    Joined:
    Dec 10, 2008
    #25
    Ok..

    cd ~ <enter>
    chmod a+w Desktop <enter>
    touch Desktop/test.txt <enter>

    paste results here.
     

Share This Page