LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2011, 05:51 AM   #1
Zulujr
LQ Newbie
 
Registered: Nov 2011
Location: Davangere
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
file location anomaly!!


1.Recently, I deleted some files using my win xp os.I firstly transferred them to the recycle bin and them deleted them permanently. After logging off from my win xp os, i logged in to linux ubuntu os. There i saw a new folder called $recycler which was located on the same local disk drive where i had stored my files before deleting.I opened the $recycler folder and found that those deleted files were still present on the folder. Can anyone explain how does this happen?

2. Secondly, using my lockbox in win 7 os i hid some videos and other files and logged off. Then i logged onto linux ubuntu and found OUT that the files are not hidden(of course that's true) and i was able to watch those videos. Then, i decided to delete those files and logged off from linux. Again, i rebotted win 7 and went to the disk drive where the hidden files were located, there i saw another new folder called "thrash" folder and inside it were the files that i hid; now it's not hidden anymore. how does that happen????
(note: i'm not using any virtual machine.)
 
Old 11-15-2011, 07:30 AM   #2
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 55
For the first question I have no answer. It looks a bit strange.
But, for the "hidden" files, bear in mind that Windows manipulates file permissions etc completely differently from Linux. In fact, NTFS does not support Linux/Unix file attributes at all. So that hidding did not have any effect on Linux at all. If you want to hide a file in Linux you add a dot (.) as the first character of the filename, however that file is still easily accessibe, eg "ls -a". For example:
Code:
 $ touch a_file
 $ ls 
a_file
 $ mv a_file .a_file
 $ ls
 $ ls -a
.  ..  .a_file
 $
Now for the Trash folder you saw, if you deleted these files from a file manager in Linux, it just moved them to a special folder called Trash, the equivalent of Windows' Recycle Bin. If you delete them from command line with rm they should be totally deleted.
 
Old 11-17-2011, 08:30 AM   #3
Zulujr
LQ Newbie
 
Registered: Nov 2011
Location: Davangere
Distribution: Ubuntu
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you. I will try that one out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copying only new file to other location ananthkadalur Linux - Newbie 7 07-20-2011 07:29 PM
[SOLVED] gcc recompiles c file (obj file in different location) freeindy Programming 2 07-11-2011 04:45 AM
Xen Problem while creating guest " Invalid file location given: No such file " mgurnani Linux - Software 0 05-09-2009 04:02 PM
location of the sanatizing file rehan999 Linux - Software 2 04-28-2008 07:09 AM
hosts file location newio Debian 1 07-06-2006 06:09 AM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration