Bug 253776 - Can't send symlink to trash when target file is too big
Summary: Can't send symlink to trash when target file is too big
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: trash (show other bugs)
Version: 4.11.60
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 20:43 UTC by Romain Henriet
Modified: 2013-08-21 12:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Henriet 2010-10-10 20:43:24 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

If you have a symlink that leads to a file bigger than your trash, and want to send that link into the trash, dolphin says your trash is full.

Reproducible: Always

Steps to Reproduce:
1) Find a file that is bigger than your trash (or reduce your trash size)
2) Create a symbolic link to that file
3) Send that link to the trash in dolphin


Actual Results:  
A dialog box appears to say that the trash is full.

Expected Results:  
The link should be deleted
Comment 1 Jekyll Wu 2012-01-01 13:34:18 UTC
I failed to reproduce the reported problem using KDE SC 4.8 RC1. Does it still happens in recent versions?
Comment 2 Romain Henriet 2012-01-01 18:39:45 UTC
It still happens in KDE 4.7.4.
I can't say for 4.8 RC1.
Comment 3 Jekyll Wu 2012-01-08 12:17:40 UTC
(In reply to comment #1)
> I failed to reproduce the reported problem using KDE SC 4.8 RC1. Does it still
> happens in recent versions?

I was wrong. It still happens in 4.8 RC2.
Comment 4 Adrian Friedli 2012-11-25 16:40:03 UTC
I get something similar while just copying symlinks in dolphin. If the link target is bigger than the remaining space on the harddisk, copying fails with this error "Could not write file . Disk full.". I'm using KDE 4.8.4 from Debian unstable.
Comment 5 Dawit Alemayehu 2013-08-21 12:59:44 UTC
Git commit 4e04319afc77bfb66287439386b705e7c3e5ae54 by Dawit Alemayehu.
Committed on 21/08/2013 at 05:20.
Pushed by adawit into branch 'KDE/4.11'.

Don't prevent users from deleting symlinks that point to very large files and folders.
REVIEW: 112173
FIXED-IN: 4.11.1

M  +7    -2    kioslave/trash/discspaceutil.cpp

http://commits.kde.org/kde-runtime/4e04319afc77bfb66287439386b705e7c3e5ae54