{
inode->ops = &devfs_inode_ops;
inode->default_fops = &devfs_file_ops;
+
+ // we set default access right to be 0775.
+ // TODO need a way to allow this to be changed
+
+ fsapi_inode_setaccess(inode, FSACL_DEFAULT);
+ fsapi_inode_setowner(inode, 0, 0);
}
int