newbie's question on file deletion and restoration.

Tyler Giddings tgiddings at us.cyberscience.com
Wed Aug 6 17:37:44 UTC 2008


Zhengguo Xu wrote:
> hi,
> 
> i have a question concerning file deletion and restoration and hope i 
> can get some help here. thanks a lot.
> 
> i deleted some files (in some folders) and when i tried to empty the 
> wastebasket there's some error message saying i don't have permission to 
> do that. when i check the permission setting, they are readable by owner 
> and nothing else.
> 
> so how can i reset the setting so i can empty the basket? i couldn't 
> restore the files like what i would have done in windows. and i cannot 
> cut these files and paste them somewhere to change setting (for the same 
> permission issue). i was thinking on sudo chown or chmod but i don't 
> know what is the path of these file. they are not in the 'lost + found' 
> folder. (by the way, what is the purpose of this so called lost + found 
> folder?)
> 
> any suggestion?
> 
> mank thanks.
> 
Locate /home/user/.local/share/Trash. User would be your username. Check 
to make sure you can read and write to this directory.

When the computer shuts down incorrectly usually due to a power failure 
it will corrupt the files system. Any of those corrupted files fsck 
finds and can recover will get moved into a Lost + Found directory. 
These files may be incomplete but something important might have been saved.

Tyler Giddings





More information about the ubuntu-users mailing list