Giter Club home page Giter Club logo

Comments (17)

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024 2

I build a patched version of DroidFS that uses renameat instead of renameat2. Can you please test it and confirm it works?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Download link: https://drop.chapril.org/download/72b63a1cef9c15c0/#f914f-oheyc-Zz_azuxQNg
SHA-256: d71dfae33542c28d1098216c6254caa42f25f02d7d271082fbd50d37d2dfd40f DroidFS-patched.apk
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvVYhR557dNNqQFvoAH+EEgEHGR4FAmG962UACgkQAH+EEgEH
GR6JmQ//WE7W1aQpcvTu+Vd4s3+gWCJMYdsuq4EW8XrVN/xKosX9eH/LJPbX+Uv7
69jkPviaPAEPtyE4ciDRYk5fI88PiUCu2poAyujtx/DjMmDEEtCYsEs168AGrbER
KtxpgY/BhPJRaY9UazP/QbRqvL3viYXp5/zp8jxfmWmMM1rwjUud+l0aRd1rivUx
FoHhO/sce9mN9jV3dkRlTLCb7kVl0XCwbJnmUPakH/4Fdc+ao3fkVPwnlQInzEyw
8xe+Fko6CdFGEe2MBH+rnutH9kJjVumDkhpvnnO1MLLSVUi9J0AzTesoq0K5JheF
azdJqLtYj+iB4BZinyYcQupi72L+ViWLHrGNTjpFxdYGyjqIm74JR++dKe+VlxzH
KPsJNhsRZu0cBhG6CLEmvI7Oj2H2k0A2zgaYeXMsDG9ZI74ukKB5JZR+TPNDPNSY
sRpvCSGHpY92PpS4d6dksX9tKukKF1htKiOb/ybNEupAP7sgb2sPT7RVPhtzHbUv
TZES+b4rR2M7Au879K6guUrWPkZpRY6Dl0LAd+WrQV8W860Zrglk/sPvSToVhX3y
0aY0MFk2eeT3TNbfCUjvT9ElLHpnoVSiMqrcGyhqt8HFmEDb+v9Sb/7k705mEtLh
BODEqZPmt79n/Rs2AoI7MzsCRgXYqox6GOGCzIRP5srT0Quims8=
=iW3f
-----END PGP SIGNATURE-----

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024 1

I managed to reproduce the bug on an Android emulator. It seems that the renameat2 system call returns ENOSYS (function not implemented). Can you tell me what's your kernel version and architecture? Also, can you show the output of the mount command?

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024 1

Oh I forgot this. I think I managed to fix it. Can you confirm it works with this test APK?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Download link: https://drop.chapril.org/download/5263302387b9d626/#KuJDFMFTvTWp6MUZMxsWqg
SHA-256: 908711993efc5ef795df081b329a08bb9866da23ac10cfece0531fc1630d3723
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvVYhR557dNNqQFvoAH+EEgEHGR4FAmHAa/AACgkQAH+EEgEH
GR4W1w//e9cIv9EjpcmSWzsmSs7DjbyRtG7GH/hN5iuwwsGUnvWtzP/uEa9AxgMQ
iP8FzNkW0v5uxVYi/3MLOxujT6WB/4jLg5Trtt4lQ70pI9EmbYVfM9LgvkimnSvw
D0AtRu2Z9RA4Uz4Sy8fvlSvPkeqvbDQQiDKL10p0Xp+HGZx84H8XRS1qJ+xFVMPc
LQHlobBi6jNkl0X88mEMydIYNz983yJWrAzVPwbfaAoul7SR34Yar5Bpo+lhOR+y
cQdd2VdcUSYj0WAOEBIbIyPYQJPfBZOsDUXBgOOerepzN/kSYGblLdKFLK4A+mGY
aRBUMa57uBSBd5HKKcffu8ZKbU/siGK7XpKcWUb6woCYaAfbe30Kcm6JKE0O5Di2
SIi9yULBxc1a99ZQLibw7gqLybxVi73usBExx6rvWh5eq5xC5Juvh8x0aOiVX4IA
tKRciYQTw5/LYNejN69LrTeWVIwfgKidtH+gSHe8p03NkUKh4FNigi6ksb/RnUha
3tVsXefeIm3u1MkkRYy/8tTFNyDvBHTQ589Zt8fUu+DctZ47eIaH/KkwJ/toL45r
HYMmmQpji++yXqpZV0WcKEzpCVI0Qc6jNTl1/21u848YPyIaXXRInyW9keDBEtu/
L7eY95I7YmO0hEoM0rV42s23ey+iH4qr4r2aUAm9VX5J+g3Ded0=
=fOMm
-----END PGP SIGNATURE-----

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

OK, can you show a logcat if there is any error in it?
Is it just renaming that doesn't work or other operations fail as well? (creating and deleting files/folders, editing files, copying, importing...)

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

Here is the logcat:

I/ActivityManager(  901): Start proc 22965:sushi.hardcore.droidfs/u0a251 for activity sushi.hardcore.droidfs/.explorers.ExplorerActivity
D/ScreenBrightnessModeRestore(  901): onForegroundActivitiesChanged pid=22965 mCurrentForceGroundPid=1896 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  901): onForegroundActivitiesChanged pid=1896 mCurrentForceGroundPid=22965 mLastForceGroundPid=-1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
I/Timeline(22965): Timeline: Activity_idle id: android.os.BinderProxy@2b3aa66f time:9212142
W/InputMethodManagerService(  901): Window already focused, ignoring focus gain of: ClientState{1f09cfe0 uid 10251 pid 22965} attribute=null, token = android.os.BinderProxy@13a6c191
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
I/Timeline(22965): Timeline: Activity_idle id: android.os.BinderProxy@dcb85ed time:9237514
I/Timeline(22965): Timeline: Activity_launch_request id:sushi.hardcore.droidfs time:9242478
D/AbsListView(22965):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
D/yuan    (22965): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{2ec20e5a VFED.VC. ......I. 0,0-0,0 #7f0a01d1 app:id/saved_path_listview}
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/yuan    (22965): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{2ec20e5a VFED.VC. ......I. 0,0-0,0 #7f0a01d1 app:id/saved_path_listview}
I/Timeline(22965): Timeline: Activity_idle id: android.os.BinderProxy@1755446f time:9242874
D/yuan    (22965): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{2ec20e5a VFED.VC. ........ 90,260-390,321 #7f0a01d1 app:id/saved_path_listview}
W/IInputConnectionWrapper(22965): showStatusIcon on inactive InputConnection
D/ScreenBrightnessModeRestore(  901): onForegroundActivitiesChanged pid=22965 mCurrentForceGroundPid=23226 mLastForceGroundPid=-1
I/SoftwareLockService2( 1327): onForegroundActivitiesChanged() pid = 22965, uid = 10251, foregroundActivities = false
D/ScreenBrightnessModeRestore(  901): onForegroundActivitiesChanged pid=22965 mCurrentForceGroundPid=22965 mLastForceGroundPid=-1
I/SoftwareLockService2( 1327): onForegroundActivitiesChanged() pid = 22965, uid = 10251, foregroundActivities = true
I/SoftwareLockService( 1327): runAppInfo.pid = 22965
W/InputMethodManagerService(  901): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@2f5ba78d (uid=10251 pid=22965)
W/InputMethodManager(22965): startInputInner : InputBindResult == null
D/yuan    (22965): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{2ec20e5a VFED.VC. ........ 90,260-390,321 #7f0a01d1 app:id/saved_path_listview}
I/Adreno-EGL(22965): <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8916_32_LA.BR.1.1.3.C14__release_AU (Ic4528faa6f)
I/Adreno-EGL(22965): OpenGL ES Shader Compiler Version: E031.25.03.04
I/Adreno-EGL(22965): Build Date: 06/14/16 Tue
I/Adreno-EGL(22965): Local Branch: mybranch20312125
I/Adreno-EGL(22965): Remote Branch: quic/LA.BR.1.1.3.c14_1
I/Adreno-EGL(22965): Local Patches: NONE
I/Adreno-EGL(22965): Reconstruct Branch: NOTHING
I/Adreno Profiler(22965): Using libraries from system partition
I/OpenGLRenderer(22965): Initialized EGL, version 1.4
I/Adreno Profiler(22965): Using libraries from system partition
I/Adreno Profiler(22965): Using libraries from system partition
I/Timeline(22965): Timeline: Activity_idle id: android.os.BinderProxy@1755446f time:9256125
D/ScreenBrightnessModeRestore(  901): onForegroundActivitiesChanged pid=23226 mCurrentForceGroundPid=22965 mLastForceGroundPid=-1
I/VivoWakeLockManager(22965): no wakeLock list
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
I/Timeline(22965): Timeline: Activity_launch_request id:sushi.hardcore.droidfs time:9268301
W/InputMethodManagerService(  901): Window already focused, ignoring focus gain of: ClientState{1f09cfe0 uid 10251 pid 22965} attribute=null, token = android.os.BinderProxy@2a9d772c
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
I/Timeline(22965): Timeline: Activity_idle id: android.os.BinderProxy@3016529f time:9268549
I/ListPopupWindow(22965): Could not find method setEpicenterBounds(Rect) on PopupWindow. Oh well.
D/AbsListView(22965):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/AbsListView(22965):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/AbsListView(22965):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
D/PhoneWindow(22965): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(22965): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(22965): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(22965): CPU Rendering VSync enable = true
V/PowerMonitor( 1805): Name:sushi.hardcore.droidfs, Uid:10251, pid:22965, processTime:9610

I can't see anything specific in it apart from the Permission denial: writing to settings requires android.permission.WRITE_SETTINGS warning, which comes repeatedly. Also can't grant it the permission as when trying to do so I get: Operation not allowed: java.lang.SecurityException: Package sushi.hardcore.droidfs has not requested permission android.permission.WRITE_SETTINGS. Deleting and importing files/folders works fine, the only other thing that has issues is the text editor, trying to save a new file results in it saying save failed. The changes do get saved in the file intended though. By the way let me know if there is any mistakes as I am not an android developer 😄

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

Thanks. Can you send the gocryptfs.conf file of the volume? (you can strip off the "EncryptedKey" and "ScryptObject" fields if you want)
Also, can you rename files inside hidden volumes?
If we can't find where the bug came from, are you okay with me sending you a debug APK?

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

Hello, here is the gocryptfs.conf file (renamed to txt for uploading in github). The rename option does not work in hidden volumes too. Also I had created many test volumes and this happens in all of them, so maybe not specifically related to the volumes created itself?

If we can't find where the bug came from, are you okay with me sending you a debug APK?

What is actually a debug apk? A newly modified apk with test keys?

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

OK that's pretty strange. Do you know what's your file system? Did you installed some security apps that could restrict DroidFS capabilities?
A debug APK is a modified version that logs a lot of information so that we can try to understand where the bug came from.

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

OK that's pretty strange. Do you know what's your file system? Did you installed some security apps that could restrict DroidFS capabilities?

No, I haven't installed anything specific. My sd card is using fat32, don't exactly know about the internal storage.

A debug APK is a modified version that logs a lot of information so that we can try to understand where the bug came from.

OK, please send me the debug apk.

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

You can download the debug APK here. Once installed, reproduce the bug that occurs when renaming a file and send me the logcat. Warning: this will leak the plaintext file paths. You can use a newly created volume if this is a problem. Here is a hash of the APK if you want to verify it before installation:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Here is the SHA256 hash of the debug APK:
6347d35e9436af5e78066366558109ef490f580b20e047a4738928213847655b
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvVYhR557dNNqQFvoAH+EEgEHGR4FAmG5730ACgkQAH+EEgEH
GR4uJA//TKh1Z5sa+i1GRTodJEz8wgG5jx+bbheC8FPyUEZYyU+wOI2HsDbsU6gr
UB6gdUpJ2wBIfWjd0uFHoSGkw7K1zXaVA80gD54ETxwbDPW6rlvAJXsIYgOEw3LE
8QY+RJct4MuFH7R5iPE+2sfP0E00PiH01e8qaXVj+KWZNO56d3a1T/MD3F/FOpDN
/B7CvVBkzBZwqdxkdEsjJmeg/YaBa0p+VYpjRSyNmekKkvD63KjTRywNOu+tmp2G
b66OPRX0gJ5ZaYa3X7qTG4ALGn6PVxGmjy63Utb9C17GTMiHjbKi9rhxooU9FrQF
hXzc2s/28IBlQLwXlTZtPaFYY68mVyUIgKV0GZj0Ojc2+/EqGDx+r50eVleWSbm4
vSTLwA0d8rIijYuLsdJZduJhReExVX/ZtMbwdeTyOuvpzWyLCSHWoOZMHgs+bKed
hIZ6vGbhIB1qYrx4+MRLtmxOZLlCUFjQxzgzMmWqjbbWASNNZ/zmMnkriLE7Ko3w
a1bLLSCFe8m635QcNXgzhH8OKSr+ElNMqEXp3PTPD0Xll0cOGi2CVfWlV/5x4aNV
L27+z/RbND2EBSJilQ56Rlx2vHZMiMd/AwSRAYZ9jDWUEGW2pLwJ2/E+WHi/9A9B
kHpGH0PIh1cc/8K4Fomm/JjBtZsBuQMgqQse0nM22355uZo1qVI=
=tlcg
-----END PGP SIGNATURE-----

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

Hello, please find the new logcats below:
This was created when I tried renaming a file inside a volume in the internal storage.

I/ActivityManager(  884): Start proc 8281:sushi.hardcore.droidfs/u0a304 for activity sushi.hardcore.droidfs/.MainActivity
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8096 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=7906 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8338 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8338 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8338 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
W/InputMethodManagerService(  884): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@1cfec0ce (uid=10304 pid=8281)
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8338 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8338 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8338 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8338 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
W/InputMethodManagerService(  884): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@1cfec0ce (uid=10304 pid=8281)
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8338 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{2bbcc51a uid 10304 pid 8281} attribute=null, token = android.os.BinderProxy@1c2025e2
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{2bbcc51a uid 10304 pid 8281} attribute=null, token = android.os.BinderProxy@15b969b2
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{2bbcc51a uid 10304 pid 8281} attribute=null, token = android.os.BinderProxy@15b969b2
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
W/IInputConnectionWrapper( 8281): showStatusIcon on inactive InputConnection
I/Timeline( 8281): Timeline: Activity_idle id: android.os.BinderProxy@688e0b9 time:16441674
W/IInputConnectionWrapper( 8281): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper( 8281): requestCursorAnchorInfo on inactive InputConnection
W/IInputConnectionWrapper( 8281): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper( 8281): getTextBeforeCursor on inactive InputConnection
D/AbsListView( 8281):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
I/RENAME  ( 8281): native_rename(0, g, test)
I/RENAME  ( 8281): gcf_rename(0, g, test)
I/RENAME  ( 8281): native success: 0
I/RENAME  ( 8281): success: false
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
D/AbsListView( 8281):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
I/RENAME  ( 8281): native_rename(0, g, hhh)
I/RENAME  ( 8281): gcf_rename(0, g, hhh)
I/RENAME  ( 8281): native success: 0
I/RENAME  ( 8281): success: false
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
E/WindowManager( 8281): 
E/WindowManager( 8281): android.view.WindowLeaked: Activity sushi.hardcore.droidfs.explorers.ExplorerActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{1a29d997 V.E..... R....... 0,0-480,279} that was originally added here
E/WindowManager( 8281): 	at android.view.ViewRootImpl.<init>(ViewRootImpl.java:373)
E/WindowManager( 8281): 	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:271)
E/WindowManager( 8281): 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:90)
E/WindowManager( 8281): 	at android.app.Dialog.show(Dialog.java:298)
E/WindowManager( 8281): 	at a7.b.d()
E/WindowManager( 8281): 	at v6.h.T(:2)
E/WindowManager( 8281): 	at v6.b.onClick(:3)
E/WindowManager( 8281): 	at androidx.appcompat.app.AlertController$c.handleMessage()
E/WindowManager( 8281): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/WindowManager( 8281): 	at android.os.Looper.loop(Looper.java:135)
E/WindowManager( 8281): 	at android.app.ActivityThread.main(ActivityThread.java:5425)
E/WindowManager( 8281): 	at java.lang.reflect.Method.invoke(Native Method)
E/WindowManager( 8281): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/WindowManager( 8281): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:928)
E/WindowManager( 8281): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:723)
I/Timeline( 8281): Timeline: Activity_idle id: android.os.BinderProxy@12b7de4f time:16493388
I/Timeline( 8281): Timeline: Activity_idle id: android.os.BinderProxy@12b7de4f time:16567037
I/Timeline( 8281): Timeline: Activity_launch_request id:sushi.hardcore.droidfs time:16568750
D/AbsListView( 8281):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
D/yuan    ( 8281): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{249baeed I.ED.VC. ......I. 0,0-0,0 #7f0a01d1 app:id/saved_path_listview}
D/yuan    ( 8281): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{249baeed I.ED.VC. ......I. 0,0-0,0 #7f0a01d1 app:id/saved_path_listview}
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
D/yuan    ( 8281): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{249baeed I.ED.VC. ......I. 0,0-0,0 #7f0a01d1 app:id/saved_path_listview}
I/Timeline( 8281): Timeline: Activity_idle id: android.os.BinderProxy@30114ce9 time:16568990
W/IInputConnectionWrapper( 8281): showStatusIcon on inactive InputConnection
D/yuan    ( 8281): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{249baeed I.ED.VC. ......I. 15,230-15,230 #7f0a01d1 app:id/saved_path_listview}
I/SoftwareLockService2( 1316): onForegroundActivitiesChanged() pid = 8281, uid = 10304, foregroundActivities = false
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8338 mLastForceGroundPid=-1
I/SoftwareLockService2( 1316): onForegroundActivitiesChanged() pid = 8281, uid = 10304, foregroundActivities = true
I/SoftwareLockService( 1316): runAppInfo.pid = 8281
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8281 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
W/InputMethodManager( 8281): startInputInner : InputBindResult == null
W/InputMethodManagerService(  884): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@1cfec0ce (uid=10304 pid=8281)
D/yuan    ( 8281): onVisibilityChanged----sushi.hardcore.droidfs.widgets.NonScrollableColoredBorderListView{249baeed I.ED.VC. ......I. 15,230-15,230 #7f0a01d1 app:id/saved_path_listview}
I/Adreno-EGL( 8281): <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8916_32_LA.BR.1.1.3.C14__release_AU (Ic4528faa6f)
I/Adreno-EGL( 8281): OpenGL ES Shader Compiler Version: E031.25.03.04
I/Adreno-EGL( 8281): Build Date: 06/14/16 Tue
I/Adreno-EGL( 8281): Local Branch: mybranch20312125
I/Adreno-EGL( 8281): Remote Branch: quic/LA.BR.1.1.3.c14_1
I/Adreno-EGL( 8281): Local Patches: NONE
I/Adreno-EGL( 8281): Reconstruct Branch: NOTHING
I/Adreno Profiler( 8281): Using libraries from system partition
I/OpenGLRenderer( 8281): Initialized EGL, version 1.4
I/Adreno Profiler( 8281): Using libraries from system partition
I/Adreno Profiler( 8281): Using libraries from system partition
I/Timeline( 8281): Timeline: Activity_idle id: android.os.BinderProxy@30114ce9 time:16573306
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=8338 mCurrentForceGroundPid=8281 mLastForceGroundPid=-1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
I/Timeline( 8281): Timeline: Activity_launch_request id:sushi.hardcore.droidfs time:16578043
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{2bbcc51a uid 10304 pid 8281} attribute=null, token = android.os.BinderProxy@3d08bb7f
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
I/Timeline( 8281): Timeline: Activity_idle id: android.os.BinderProxy@1926d04e time:16578241
D/AbsListView( 8281):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
I/RENAME  ( 8281): native_rename(0, g, ghhhhj)
I/RENAME  ( 8281): gcf_rename(0, g, ghhhhj)
I/RENAME  ( 8281): native success: 0
I/RENAME  ( 8281): success: false
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow( 8281): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl( 8281): CPU Rendering VSync enable = true
I/art     ( 8281): Background sticky concurrent mark sweep GC freed 12261(764KB) AllocSpace objects, 0(0B) LOS objects, 2% free, 33MB/34MB, paused 10.927ms total 69.375ms

And this when trying to do the same on the sd card:


I/ActivityManager(  884): Start proc 10696:sushi.hardcore.droidfs/u0a304 for activity sushi.hardcore.droidfs/.MainActivity
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=7304 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=1626 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10752 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
W/InputMethodManagerService(  884): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@14d6d02 (uid=10304 pid=10696)
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10752 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10752 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10752 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{b4846d0 uid 10304 pid 10696} attribute=null, token = android.os.BinderProxy@3a32fffc
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{b4846d0 uid 10304 pid 10696} attribute=null, token = android.os.BinderProxy@3a32fffc
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=1626 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=11106 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10752 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=11236 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10752 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10752 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10752 mLastForceGroundPid=-1
I/SoftwareLockService2( 1316): onForegroundActivitiesChanged() pid = 10696, uid = 10304, foregroundActivities = true
I/SoftwareLockService( 1316): runAppInfo.pid = 10696
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10696 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
I/Adreno-EGL(10696): <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8916_32_LA.BR.1.1.3.C14__release_AU (Ic4528faa6f)
I/Adreno-EGL(10696): OpenGL ES Shader Compiler Version: E031.25.03.04
I/Adreno-EGL(10696): Build Date: 06/14/16 Tue
I/Adreno-EGL(10696): Local Branch: mybranch20312125
I/Adreno-EGL(10696): Remote Branch: quic/LA.BR.1.1.3.c14_1
I/Adreno-EGL(10696): Local Patches: NONE
I/Adreno-EGL(10696): Reconstruct Branch: NOTHING
I/Adreno Profiler(10696): Using libraries from system partition
I/OpenGLRenderer(10696): Initialized EGL, version 1.4
I/Adreno Profiler(10696): Using libraries from system partition
I/Adreno Profiler(10696): Using libraries from system partition
I/Timeline(10696): Timeline: Activity_idle id: android.os.BinderProxy@15f738c time:17945985
D/ScreenBrightnessModeRestore(  884): onForegroundActivitiesChanged pid=10752 mCurrentForceGroundPid=10696 mLastForceGroundPid=-1
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{b4846d0 uid 10304 pid 10696} attribute=null, token = android.os.BinderProxy@3a32fffc
I/Timeline(10696): Timeline: Activity_launch_request id:sushi.hardcore.droidfs time:17960435
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:windowDrawsFlag set
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff262626
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
I/Timeline(10696): Timeline: Activity_idle id: android.os.BinderProxy@1f91db6a time:17960715
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{b4846d0 uid 10304 pid 10696} attribute=null, token = android.os.BinderProxy@3a5045fc
D/AbsListView(10696):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
W/PathParser(10696): Points are too far apart 4.000000596046461
W/InputMethodManagerService(  884): Window already focused, ignoring focus gain of: ClientState{b4846d0 uid 10304 pid 10696} attribute=null, token = android.os.BinderProxy@3a5045fc
D/AbsListView(10696):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
I/art     (10696): Background sticky concurrent mark sweep GC freed 91889(6MB) AllocSpace objects, 0(0B) LOS objects, 19% free, 27MB/33MB, paused 24.677ms total 105.002ms
D/AbsListView(10696):  Exception java.lang.SecurityException: Permission denial: writing to settings requires android.permission.WRITE_SETTINGS
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(10696): CPU Rendering VSync enable = true
I/RENAME  (10696): native_rename(0, hhjj, jkll)
I/RENAME  (10696): gcf_rename(0, hhjj, jkll)
I/RENAME  (10696): native success: 0
I/RENAME  (10696): success: false
D/PhoneWindow(10696): DEBUG_SYSTEMUI:origin statusbar style 
D/PhoneWindow(10696): DEBUG_SYSTEMUI:IconColor=1
D/PhoneWindow(10696): DEBUG_SYSTEMUI:StatusBarColor final set ff000000
I/ViewRootImpl(10696): CPU Rendering VSync enable = true

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

I am running kernel 3.10.49-gfd3dec819. The device has a 64bit Qualcomm Snapdragon 410 MSM8916 Soc, with armeabi-v7a abi.
Output of mount:


rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=450256k,nr_inodes=112564,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=450256k,nr_inodes=112564,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=450256k,nr_inodes=112564,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=450256k,nr_inodes=112564,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0
/dev/block/bootdevice/by-name/oem /oem ext4 ro,seclabel,relatime,discard,data=ordered 0 0
/dev/block/bootdevice/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/dev/block/bootdevice/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/fuse /storage/uicc0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /mnt/shell/emulated/0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

Oh I found why it doesn't work. From the man page of rename:

VERSIONS
       renameat()  was  added  to  Linux in kernel 2.6.16; library support was
       added to glibc in version 2.4.

       renameat2() was added to Linux in  kernel  3.15;  library  support  was
       added in glibc 2.28.

The use of renameat2 is hardcoded in gocryptfs. I will patch libgocryptfs to use renameat instead.

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

Confirmed working. What about the text editor bug, should I open a new issue separately for that? Kudos to you for your work 😃

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

Confirmed working. Awesome job 👍

from droidfs.

Spectrum75 avatar Spectrum75 commented on June 15, 2024

Will these patches be merged in the next release?

from droidfs.

hardcore-sushi avatar hardcore-sushi commented on June 15, 2024

Yes of course, here is the patch in libgocryptfs.
The next DroidFS release should not have these 2 bugs anymore.

from droidfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.