Results 1 to 5 of 5

Thread: .Trash

  1. #1
    dkamp NNTP User

    .Trash

    SLES 11 sp3 running only Data-Synchronizer Mobility.
    I had an issue where the /var was loosing space progressively, I deleted backups and Log files and when I run a df -h the results did not reflect all the work I was doing.
    There was nothing in my trash as per the Gnome desktop logged in as root.
    Thru a series of events I discovered the hidden /var/.trash-0 folder contained 38Gb of files.
    Can anyone give a "newbie" an explanation of why a deleted file does not appear in the trash can and why it is hidden in /var/.Trash-0 ?
    If I clean up in the future what should I do differently?
    <confused>

  2. #2

    Re: .Trash

    On 15/08/2014 09:26, dkamp wrote:

    > SLES 11 sp3 running only Data-Synchronizer Mobility.
    > I had an issue where the /var was loosing space progressively, I deleted
    > backups and Log files and when I run a df -h the results did not reflect
    > all the work I was doing.
    > There was nothing in my trash as per the Gnome desktop logged in as root.
    > Thru a series of events I discovered the hidden /var/.trash-0 folder
    > contained 38Gb of files.
    > Can anyone give a "newbie" an explanation of why a deleted file does not
    > appear in the trash can and why it is hidden in /var/.Trash-0 ?
    > If I clean up in the future what should I do differently?
    > <confused>


    That the folder is named .Trash-0 suggests that the files were deleted
    by root since the 0 was the UID of the user (root is UID 0).

    How did you delete the backups and log files? Perhaps through the GNOME
    (GUI) desktop using Nautilus?

    If so, by default that acts like Windows' Recycle Bin.

    HTH.
    --
    Simon
    SUSE Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------

  3. #3
    dkamp NNTP User

    Re: .Trash

    Thank you Simon for the fast response!


    >>That the folder is named .Trash-0 suggests that the files were deleted
    >>by root since the 0 was the UID of the user (root is UID 0).

    This is correct


    >>How did you delete the backups and log files? Perhaps through the GNOME
    >>(GUI) desktop using Nautilus?

    I did use the default Browser which I just learned is Nautilus 2.28.4
    I right clicked the files, and selected Move to trash.


    >>If so, by default that acts like Windows' Recycle Bin.

    I agree, except that when I look in the trash can that is on the desktop there is Nothing there.
    If I click View, select show hidden files, I can browse to /var and I do see .Trash-0 folder.
    My concern is that I cannot empty the trash and "everything" I delete stays there.
    This is the issue I had and my monitoring software (Nagios) was alerting me that /var was 87% full.
    How can I "Actually" delete something if it doesn't appear in the trash, (but does in the hidden .Trash-0) ?

  4. #4

    Re: .Trash

    On 15/08/2014 11:21, dkamp wrote:

    > I agree, except that when I look in the trash can that is on the desktop
    > there is Nothing there.
    > If I click View, select show hidden files, I can browse to /var and I do
    > see .Trash-0 folder.
    > My concern is that I cannot empty the trash and "everything" I delete
    > stays there.
    > This is the issue I had and my monitoring software (Nagios) was
    > alerting me that /var was 87% full.
    > How can I "Actually" delete something if it doesn't appear in the trash,
    > (but does in the hidden .Trash-0) ?


    What you can do is add a Delete option (in addition to "Move to
    Wastebasket") so you can "bypass" trash - in Nautilus select Edit >
    Preferences then under Wastebasket on the Behaviour tab tick "Include a
    Delete command that bypasses Wastebasket".

    HTH.
    --
    Simon
    SUSE Knowledge Partner

    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.
    ------------------------------------------------------------------------

  5. #5
    dkamp NNTP User

    Re: .Trash

    >> What you can do is add a Delete option (in addition to "Move to

    >> Wastebasket") so you can "bypass" trash - in Nautilus select Edit >
    >> Preferences then under Wastebasket on the Behaviour tab tick "Include a
    >> Delete command that bypasses Wastebasket".


    I added the delete option and it works.
    I also found if you select a file, hold the shift and press the delete key, you get the same pop up wanting to confirm it is actually deleting and it will be permanently lost.
    So I guess I'm OK now, just perplexed why it doesn't drop it in the Desktop Trash can.
    I guess I have to remember that this isn't Windows.
    Thank you!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •