Ubuntu 13.04 dual-booting next to Pre-installed Win 8.
I can only delete files to the trash can when I am in the home directory, even for files which belong to me (usually inside /var/www). Selecting the file in nautilus and hitting delete does nothing. Right clicking and selecting delete asks me if I want to delete permanently. Here's what I know:
- These are files owned by me. /var is owned by root, but www (and all files within) are owned by me.
- I have a Trash folder at /home/(name)/.local/share/Trash; it seems to work fine for files I want to delete from my home directory.
- This machine was a Win 8 Machine which gave me a lot of trouble getting Ubuntu to run alongside on; I am not sure if this is an issue. When I created the partitions, I made a home partition separate, so I am thinking this is probably my problem.
Here is my fstab.
This blog post looked like the exact problem I have, but I am not experienced enough with fstab to get this to work. I tried adding my UID to /:
UUID=bb3ada65-be09-4b18-b091-9b3c95534cfd / ext4 errors=remount-ro,uid=1000 0 1
But then fstab couldn't load when I rebooted, and I had some trouble getting my system to load back up - don't really want to experiment with this since it takes so much time just to try something out.
edit: after reading the man for fstab a bit, it looks like UID is an option for fat; /
is ext3 so this isn't the problem, I am guessing.
edit2:
My permissions seem fine:
cd /var/www
touch test doc.txt
ls -la
...
-rw-rw-r-- 1 tom developers 0 Jun 12 16:55 test doc.txt
...
rm test doc.txt
Notice I don't need sudo for creating or deleting the file from the cli, nor do I need to be root to delete in nautilus - I just can't delete to my trash for some reason.