|
[OS X] Weird HD usage and Trash.......OSX Lion, Trash asks me for admin password to fill/ empty, check Prefs, set for normal, not secure deletion, plus, since this unusual behavior, my Disk space doesn't seem to go down upon Trash deletion...edit UP!!!
As far as I know, I am the only Admin User account...............
Any ideas........tried restart, just the same, tried deleting caches etc using Main Menu.......still the same, done a Prefs clean/Disk Utility repair Permissions/Volume.......about to fire up Diskwarrior and boot into backup and do a whole Disk rebuild...........
Other than the above, Macbook Pro is runnin fine............... |
|
Daemon Premium Member join:2003-06-29 Washington, DC |
Daemon
Premium Member
2012-Jun-20 1:59 pm
dollars to donuts it's a permissions problem with the .Trashes folder on one of the volumes connected to your mac. if you don't mind, fire up terminal and run cd /
ls -la
and screen cap the results. Make sure the .Trashes folder is visible. On my internal drive's root, the Trashes file is owned by root:wheel and is set d-wx-wx-wt (everyone can write and execute, no one can read, and the sticky bit is set). On my external drive, the folder is owned by [me]:staff and the permissions are the same. |
|
|
drwxr-xr-x 32 root admin 1156 Jun 19 18:24 . drwxr-xr-x 32 root admin 1156 Jun 19 18:24 .. d--x--x--x 8 root wheel 272 Jun 19 23:45 .DocumentRevisions-V100 drw------- 5 root admin 170 Jun 8 2011 .Spotlight-V100 d-wx-wx-wt 2 root wheel 68 Oct 13 2011 .Trashes srwxrwxrwx 1 root admin 0 Jun 19 18:24 .dbfseventsd ---------- 1 root admin 0 Jun 18 2011 .file drwx------ 23 root wheel 782 Jun 20 09:53 .fseventsd -rw------- 1 root wheel 589824 Apr 23 22:58 .hotfiles.btree -rw-rw---- 1 root wheel 16 May 20 2011 .vbt5 drwxr-xr-x@ 2 root wheel 68 Jun 21 2011 .vol drwxrwxr-x+ 77 root admin 2618 Jun 19 18:27 Applications drwxrwxr-x 4 root admin 136 Jun 19 15:15 Incompatible Software drwxr-xr-x+ 68 root wheel 2312 May 18 23:36 Library drwxr-xr-x@ 2 root wheel 68 Jun 18 2011 Network drwxr-xr-x+ 4 root wheel 136 May 9 19:16 System drwxr-xr-x 5 root admin 170 Jun 19 15:29 Users drwxrwxrwt@ 5 root admin 170 Jun 20 09:57 Volumes drwxr-xr-x@ 39 root wheel 1326 May 9 19:13 bin drwxrwxr-t@ 2 root admin 68 Jun 18 2011 cores dr-xr-xr-x 3 root wheel 4224 Jun 19 18:07 dev lrwxr-xr-x@ 1 root wheel 11 Jul 25 2011 etc -> private/etc dr-xr-xr-x 2 root wheel 1 Jun 20 00:58 home -rw-r--r--@ 1 root wheel 15567576 Apr 9 22:34 mach_kernel dr-xr-xr-x 2 root wheel 1 Jun 20 00:58 net drwxr-xr-x@ 6 root wheel 204 Jul 25 2011 private drwxr-xr-x@ 62 root wheel 2108 May 9 19:13 sbin lrwxr-xr-x@ 1 root wheel 11 Jul 25 2011 tmp -> private/tmp drwxr-xr-x@ 12 root wheel 408 Apr 19 00:37 usr lrwxr-xr-x@ 1 root wheel 11 Jul 25 2011 var -> private/var |
|
Daemon Premium Member join:2003-06-29 Washington, DC |
Daemon
Premium Member
2012-Jun-20 4:31 pm
Well, I was wrong. It looks like your .Trashes folder has the right permissions.
If you want, you can rename the .Trashes folder to something else and OS X will create a new one for you. Other than that, I have no ideas to help solve your problem. |
|
|
thanks fer trying.........still leeching HD space, Finder wants Permissions to make changes ( to fill Trash) the, file disappears, but trash is a;ready empty, and HD space does NOT go up correspondingly.............. v weird!!!! |
|
|
to Daemon
.Trash is owned by root? |
|
Hall MVM join:2000-04-28 Germantown, OH |
Hall
MVM
2012-Jun-20 7:05 pm
I think instead of cd /
in the instructions above, it should have been cd ~
|
|
Daemon Premium Member join:2003-06-29 Washington, DC |
to kerriskandie
Yes, /.Trashes is owned by root. Hall is right. There is also a .Trash folder in each users home folder, which I didn't realize. That folder is drwx------ and owned by [me]:staff kerriskandie , Go ahead and do cd ~
ls -la
And paste the results. We only need to see the line that includes the .Trash folder, so don't paste the whole thing if you want to keep privacy. |
|
|
drwx------ 31 root staff 1054 Jun 20 16:28 .Trash |
|
kerriskandie |
Anything that enters the Trash.........once I have entered my Admin password......doesn't show up IN the Trash......and also seemingly doesn't get deleted......but as Disk space never goes back up......but.........where does it go???? |
|
Daemon Premium Member join:2003-06-29 Washington, DC |
to kerriskandie
yep, there's the problem. Where it says root it should say your short username. What you can do is type sudo chown [yourusername]:staff .Trash
Then type your password when prompted, and it will change the owner of the file back to you. |
|
Hall MVM join:2000-04-28 Germantown, OH |
to Daemon
said by Daemon: Hall is right. There is also a .Trash folder in each users home folder, which I didn't realize. As soon as I saw you indicated to "cd" to the 'root' folder, I suspected it was off... |
|
|
"No such file or directory"????? |
|
kerriskandie |
Keep getting No such file or Directory???? |
|
kerriskandie |
Just listed (ls) the User .Trash folder in Terminal, and yes, it is FULL of files.....
Since I can't seem to change ownership ( No such file or directory when I try to Change ownership ( chown) can i empty the User (Root owned) Trash through Terminal?? |
|
kerriskandie |
managed to force empty User .Trash through Terminal......even though I don't own it, and can't seem to chown it... thanks for all your help...... will retry sudo chown (emm? me!!) .Trash later...... |
|
Daemon Premium Member join:2003-06-29 Washington, DC |
to kerriskandie
That will happen if you are not in your home folder. You can do a cd ~ first. |
|
|
to Hall
That's my guess too. |
|
|
Ta, sorted problem, never had a .Trashes (User Trashes) problem before........weird......any ideas how/why the permissions could of gotten so mixed up???? |
|