VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (976 - 978 of 16363)

Ticket Resolution Summary Owner Reporter
#18739 duplicate Virtual box crashes MacOS mufoiroush
Description

I change the default video memory from 16mb to 24mb and during VM boot my macbook pro crashes. The fan made some noise and the computer shuts down. This happens with CentOS and Ubuntu.

#18738 obsolete Virtual box crashes MacOS mufoiroush
Description

I change the default video memory from 16mb to 24mb and during VM boot my macbook pro crashes. The fan made some noise and the computer shuts down. This happens with CentOS and Ubuntu.

#18737 fixed Linux guests: open(filename, O_CREAT|..., mode) fails inside shared folder => fixed in SVN/6.0.x x>10 BP jamesba
Description

The following C code produces a simple executable which will attempt to create and open a read only test file in a single operation.

Expected behaviour when run:

  • A newly created file called test.txt is created on disk with read only permissions
  • A read-write file-handle for the file is returned by the open call
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>

int main() {
  int fd = open("test.txt", O_CREAT | O_EXCL | O_RDWR, 0444);

  if (fd < 0) {
    perror("Could not create file: ");
    return -fd;
  }

  return 0;
}

When run on other file systems this works correctly but when run on a virtualbox shared folder the file is created correctly but the program exits with the error message:

Could not create file: : Permission denied

This can be bypassed by running the command with sudo, in which case it succeeds normally.

This is not a purely hypothetical problem, since the same error occurs when attempting to use any programme that makes this system call, such as a git clone.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy