ata: provide /dev/cdrom* as o=r

This commit is contained in:
K. Lange 2018-12-27 21:15:23 +09:00
parent 7401c1000d
commit cf073fa36f

View File

@ -287,7 +287,7 @@ static fs_node_t * atapi_device_create(struct ata_device * device) {
fnode->device = device; fnode->device = device;
fnode->uid = 0; fnode->uid = 0;
fnode->gid = 0; fnode->gid = 0;
fnode->mask = 0660; fnode->mask = 0664;
fnode->length = atapi_max_offset(device); fnode->length = atapi_max_offset(device);
fnode->flags = FS_BLOCKDEVICE; fnode->flags = FS_BLOCKDEVICE;
fnode->read = read_atapi; fnode->read = read_atapi;