dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
1124

kerriskandie
join:2001-10-09
Coram, NY

kerriskandie

Member

[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

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.

kerriskandie
join:2001-10-09
Coram, NY

kerriskandie

Member

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

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.

kerriskandie
join:2001-10-09
Coram, NY

kerriskandie

Member

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!!!!

Count Zero
Premium Member
join:2007-01-18
Milton, FL

Count Zero to Daemon

Premium Member

to Daemon
.Trash is owned by root?

Hall
MVM
join:2000-04-28
Germantown, OH

Hall

MVM

I think instead of

cd /
 

in the instructions above, it should have been
cd ~
 
Daemon
Premium Member
join:2003-06-29
Washington, DC

Daemon to kerriskandie

Premium Member

to kerriskandie
Yes, /.Trashes is owned by root.

Hall See Profile 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 See Profile, 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.

kerriskandie
join:2001-10-09
Coram, NY

kerriskandie

Member

drwx------ 31 root staff 1054 Jun 20 16:28 .Trash
kerriskandie

kerriskandie

Member

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

Daemon to kerriskandie

Premium Member

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

Hall to Daemon

MVM

to Daemon
said by Daemon:

Hall See Profile 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...

kerriskandie
join:2001-10-09
Coram, NY

kerriskandie

Member

"No such file or directory"?????
kerriskandie

kerriskandie

Member

Keep getting No such file or Directory????
kerriskandie

kerriskandie

Member

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

kerriskandie

Member

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

Daemon to kerriskandie

Premium Member

to kerriskandie
said by kerriskandie:

"No such file or directory"?????

That will happen if you are not in your home folder. You can do a cd ~ first.

Count Zero
Premium Member
join:2007-01-18
Milton, FL

Count Zero to Hall

Premium Member

to Hall
That's my guess too.

kerriskandie
join:2001-10-09
Coram, NY

kerriskandie

Member

Ta, sorted problem, never had a .Trashes (User Trashes) problem before........weird......any ideas how/why the permissions could of gotten so mixed up????