LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot access/copy some XP files via samba (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-access-copy-some-xp-files-via-samba-621434/)

pwalden 02-15-2008 02:30 PM

Cannot access/copy some XP files via samba
 
I have a Fedora Core 7. I generally use the mount.cifs command to mount shared directories from my XP home machine.

However, I find that in some cases, not all, I can see, but not access or copy the files.

If I instead use a FAT USB stick as an intermediate, then I have no problems.

The mounted directory looks like this:

Code:

pwalden@walden4 Karma]$ pwd
/home/pwalden/Music/Delerium/Karma
[pwalden@walden4 Karma]$ ll
total 62808
-rwxrwSrwt 1 pwalden pwalden 5205726 2008-02-09 15:07 01 - Duende.mp3
-rwxrwSrwt 1 pwalden pwalden 5912912 2008-02-09 15:07 02 - Twilight.mp3
-rwxrwSrwt 1 pwalden pwalden 6332126 2008-02-09 15:07 03 - Silence.mp3
-rwxrwSrwt 1 pwalden pwalden 7277131 2008-02-09 15:07 04 - Forgotten Worlds.mp3
-rwxrwSrwt 1 pwalden pwalden 8255156 2008-02-09 15:07 05 - Lamentation.mp3
-rwxrwSrwt 1 pwalden pwalden 5283048 2008-02-09 15:07 06 - Euphoria (Firefly).mp3
-rwxrwSrwt 1 pwalden pwalden 7217781 2008-02-09 15:07 07 - Remembrance.mp3
-rwxrwSrwt 1 pwalden pwalden 4659035 2008-02-09 15:07 08 - Wisdom.mp3
-rwxrwSrwt 1 pwalden pwalden 9732224 2008-02-09 15:07 09 - Window To Your Soul.mp3
-rwxrwSrwt 1 pwalden pwalden 4421216 2008-02-09 15:07 10 - 'Til The End Of Time.mp3


BrianK 02-15-2008 04:55 PM

Quote:

Originally Posted by pwalden (Post 3058441)
I have a Fedora Core 7. I generally use the mount.cifs command to mount shared directories from my XP home machine.

However, I find that in some cases, not all, I can see, but not access or copy the files.

If I instead use a FAT USB stick as an intermediate, then I have no problems.

The mounted directory looks like this:

Code:

pwalden@walden4 Karma]$ pwd
/home/pwalden/Music/Delerium/Karma
[pwalden@walden4 Karma]$ ll
total 62808
-rwxrwSrwt 1 pwalden pwalden 5205726 2008-02-09 15:07 01 - Duende.mp3
-rwxrwSrwt 1 pwalden pwalden 5912912 2008-02-09 15:07 02 - Twilight.mp3
-rwxrwSrwt 1 pwalden pwalden 6332126 2008-02-09 15:07 03 - Silence.mp3
-rwxrwSrwt 1 pwalden pwalden 7277131 2008-02-09 15:07 04 - Forgotten Worlds.mp3
-rwxrwSrwt 1 pwalden pwalden 8255156 2008-02-09 15:07 05 - Lamentation.mp3
-rwxrwSrwt 1 pwalden pwalden 5283048 2008-02-09 15:07 06 - Euphoria (Firefly).mp3
-rwxrwSrwt 1 pwalden pwalden 7217781 2008-02-09 15:07 07 - Remembrance.mp3
-rwxrwSrwt 1 pwalden pwalden 4659035 2008-02-09 15:07 08 - Wisdom.mp3
-rwxrwSrwt 1 pwalden pwalden 9732224 2008-02-09 15:07 09 - Window To Your Soul.mp3
-rwxrwSrwt 1 pwalden pwalden 4421216 2008-02-09 15:07 10 - 'Til The End Of Time.mp3


Are you getting any error messages? What happens when you try to access the files? How are you trying to access the files (command line or through nautilus or something similar)? Is it only files with spaces in the names that you're having problems with?

need more info. ;)

pwalden 02-16-2008 11:52 AM

First off, it does not seem to be related to spaces in the filenames. For example here is one that works and another that does not. They both have identical permissions:

Code:


[pwalden@walden4 ~]$ cp /home/pwalden/Music/Holst\ -\ Dutoit/The\ Planets/01\ -\ Mars\,\ the\ Bringer\ of\ War.rmj .

[pwalden@walden4 ~]$[pwalden@walden4 ~]$ cp /home/pwalden/Music/Delerium/Karma/01\ -\ Duende.mp3 .
cp: cannot open `/home/pwalden/Music/Delerium/Karma/01 - Duende.mp3' for reading: Permission denied

[pwalden@walden4 ~]$ ll /home/pwalden/Music/Holst\ -\ Dutoit/The\ Planets/01\ -\ Mars\,\ the\ Bringer\ of\ War.rmj /home/pwalden/Music/Jack\ Wall/Myst\ III-\ Exile/01\ -\ Main\ Theme.mp3
-rwxrwSrwt 1 pwalden pwalden 7299765 2004-07-25 16:23 /home/pwalden/Music/Holst - Dutoit/The Planets/01 - Mars, the Bringer of War.rmj
-rwxrwSrwt 1 pwalden pwalden 3151770 2004-08-05 19:40 /home/pwalden/Music/Jack Wall/Myst III- Exile/01 - Main Theme.mp3

Looking in the F7 system log, there are no errors listed.

Looking on the XP box, event service viewer, there are not applicatication, security or system errors recorded.


All times are GMT -5. The time now is 04:34 AM.