LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-21-2021, 10:34 PM   #1
rcdawson
LQ Newbie
 
Registered: Jan 2012
Posts: 14

Rep: Reputation: Disabled
Files transferred from Windows XP are not visible with dolphin or ls


I replaced the hard drive in a Windows XP laptop, installed KUbuntu 20.04, and then copied all the user's folders and data files from the laptop hard drive. All of the user's folders, including all subfolders at all levels, are visible with dolphin or with ls from a terminal, but absolutely none of the individual files within any of the folders are visible. I would say that the files didn't transfer, except that dolphin's search function finds them!

When I did the transfer, I also copied the files to a backup drive. I can see all of the folders and files in that backup with either dolphin or ls.

If click on a libreoffice writer file displayed by the dolphin search function, the file opens with the appropriate application, so I know the file exists and is apparently intact. Incidentally, the file name is not preceded by a dot, so it isn't hidden, at not least using the usual naming convention to hide a file.

I use libreoffice to open one of the files returned by the dolphin search function, then click "file>save file as" I can see the directory in which the file is stored, but, when navigating to that folder with dolphin, I see only an empty directory.

If I create a new file in that directory with Libreoffice writer, the file is visible with dolphin and with ls. Unfortunately, I didn't check to see if simply saving an existing file opened from the dolphin search function would render that file visible from dolphin and ls.
 
Old 04-21-2021, 11:31 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
If I create a new file in that directory with Libreoffice writer, the file is visible with dolphin and with ls.
Suggests that the transferred files need to have owner and group updated, as per those of the new file.
 
1 members found this post helpful.
Old 04-22-2021, 11:21 AM   #3
rcdawson
LQ Newbie
 
Registered: Jan 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
Suggests that the transferred files need to have owner and group updated, as per those of the new file.
How can I change the owner/group if I cannot see the files in a terminal?
 
Old 04-22-2021, 11:28 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Did you try changing ownership with root privileges (ie with "sudo" in *buntu's case)?

Like for example:
Code:
sudo chown <user>:<group> /path/to/files/*
 
Old 05-13-2021, 05:58 PM   #5
rcdawson
LQ Newbie
 
Registered: Jan 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
I have still not been able to "expose" any of the files.

I am able to identify the directory in which the files reside, because, first, Dolphin's document search function (found in the left Dolphin's left panel) lists what I think is all of the files in alphabetical order, second, I can open .doc files with Libreoffice from that list, and a "save as" operation in Libreoffice reveals the path to the file. Navigating to that folder with Dolphin, however, I cannot see any files.

I ran "sudo chown <user>:<group> /path/to/files/*" on that directory, and no files were revealed.

I checked the permissions on that file. They are "drwxrwxr-x". User and group are both the same as the username.

I tried tried sudo ls -a in that directory. No files.

I tried checking with dolphin with the show hidden files option on. No files.

Again, I know that they are there, because Libreoffice can open the file and it shows the path to the file.

Any other ideas?
 
Old 05-13-2021, 06:31 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Just out of curiosity what is the output of the stat command for one of your invisible files?

stat file_name
 
Old 05-14-2021, 03:25 AM   #7
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by rcdawson View Post
Again, I know that they are there, because Libreoffice can open the file and it shows the path to the file.

Any other ideas?
I think this assumption is false.
Post some actual data.
Where is "there"?

Last edited by descendant_command; 05-14-2021 at 03:26 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KDE Plasma - etc,usr folder not visible in Dolphin alex4buba Linux - Software 3 10-15-2020 09:04 PM
busybox: nc command password visible while entering; it should not be visible learnlinux2017 Linux - Networking 3 06-12-2017 03:33 PM
USB drives visible in fdisk and gparted, but not mounting or visible in /media/ Ibilata_Bingbingbing Linux - Newbie 4 10-12-2016 03:51 PM
cscope usage options not visible, but the search results are visible balemarthy Linux - Newbie 1 02-15-2012 02:46 PM
How to use samba implementing some files can visible and some files can not visible willie118 Linux - Server 7 09-18-2007 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:45 PM.

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
Open Source Consulting | Domain Registration