I formatted my flash drive with GParted and gave it a 32GB FAT32 filesystem. Now, I can only write to it as root! I have tried running the command sudo chown $USER:$USER -R /media/usb0/
, but I get an Operation not permitted error, which is weird because I ran that command as root. ls -la /media/usb0/
gives
total 20
drwxr-xr-x 2 root root 16384 Dec 31 1969 .
drwxr-xr-x 6 root root 4096 Nov 8 08:22 ..
sudo fdisk -l /dev/sdb1 gives Disk /dev/sdb1: 29.8 GiB, 32004636672 bytes, 62509056 sectors 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: 0x0009e87d
Device Boot Start End Sectors Size Id Type /dev/sdb1p1 ? 3223366752 3470046675 246679924 117.6G f4 SpeedStor /dev/sdb1p2 ? 378192737 710426324 332233588 158.4G 10 OPUS /dev/sdb1p3 ? 225603442 225603451 10 5K 74 unknown
Partition table entries are not in disk order.
cat /etc/fstab gives /etc/fstab: static file system information. Use 'blkid' to print the universally unique identifier for a
device; this may be used with UUID= as a more robust way to name devices
that works even if disks are added and removed. See fstab(5).
#
/ was on /dev/sda1 during installation
UUID=f4b26011-2e69-4f2f-94c5-151e750d615d / ext4 errors=remount-ro 0 1
swap was on /dev/sda5 during installation
UUID=4dfce2fd-fad5-4aaa-bebe-bc8500b6f3e6 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sr1 /media/cdrom1 udf,iso9660 user,noauto 0 0 /dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
ls -la /media/usb0/
say?