Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

german41274

macrumors newbie
Original poster
Dec 14, 2008
28
0
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.
 
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.
 
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.
disk permissions didn't work.
 
What folder are the files you're trying to move in? Desktop? Home? Documents?
 
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
 
You can also try enabling and accessing the root account, as this will allow you increased control over your system.
 
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
 
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
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
 
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

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.
 
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
I cant move or change any of my files
 
Carefully read through those instructions. Nothing in there suggests that you move or change your files.
 
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.
 
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.
drwx------ 55 jeff jeff 1870 Dec 12 08:13 Desktop
jeff-hermans-computer:~ jeff$
 
Ok..

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

paste results here.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.