Package: scrcpy
Version: 3.3.2-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I found out the file permission of downloaded scrcpy-server is not
correct. I have to fix the permission manually to get things working
well.

Here's the log for your reference:

$ scrcpy
scrcpy 3.3.2 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  756177e5                        device  Sun_for_arm64
adb: error: opening '/usr/share/scrcpy/scrcpy-server' locally failed: 
Permission denied
/usr/share/scrcpy/scrcpy-server: 0 files pushed, 0 skipped.
ERROR: "adb push" returned with value 1
ERROR: Server connection failed

$ ls -l /usr/share/scrcpy/scrcpy-server
-rw------- 1 root root 90808 Dec 26 23:44 /usr/share/scrcpy/scrcpy-server

$ sudo chmod 644 /usr/share/scrcpy/scrcpy-server

$ ls -l /usr/share/scrcpy/scrcpy-server
-rw-r--r-- 1 root root 90808 Dec 26 23:44 /usr/share/scrcpy/scrcpy-server

$ scrcpy
scrcpy 3.3.2 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  756177e5                        device  Sun_for_arm64
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 167.1 MB/s (90808 
bytes in 0.001s)
[server] INFO: Device: [QUALCOMM] qti Sun for arm64 (Android 15)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 25.2.2-1~bpo13+1
INFO: Trilinear filtering enabled
INFO: Texture: 2160x3840

-- System Information:
Debian Release: 13.2
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.17.9+deb13-asahi (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages scrcpy depends on:
ii  debconf [debconf-2.0]  1.5.91
ii  libavcodec61           7:7.1.3-0+deb13u1
ii  libavdevice61          7:7.1.3-0+deb13u1
ii  libavformat61          7:7.1.3-0+deb13u1
ii  libavutil59            7:7.1.3-0+deb13u1
ii  libc6                  2.41-12
ii  libsdl2-2.0-0          2.32.4+dfsg-1
ii  libswresample5         7:7.1.3-0+deb13u1
ii  libusb-1.0-0           2:1.0.28-1

Versions of packages scrcpy recommends:
ii  adb              1:34.0.5-12
ii  ca-certificates  20250419
ii  curl             8.14.1-2+deb13u2
ii  wget             1.25.0-2

scrcpy suggests no packages.

-- debconf information:
  scrcpy/update_server: true

Reply via email to