Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to change the default Signal AppData location, since pasting or viewing images not working with server-sided userprofiles and folder redirection #5427

Closed
1 task done
ITaluone opened this issue Jul 29, 2021 · 3 comments

Comments

@ITaluone
Copy link

ITaluone commented Jul 29, 2021

  • I have searched open and closed issues for duplicates

Bug Description

This is a merge ticket for issue #5332, #5104, #5024! I apologize for this unnecessary confusion.

Reason is, that these three tickets problaby tells the same root cause.
(MS Windows server-sided userprofiles and folder redirection).

This leads in following errors:

  • At pasting images: Warning: denying request to non-absolute path 'omain.local\dfs_shares\userdata\username\Anwendungsdaten\Signal[ Beta]\drafts.noindex
  • At receiving images: Warning: denying request to non-absolute path 'omain.local\dfs_shares\userdata\username\Anwendungsdaten\Signal[ Beta]\attachments.noindex...

Note
The correct UNC path would be btw. \\domain.local\dfs_shares\userdata\username\Anwendungsdaten\Signal Beta\attachments.noindex.. . This should point out that \\d is omitted from the path.

The next curious thing is, that if you receive an image/video you could see that image/video preview while downloading, but after the download has finished the above error occurs and the image is not viewable. (pls see screenshots + screencast) to get this behaviour right.

A possible solution could be to move the signal appdata to %localappdata%\Signal if %appdata%\Signal is on an UNC path

Steps to Reproduce

  1. Install Signal / Signal Beta on a Windows machine with a user who
  • is in a Windows domain
  • has server-sided userprofiles + folder redirection enabled (redirecting %appdata% to (in german) \\domain.local\dfs_shares\userdata\username\Anwendungsdaten\, and %localappdata% to C:\Users\username\AppData\Local
  1. receive an image or video
  2. while downloading see following => screencast 1
  3. pasing an image/video see following => screencast 2

Actual Result:

See screencasts

Expected Result:

Images and videos are viewable in signal (without saving first).

Screenshots

Screencast 1:
screencast1

Screencast 2:
screencast2

Platform Info

Signal Version: 5.10.0 and 5.11.0-beta.1

Operating System:
Windows x64 20H2

Linked Device Version:
iOS: 14.7
Signal version: 5.16.1.3

Link to Debug Log

@ITaluone ITaluone changed the title Allow to change the default Signal AppData location, since pasting or viewing images not working with userprofiles reachable on an UNC path Allow to change the default Signal AppData location, since pasting or viewing images not working with server-sided userprofiles and folder redirection Jul 29, 2021
@DeathDragonAW
Copy link

DeathDragonAW commented Jul 29, 2021

I am affected of #5024 but I'm pretty sure I don't have a server-sided user profile since I use a local account on Win 10 Pro.

@ITaluone
Copy link
Author

@scottnonnenberg-signal Sure this isn't primarily a bug?

@scottnonnenberg-signal
Copy link
Contributor

We've previously made the decision to disallow access to network shares for security reasons. And you're asking for a new feature to work around that limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants