I think would be better to use bitorrent sync instead... I read that it is faster than owncloud....
Did you already install it in ddwrt?
I download all versions from getsync.com
when I try to run it says: permission denied to all versions but "BitTorrent-Sync_arm"... for this one it returns:
thanks for keeping on trying and posting all code lines.
I am currently stuck at a similar point: my attached USB partitions being NTFS work fine; apart from not letting me execute .SH files (which I'd need to install Entware.
Ergo, I am doing a massive reading of permission handling etc. while mounting NTFS partitions.
My contribution to your thread here:
during uncountable umounts & mounts (Kong Kernel 4.4.39 b31xxx on Broadcom Asus rt-ac68u) I can confirm
mounting a USB flash (aka USB stick) NTFS partition:
Code:
NO - mount > invalid argument
NO - mount -t ntfs-3g > no such device
If it still fails, try mounting it via /etc/fstab by placing the following in the startup script.
Code:
sleep 60
mkdir -p /tmp/mnt/sda1
cp /etc/fstab /tmp/fstab
echo "/dev/sda1 /tmp/mnt/sda1 ntfs guest,dmask=027,fmask=022 0 0" >> /tmp/fstab
mount --bind /tmp/fstab /etc/fstab
mount -a
If that doesn't work, try this instead.
Code:
sleep 60
mkdir -p /tmp/mnt/sda1
cp /etc/fstab /tmp/fstab
echo "UUID=90C4A0E5C4A0CEB2 /tmp/mnt/sda1 ntfs guest,dmask=027,fmask=022 0 0" >> /tmp/fstab
mount --bind /tmp/fstab /etc/fstab
mount -a
I based the UUID on your dump of /dev/sda1.
I threw in “guest” as an example too. Again, any authentication requirements would have to be included.
and
marteline wrote:
these commands create the directory in tmp/mnt with the correct permissions but don't associate my storage with this directory...
Second finding on my above stated quest with above detailed HW and FW on FSTAB and PERMISSIONS (again: as dd-wrt is continuously developed, nota been my type and version of FW):
- fstab (/lib/modules/4.4.39) is READONLY
-- presumably as it carries the /dev/root permissions?
-- if presumption correct > to presume the folder is READONLY too as otherwise with a bind one could easily a) set free all access to your device for anyone and b) (help to) mess up your router ?
Nota bene 2: this presumption comes from working via Mac > Terminal > Telnet > @root on my router.