On 1/1/19 11:53 PM, Otto Moerbeek wrote:
On Tue, Jan 01, 2019 at 07:25:14PM -0700, myml...@gmx.com wrote:I just did a new install of current AMD64 from the 12/31/2018 snapshot and having some permission issues mounting a usb drive, as root. I have been able to mount other usb drives just fine. (Also tried with the 12/29 snapshots as well, same issue) #disklabel sd4 # /dev/rsd4c: type: SCSI disk: SCSI disk label: Survivor 3.0 duid: 70568afde7f5a241 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 15542 total sectors: 249692160 boundstart: 64 boundend: 249682230 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 249682144 64 4.2BSD 2048 16384 12958 c: 249692160 0 unused curry:/root:#mount -v /dev/sd4a /mnt/usb0 mount_ffs: /dev/sd4a on /mnt/usb0: Permission denied I don't see any kind of messages in the logs related to the error.device r/o switch is set to r/o? /mnt/usb0 is r/o? If that's not it, please ktrace the command and show kdump -Otto
Hi Otto,There is no hw switch on this usb drive, I'm not sure why it's showing up as read only.
I attached a ktrace for both the disklabel command as well as an ls on the drive after I was able to mount it read only.
Thanks, Thomas
ktrace-ls-mounted-ro.out
Description: Binary data
ktrace-disklabel.out
Description: Binary data