How do I change the group association for /media/hdd? None of the usual linux commands can change it. I was hoping for a /media/usb but got
/media/hdd.
Okay, you have two things going on here. The first is the HTTPS which I confirm to work at least on my setup. You may get anyone to test it by simply selecting the HTTPS setting in openwebif menu, saving it, then exiting the menu. Upon returning, it should still be there: HTTPS = yes or on.
Your HTTPS problem is most likely a restore where you brought files up from a previous version and they are incompatible. Flush the system. Backup your current image for a restore point, Then Flash TNAP 6 again. Watch the flash and Do Not allow anything to restore. The check for proper HTTPS operation. If you still have problems then we will try something else, but most likely an incompatible restored file is the culprit.
On the
/media/hdd issue:
The /media/hdd name is automatic. For ext4 filesystems, normal chown/chgrp commands work fine. . For vfat filesystems, ownership is determined at mount time and cannot be changed with chown/chgrp. Simple enough I guess.
Looking at the mount script line 171:
LABEL=${ID_FS_LABEL} The filesystem label takes priority! If the drive has a label, it uses that as the mount point name. It is that simple, and I do not want to change that else other users will be disturbed.
The filesystem label takes priority! If the drive has a label, it uses that as the mount point name. Most likely, the drive is mounting as
/media/hdd because it was named it "hdd" when formatting, not because of hardware detection!
The hdd name Solution:
To change /media/hdd to /media/usb (or anything else):
Relabel the filesystem. The command depends on the filesystem type. Some examples:
For ext4:
e2label /dev/sda1 usb
For vfat/fat:
fatlabel /dev/sda1 usb
For exfat:
exfatlabel /dev/sda1 usb
For ntfs:
ntfslabel /dev/sda1 usb
After relabeling, unmount and remount (or reboot), and it should mount as /media/usb instead of /media/hdd.
Carefully examine and check your hdd issue. I think one of the above steps will relabel it.
Again, the system is doing what it is supposed to (or at least appears to be). Here is my output of /media:
root@sf8008:~# ls -la /media/
drwxrwxrwt 4 root root 80 Nov 21 22:12 .
drwxr-xr-x 15 root root 4096 Dec 31 1969 ..
drwxr-xr-x 3 root root 60 Nov 21 22:12 net
drwxr-xr-x 45 root root 4096 Nov 21 22:13
usb
root@sf8008:~#