What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Root owns my downloads folder :-(

makem

Occasional Visitor
RT-68U; 380.58_0 firmware; share created: USB Application - Network Place (Samba) Share / Cloud Disk in name of router admin and another in nickname makem, both passworded and given write permission.

Router has a 64GB HORUI metalbox USB attached which is formatted Fat32. It has also been formatted with ext4 with same result: unable to open a folder created whilst connected to the pc and unable to make a folder whilst connected to the router. The USB is sda1.

Permissions show root:root. CHOWN -R makem:makem sda1 appears in putty to make the change to sda1 and the folder in it. However, from xubuntu via Samba, the permissions remain root:root. I have also set CHMOD 0777 on sda1

I remember using a USB on my previous Asus router quite easily but at that time I was using Windows. I am wondering if the problem is Linux related due to stringent permissions which I cannot fathom.
 
It's because the software in the router runs as root, for all tasks at the OS level...

Not the best design in the world, agreed, but since samba runs as root, it auths against the samba user accounting (if configured).
 
It's because the software in the router runs as root, for all tasks at the OS level...

Not the best design in the world, agreed, but since samba runs as root, it auths against the samba user accounting (if configured).

You lost me at, "it auths against the samba user accounting (if configured)"

Can you elaborate for me?
 
Similar threads
Thread starter Title Forum Replies Date
tallytr Solved iPv6 issue, slow downloads Asuswrt-Merlin 36

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top