Ubuntu :: Cannot Move File To Trash / Solution For This?
May 13, 2011
This started happening last week. Whenever I try to delete a file that is not in my /home directory I get the message:
Cannot move file to trash, do you want to delete immediately.
I have found a couple threads in the forums about this issue, but it has always been associated with windows or samba shares.
This is happening on my computer, not on a shared folder or through samba. Its a little frustrating to say the least.
View 2 Replies
ADVERTISEMENT
Mar 6, 2010
I'm trying to move certain files to Trash using File Browser. I continually get this message:"Cannot move file to trash, do you want to delete immediately?"I am logged in under my user name; I (my user name) am the owner of these files; ALL permissions are on (rwx for owner, group, and other); and Trash is empty. Still I get this message.
View 4 Replies
View Related
Mar 12, 2011
When I move something to Trash it doesn't show the option of "Empty Trash". I can use "move to Trash" and it just moving there like some ordinary folder, but shift+del give me an option for deleting the files. Using OpenSUSE 11.3 32bit.
View 6 Replies
View Related
Aug 26, 2015
I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun
The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :
# Samba Trash
#--------------------------------------------
# http://samba.org/samba/docs/man/Samba3-HOWTO/VFS.html
[code]....
The samba trash work for an another site of our company.
View 0 Replies
View Related
Dec 2, 2010
I am looking for a script/advice or guidance on how to write a script so that when I use the 'del' command it removes/sends the files/folders to a I specify for example 'dustbin
View 13 Replies
View Related
Jul 29, 2011
When I try to "Move to Trash" any file, a message say that Dolphin can't move the file to trash because it's full, but trash is empty. I'm running openSuse 11.4.
I think this function (Move to Trash) was working fine this morning. What it happened?... Maybe "Move to Trash" files in a pen drive was the cause of the problem.
View 1 Replies
View Related
Nov 20, 2008
When I am in run level 5, I attempt to delete some 'trash' that has accumulated in the 'Trash' icon on my Desktop/.
When I right click the icon and select the 'empty trash' option, I get a permissions error so I just press the 'cancel' option however the contents of the 'Trash' have been purged anyways. It is working basically but I don't understand why I am getting a permissions error.
[cwilliams@tunafish ~]$ id cwilliams
uid=500(cwilliams) gid=500(it) groups=500(it),100(users)
View 6 Replies
View Related
Jan 21, 2010
I would like to know how I can move the trash bin / trash can to the desk top & not have it in the status bar. Is there away to do this ?
View 3 Replies
View Related
Dec 4, 2010
i recently install NTFS-Config and Auto-mount my NTFS_partitions... They are now successfully mounting in Start-up, but whenever i try to remove something(within) NTFS partition, the removing item is not going to Trash,its just deleting that item permanently,
My fstab :-
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
[Code]....
View 5 Replies
View Related
Jun 20, 2010
I have an NTFS partition automatically mounted in fstab. I have read many forums and have done what they have to try and fix this problem, but it still won't move the files to the NTFS trash folder. What can I do to make this work?Here is my fstab entry:
Code:
# NTFS partition /dev/sda1
UUID=5D924B8408514F71 /media/MediaDrive ntfs rw,auto,users,nosuid,uid=1000,fmask=137,dmask=027,utf8 0 0
View 5 Replies
View Related
Nov 24, 2010
I have a few folders I need to remove and when I right click delete or move to trash not available. I guess I don't have permission. I am the sole user of this machine and the Admin. How do I remove these folders. The folders were part of ClamAV which has been removed. They show up as a virus in my Avast Anti Virus.
View 3 Replies
View Related
Feb 14, 2011
I'm trying out the old, free version of Minecraft, and I cannot seem to be able to move. If I press F9, I sometimes get an options screen, and sometimes not. I have F9 bound to scale in Compiz, though I had the same problem with Metacity. If I press any of the movement keys, I do not move, though I can use my mouse. I'm using sun-java6-plugin.
View 1 Replies
View Related
Jul 12, 2011
I have Ubuntu 10.l0 installed on my laptop. I recently install the KDE desktop from the Software Center. Today, I noticed something strange. I tried to move a file to the trash when I got this error message: "The trash has reached its maximum size! Cleanup the trash manually." I don't have any files in the trash. I went back to Gnome, and was able to delete the file. I opened up Dolphin while still in Gnome, and couldn't delete anything, so I know that this isn't a KDE problem
View 5 Replies
View Related
Jul 23, 2010
When I try to move a file to trash, it doesn't retain anything. I drag a file to the trash bin icon, I open the trash bin, its' empty. How do I make my trash bin retain some trash?
View 1 Replies
View Related
Jan 9, 2010
I just wanted to post this in case it helps anyone else. I have all my personal files (photos, documents, etc.) saved on a separate ext3 partition (so I don't have to worry about them on new installs, etc.). When I tried to delete files, however, I always received the message: "Cannot move file to trash, do you want to delete immediately?".
After much searching and failed fix attempts (mostly unnecessary messing with fstab), I found this post, which is now archived (or I would have replied there):ttp://ubuntuforums.org/showthread.php?t=759544. And frediE's solution, with a couple tiny modifications, finally solved the problem! (So huge thanks to frediE! ). irst, I found my user id, which is 1000, by going to the System > Administration > Users and Groups menu, selecting my user name (e.g. jnewm), clicking "Properties", andselecting "Advanced".
Second, I created a folder on the root of my partition called ".Trash-1000". (I may have needed to use "gksu nautilus" from a terminal to create the folder, I don't recall.)Third and last, I navigated to the root of the partition in my terminal and ran: sudo chown -R jnewm:jnewm .Trash-1000. Followed by: sudo chmod -R jnewm .Trash-1000 (I doubt this second step was necessary, but I'm listing it just in case). (confirmed unnecessary)
View 4 Replies
View Related
Jul 23, 2011
ubuntu 11.04
ubuntu classic
wubi
When I try to delete a file in the host directory (and sub-directories), I see the prompt, 'Cannot move file to trash, do you want to delete immediately?'
I googled this issue and see some solutions that require editing fstab, but not sure if that's the right approach in wubi, and not so sure what edits I would make in fstab anyway.
View 3 Replies
View Related
May 30, 2015
how to enable the "move to trash" shortcut from the right click in Thunar? Is suddenly disappeared after some upgrading but I didn't remember exactly when.
Unfortunately this is a such cyclic problem...
View 1 Replies
View Related
Jul 10, 2010
I've tried a number of suggestions found on the internet and none of them work. Here's one:Code:mv "$x" ~/.Trash/...where $x is the pathname of the file passed to the script.I've also tried different paths to Trash - on Desktop, in Home folder, in my user folder, it makes no difference. Either nothing happens, or more often, the file is simply copied to my desktop or userfolder with the name "Trash".What is the actual path to the Trash folder and how can I move files there? I'm using Ubuntu 10.04.
View 1 Replies
View Related
Jan 16, 2011
I edited fstab so that my Windows disk partition will be automatically mounted when I log on. However, when I delete a file from said partition, I am told that the item(s) cannot be moved to trash - I can only permanently delete files from the Windows partition. Here is how I configured in fstab: Code: /dev/sda1 /media/Vista ntfs nls=iso8859-1,umask=000 0 0 I suspect I mis-configured the options. Can anyone see an issue?
View 1 Replies
View Related
Apr 1, 2010
Recently did a fresh install of F12, previously used F11 without any problems. Now Evolution move ALL received messages to trash automatically. I have had to make rules to move each e-mail to the inbox but still all incoming messages go straight to Trash.
View 3 Replies
View Related
May 5, 2010
Aluminum Macobook 5,1, on Ubuntu 10.04
I'm quite happy with my set up now... there's really just one issue that's been nagging at me. "Move to Trash"
I would greatly like a keyboard shortcut for this... but unfortunately, there is no "delete" button on the mac keyboard (well... there IS, but it functions as backspace).
I would like to set up a keyboard shortcut, but I don't know what the command is to "move to trash" as opposed to simply removing a file. Anyone know how I can do this? I just want to get ctrl-del (I have command mapped to ctrl) to move files to trash like in OS X.
View 1 Replies
View Related
Apr 18, 2010
Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.
View 7 Replies
View Related
Jul 28, 2010
it seems that even after several years of bouncing around the idea on the forums and in the idea bin, etc., Ubuntu still has no "confirm move to trash" feature. The problem is, I have cats who love my keyboard, and they sometimes press the "delete" key, moving my files to trash behind my back. It's not a sufficient precaution just to review my trash before emptying it (for various complicated reasons with which I shall not bore you), nor would it be practical even if it were sufficient. So the obvious alternative is this: disable the "move to trash" function of the "delete" key!So, is there any way to do that? Perhaps re-map the delete key to a different function? I'm not an ubuntu expert, but if it will solve my problem then I'm willing to put some time/energy into a technical solution. I just need a place to start!
View 2 Replies
View Related
Feb 21, 2010
why a file can't be moved to trash while it can be deleted forever!! does any of you have a clue?
View 1 Replies
View Related
Aug 10, 2011
I'm writing a script that tidies up my system before it shuts down.
One of the things I would like it to do is clear my Trash..
Code:
But I can't find the path to the trash. Anybody know where it is?
View 8 Replies
View Related
Jun 17, 2011
I downloaded a 7gb file on my ubuntu, thing is I want to copy the file to an external HDD that is FAT32, so I cant copy the 7gb file.
If i were on windows i would use winrar and split the file in several parts.
What application can i use in ubuntu?
View 2 Replies
View Related
Mar 6, 2011
I have installed KDE 4.6.1, on distribution Ubuntu 10.10 . But i have problem with trash icon. Even when i delete a simple text file, trash icon not change, shows empty icon. When I open trash directory location from dolphin, left side shortcuts, it shows empty directory.Is it a bug? Where is my deleted file gone?
View 4 Replies
View Related
Dec 24, 2010
I have a problem with a couple of folders in the Trash. If I click on the Trash icon, 2 foldersare there, and when I try to delete them, it just says "Failed to delete the item from the trash"
But when I go to .local/share/Trash there are no files there! Anyway, I tried using the command "sudo rm -rf .local/share/Trash", it shows no error, but the files continue when I click in the trash icon.
View 9 Replies
View Related
Feb 14, 2011
Im writing my first bash script. Its function is to move files to the trash can and write a log file in the same format that the system does to allow for file restoration. The problem is that in bash, everything works fine, but in the OpenBox window session, the files are named after the source directory, not the original name. Heres the script:
Code:
#!/bin/bash
# trash - Script to move file or folder to the trash can and create a log file
##### Functions #####
err_output () # Writes error message {
echo "$0: cannot stat `$1': No such file or directory"
echo "USAGE: $0 SOURCE DEST"
exit 1 } >&2
write_log_numbered ()
# Writes log entry for numbered files {
echo "[Trash Info]" > $HOME/.local/share/Trash/info/${FILE}.$max.trashinfo
echo "Path="$PWD >> $HOME/.local/share/Trash/info/${FILE}.$max.trashinfo
echo "DeletionDate="`date "+%Y-%m-%dT%H:%M:%S"` >> $HOME/.local/share/Trash/info/${FILE}.$max.trashinfo
}
write_log_unique () # Writes log entry for unique files {
echo "[Trash Info]" > $HOME/.local/share/Trash/info/${FILE}.trashinfo
echo "Path="$PWD >> $HOME/.local/share/Trash/info/${FILE}.trashinfo
echo "DeletionDate="`date "+%Y-%m-%dT%H:%M:%S"` >> $HOME/.local/share/Trash/info/${FILE}.trashinfo
} make_paths () # Makes necessary folders {
mkdir -p ~/.local/share/Trash
mkdir -p ~/.local/share/Trash/files
mkdir -p ~/.local/share/Trash/info
}
##### Main #####
make_paths
SOURCE="$1"
DEST=$(dirname ~/.local/share/Trash/files/filename)
[ -e "$SOURCE" ] || err_output "$SOURCE"
[ -d "$DEST" ] || err_output "$DEST"
FILE="$(basename "$SOURCE")"
if [ -e "${DEST}/${FILE}" ]; then
max=0 DIR="$(pwd)" cd "$DEST"
shopt -s nullglob for backup in "${FILE}."; do
nr=${backup#${FILE}.}
if [[ "$nr" =~ ^[0-9]+$ ]]; then
if (( nr>max )); then
max="$nr" fi
fi
done
cd "$DIR"
max=$(( max + 1 ))
write_log_numbered
mv -- "$SOURCE" "${DEST}/${FILE}.$max"
else
write_log_unique
mv -- "$SOURCE" "$DEST/${FILE}"
fi
So I run the script with the test file "Junk". In bash, it moves over and its named correctly.
Code:
~/.local/share/Trash/files$ ls
file file.1 Files Files.1 Junk
The log file is also named correctly
Code:
~/.local/share/Trash/info$ ls
file.1.trashinfo Files.1.trashinfo Files.trashinfo file.trashinfo Junk.trashinfo
But, when I go to view the trash can in the file manager in Openbox, the file is called "Testing" which is the name of the source directory. However, if I go to the trashcan via its full path (going to .local/, then share/) all the files are named correctly. Whats going on here? Is there some way to get the trash can to read the correct file name?
View 4 Replies
View Related
Jan 22, 2011
I'm trying to install ubuntu on d partition i deleted, which now is "free space" but its giving me that error
So im guessing i have to click on add, what do what i click on? primary? beginning? end? ext 4 im guesing and which mount point?
Im installing it on d portition which i deleted and is now free space, i have windows 7 on c.
View 5 Replies
View Related