question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Won't copy files to SMB share that has the alternative data stream attribute (ADS)

See original GitHub issue

Description

First of all: Great work, I am impressed, really, I haven’t used Files for a while but now it’s just amazing, thanks for this great replacement!

I am trying to copy files with the alternative data stream attribute (ADS) to an SMB share.

Windows Explorer will show me this: The file has properties that can't be copied to this location - I can ignore this and the file will be copied.

Files doesn’t show anything, only in the tasks list that the transfer has failed.

It’s ADS releated. Can copy all other files or the same file without the ADS thing.

Steps To Reproduce

Sample ADS file creation with cmd:

echo good > good.txt
echo bad > bad.txt
good.txt>ads-file.txt:bad.txt

Try to copy ads-file,txt an SMB share that doesn’t support this (ubuntu with an ext4 share for example).

Expected behavior

File should be copied.

I don’t have this problem with my Synology NAS servers, only with my custom SMB share that I run on Ubuntu, but the warning/question should appear on Files or the copy process should just work.

Files Version

Version: 2.3.7.0 OS Version: 10.0.22622.575

Windows Version

Windows 11 22H2 10.0.22622 / 22622.575

Relevant Assets/Logs

Both debug logs didn’t contain anything related about that issue.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Josh65-2201commented, Mar 2, 2023

That would be a different issue tracked here #9423

0reactions
yaira2commented, Apr 16, 2023

@xairoo a fix has been implemented and will be included in one of the next feature releases.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copying files with Alternative Data Stream : Avi Files.
Problem: The issue first exhibited itself when I was attempting to mirror my local photos and video folder (from a windows 7 machine)...
Read more >
Sending file with alternate data stream?
Most programs just don't care about transferring alternate streams – e.g. ... Use a SMB file share (hosted by Windows, or by Samba...
Read more >
Can't copy *some* files with alternate data streams from ...
My DIY Ubuntu 18.04LTS NAS is running Samba 4.7.6. I'm facing the following issue: I can't copy some files that have NTFS alternate...
Read more >
Explorer does NOT copy Alternative Data Streams for folders
While copying a file with ADS to another drive(NTFS to NTFS) works as expected (ADS are copied too) copying a folder with ADS...
Read more >
Synology doesn't like Alternate Data Streams
I want to delete the alternate data streams but I can't because the path is too long.. I think I'm going to have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found