The permissions are currently mike:mike, and I want them to be www-data:www-data.
Code: Select all
mike@Jupiter-VirtualBox:/media/mike$ sudo chown www-data:www-data 'USB DRIVE 2'
chown: changing ownership of 'USB DRIVE 2': Operation not permitted
Code: Select all
Disk /dev/sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk model: UDisk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0a9f6b05
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 61439999 61439936 29.3G c W95 FAT32 (LBA)