You are not logged in.
I get an error message when trying to delete large files (since my trash is nearly full), but smaller files get sent to the trash with no problem. The error is
Could not write to file <file path>.trashinfo. It seems like the error only occurs when the file I'm trying to delete would bring my trash up past the 13gb limit, so I tried to empty the trash. I get the following permission error:
Access denied to /run/media/archer/Data/.Trash-1000/files/<File Name> I have no issues at all running the rm command (which I assume deletes a file and skips the trash?) so I think that if I could fix the permission issue everything else will follow.
Last edited by roottoor (2014-02-16 01:34:23)
Offline
What application / DE are you using?
Offline
you can simply remove the whole .Trash-1000 folder. i've done it dozens of times, no harm. of course then the files are gone.
however, if the access denied problem re-occurs, you might want to find out what's causing it.
Offline
What application / DE are you using?
Can't believe that I forgot to include this, sorry. I'm using KDE and its trashbin.
I actually just tried to remove the .Trash-1000 folder and got "Operation not permitted" even as root. I ran the command
chown archer /run/media/archer/Data/.Trash-1000 -R as both root and my current user (archer), and still got Operation not permitted when trying to both empty the trash and delete the .trash-1000 folder. I don't know what else to try here.
Offline
It may have something to do with the fact that's in /run.
Offline
I don't use KDE or any of these trash tools, but previously having used other filemangers with these options, the trash folders were always under ~ and owned by the user. Is this location in /run/... typical or expected? This would definitely by we a regular user couldn't delete them, though root should be able to.
Can you check permissions (ls -l) on the folder?
Last edited by Trilby (2014-02-15 23:51:14)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I was unsure about the correct location for the trash, and it appears that it's normally located elsewhere. I didn't find a way to change the location though
ls -l /run/media/archer/Data/.Trash-1000
total 12
drwx------ 1 archer users 4096 Feb 9 11:29 files
drwx------ 1 archer users 8192 Feb 9 11:29 info
-rw------- 1 archer users 26 Feb 9 11:29 metadata this means I can't delete metadata right?
Offline
So here's an update, It appears that it might not have anything to do with file size. It seems like anything from the Data drive is unmovable. I don't seem to have access to change anything there, but I can play all media files. The reason the trash is in /run/media/ is because KDE has a trash folder for each drive that is attached, so the location isn't an issue in itself.
How do I gain permission to files in my own data drive? It's a 2TB drive with movies, music, documents etc in it. The permissions are likely broken because it's the drive I use for all operating systems past and present on the computer. I think that Opensuse may have been the culprit here, I gave it a week long trial run and subsequently had permission issues on my windows OS with files stored on this data drive as well. I checked permissions on the root of the drive and it says that I have " drwx" for every folder.
Offline
Tell us more about that drive: filesystem, mount options etc.
Offline
It's an NTFS drive, which would further explain issues with permissions. I can't seem to get control over the files. Do I need to install ntfs support or something? I'm not sure that reformatting would be an option right now, the drive is almost full and I don't really have anywhere to shift files to reformat.
I tried to get it to automount through the KDE system prefs but it still asks for a password to mount it. (there is no fstab entry for this drive).
edit:
It seems like NTFS is the issue. I mounted another NTFS drive and I'm seeing the same errors.
Last edited by roottoor (2014-02-16 01:13:40)
Offline
Please read the wiki article about NTFS.
Offline
After installing ntfs-3g and restarting the system I don't seem to be having any additional problems changing permission or deleting/moving files. I should have thought of the filesystem issue sooner, Thanks everyone for pointing me in the right direction.
Offline