Having found no mention of Google's Chrome OS in the rsync archives, nor any useful* pointers via Google, I'm wondering if anyone here knows of an implementation of rsync client for Chrome OS in normal (not developer) mode, i.e. as an app or extension. * It seems that rsync is available in "test" builds of Chrome OS, but not in normal release builds. As far as I can tell, installing a "test" build requires putting the device in Developer Mode, which requires doing a "powerwash," which wipes local storage -- totally defeating the purpose of installing rsync in the first place. * rsync is available in Termux, but presumably would only have access to the Termux container, not to the user's Chrome OS configuration or files.
On Sat, Jan 5, 2019 at 9:54 PM Perry Hutchison via rsync <rsync at lists.samba.org> wrote:> Having found no mention of Google's Chrome OS in the rsync archives, > nor any useful* pointers via Google, I'm wondering if anyone here > knows of an implementation of rsync client for Chrome OS in normal > (not developer) mode, i.e. as an app or extension.Have you tried compiling rsync statically (on a non-Chrome OS system) and seeing if it will run on Chrome OS? Linux is Linux, after all. If you don't want to compile the static binary yourself, you could try searching for a prebuilt binary. For example, I found the following, but I cannot vouch for its trustworthiness. https://github.com/static-linux/static-binaries-i386 (I also don't know if you can even run any third-party binary executables on Chrome OS if you are not in developer mode.) Cheers, Parke
Parke <parke.nexus at gmail.com> wrote:> On Sat, Jan 5, 2019 at 9:54 PM Perry Hutchison via rsync > <rsync at lists.samba.org> wrote: > > ... I'm wondering if anyone here > > knows of an implementation of rsync client for Chrome OS in normal > > (not developer) mode, i.e. as an app or extension. > > Have you tried compiling rsync statically (on a non-Chrome OS system) > and seeing if it will run on Chrome OS? Linux is Linux, after all. > ... > (I also don't know if you can even run any third-party binary > executables on Chrome OS if you are not in developer mode.)I very much doubt that Chrome OS would make this possible, given its focus on security. (If it _were_ possible to exec a user-supplied file in normal mode, one could do all sorts of interesting things with executable shell scripts -- like setting DISPLAY to point to some other machine.) While it would certainly be possible to import a blob that happened to be a binary for some CPU type (into, say, the Downloads directory), without developer mode there is no chmod command and thus no way to mark that binary as executable. Also, I suspect that user-accessible filesystems are mounted no-exec. I suspect what I'm looking for is a reimplementation of rsync (or a useful subset, e.g. I doubt I need ACL support) in Java.