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

$HOME symlinked to /storage/sdcard1/droidvim/home ? #14

Closed
philiprhoades opened this issue May 9, 2018 · 4 comments
Closed

$HOME symlinked to /storage/sdcard1/droidvim/home ? #14

philiprhoades opened this issue May 9, 2018 · 4 comments

Comments

@philiprhoades
Copy link

People,

I want to so the above but I get errors on editing .vimrc and other files - I presume because of ownership permissions. However chowning and chmoding doesn't work . .

Is there a solution?

Thanks,
Phil.

@shiftrot
Copy link
Owner

  1. Normal SD cards are not formatted for Linux. Therefore chmod does not work.
  2. For security reasons, access to files on the SD card is only allowed via "Storage" button (Android API).

On some devices, you can access files on the SD card directly from DroidVim. But that is exceptional behavior.

@philiprhoades
Copy link
Author

@shiftrot
Ah yes . . I see - is it possible to format the SD partition as ext4?
The Storage Button idea is a bit of a pain though - I want to edit any text file I want on any partitions - directly . . like I can with the editor in the X-Plore File Manager and other FMs.
What do you mean "security reasons"? - how can I enable this "exceptional behaviour".
Thanks,
Phil.

@shiftrot
Copy link
Owner

Ah yes . . I see - is it possible to format the SD partition as ext4?

Android does not support ext4 formatted SD card.

The Storage Button idea is a bit of a pain though - I want to edit any text file I want on any partitions - directly . . like I can with the editor in the X-Plore File Manager and other FMs.

If you want a filer like X-Plore FM, please use DroidVim via X-Plore FM.
Incidentally, X-Plore File Manager (and many FMs) can not access SD card on Android 8.x.
However, because the "storage" button uses the Android standard framework, it works with all versions of Android.

What do you mean "security reasons"?

Ask Google.

how can I enable this "exceptional behaviour".

Root Android or get an Android device that supports Adoptable storage. However, I do not guarantee that it will work.
It would be better to get an Android device with large internal storage.

@philiprhoades
Copy link
Author

@shiftrot ,

Things developed a little from you last post!:

  1. I took your advice and stopped using link2SD and reformatted the SD card as Adoptable storage - this substantially solved my problems
  2. Then the phone itself started playing up - I am pretty convinced it is the USB connector for charging again - I had to replace that little board a few years ago . .
  3. Because of Open 2 Dropbox files simultaneously #2 I had to get another phone (Google Pixel 2XL) - it was the biggest I could get with Google (because of its more sympathetic position to rooting etc)
  4. Now I have a different problem with DroidVim but I will start another issue for that . .

Thanks!
Phil.

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

No branches or pull requests

2 participants