I have a 2013 Nexus 7 that I'm trying to use to replace my laptop. I recently installed Linux Deploy and am running the testing distribution of Debian on the device. I've installed all my productivity suite, and things are so close to perfect. I have one small problem I'm hoping you can help with.
I have a few files, such as emacs org-mode agenda files, that I sync with Dropbox. I recently installed DropSync to download those files and keep them up to date on my device. DropSync allows 2-way synchronization, so editing them on my device should update them in Dropbox. I've set up a symlink to my DropSync'd folders to make it easier to access those files. Currently they are all stored in
/storage/emulated/0/Dropbox, with the symlink in my home directory created with
ln -s /mnt/0/Dropbox, because
/mnt/0 is the mount point for
/storage/emulated/0 from my Android fs.
The problem comes when I try to edit the files. Unless I use the
sudo command in my Debian install, I only have read access to the files. When I run
ls -l on a directory, I get the following:
-rw-rw----. 1 root aid_sdcard_r 0 Sep 3 12:46 filename.example -rw-rw----. 1 root aid_sdcard_r 242 Sep 3 12:46 filename2.example
I've tried running
chmod, but none of the permissions seem to change. is there a way I can permanently change the file permissions in directories I am syncing, so that I don't have to use
sudo to edit the files?
The results of
mount for the mount point of
/dev/loop15 on / type ext4 (rw,seclabel,relatime) proc on /proc type proc (rw,relatime) sys on /sys type sysfs (rw,seclabel,relatime) selinuxfs on /sys/fs/selinux (ro,relatime) tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mod=755) devpts on /dev/pts type devpts (rw,seclabel,relatime,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,seclabel,relatime) /dev/fuse on /mnt/0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
mount in Android Terminal Emulator are extremely long. The one referring to
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
My username for the Debian instance is