You are not logged in.

#1 2011-11-22 19:02:24

opasnost
Member
Registered: 2011-11-22
Posts: 5

Problem with the trash function using folder binding

The problem I am having is when I delete things from my binded folders using nautilus they do not go to the trash. Instead they stay in the folder but get moved to a .Trash-1000 folder continuing to use up space. Could someone please help me integrate this with the standard trash if it is possible. The trash system works normal for items deleted from the root folder. Below is my fstab:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
/dev/sda5 swap swap defaults 0 0
/dev/sda6 / ext4 defaults 0 1
/dev/sda11 /mnt/storage xfs noatime,logbufs=8 0 1

# Bind folders
/mnt/storage/Documents /home/adrian/Documents none bind
/mnt/storage/Downloads /home/adrian/Downloads none bind
/mnt/storage/Music /home/adrian/Music none bind
/mnt/storage/Pictures /home/adrian/Pictures none bind
/mnt/storage/Videos /home/adrian/Videos none bind

Offline

#2 2011-11-22 19:33:59

nexus7
Member
From: brain dump
Registered: 2006-12-06
Posts: 285

Re: Problem with the trash function using folder binding

opasnost: First, what's your WM/DE, Gnome?
Never seen anything like this in an fstab before, is this for a network; why don't you use just (soft)links? Also be sure, all users accessing your "bound folders" got access to them.

And what do you mean with "standard trash"/"trash system"? -- If you want to get rid of deleted files in the trash can, empty this in nautlius, or go to that .Trash-1000 in a terminal and then

$ rm -r ./*

or

$ rm -rf ./*

(Be careful: the "./" is important here, otherwise you're in danger to delete all files in your $HOME!)


we are Arch.
you will be assimilated!
resistance is futile!

Offline

#3 2011-11-23 01:04:54

opasnost
Member
Registered: 2011-11-22
Posts: 5

Re: Problem with the trash function using folder binding

opasnost: First, what's your WM/DE, Gnome?

I am using Gnome 3

Mounting the folders this way works for me because I have multiple operating systems. I dont like using a /home partition because some of the configuration files become shared. I suppose i could use symlinks. Is that what is meant by softlinks? And this is for my laptop and im the only user so i dont mind if that other users can see them.

And what do you mean with "standard trash"/"trash system"?

I just mean the bin, the place on the nautilus side panel. Where you can later review/restore/or empty the trash.

I could just use rm. But is there any way i can send the items to the trash so that i can possibly overview and restore them. Is there a mounting option for that or something?

Offline

#4 2011-11-27 06:39:23

opasnost
Member
Registered: 2011-11-22
Posts: 5

Re: Problem with the trash function using folder binding

bump

Offline

Board footer

Powered by FluxBB