VirtualBox

Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   -  
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour, pour des besoins, je dois utiliser linux avec virtualbox sur mon système windows, je voudrais savoir si je l'installe au lieu de simplement l'essayer, ça va changer quelque chose sur mon pc, je veux dire par là par exemple, deux OS sur un seul pc ou alors pour utiliser linux, il faudra tout le temps lancer virtualbox donc pas d'inquiétude et est-ce qu'à chaque fois que je relancera linux, il sera là où je l'ai laissé la dernière fois avec tout les logiciels?

32 réponses

Neliel Messages postés 6146 Date d'inscription   Statut Contributeur Dernière intervention   1 693
 
En sommes, tu ne peux pas modifier les droits de tous /home. Et d'après ce que je viens de lire (ma connaissance de linux étant très réduite), il n'est pas prudent de modifier des droits si haut dans l'arborescence.
1
Neliel Messages postés 6146 Date d'inscription   Statut Contributeur Dernière intervention   1 693
 
Bonjour,

Avec Virtual Box, aucun soucis, il installera Linux sur un Disque Dur Virtuel (en fait un simple fichier sur Windows). Il sera nécessaire de démarrer Windows puis Virtual Box pour pouvoir démarrer Linux.
0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
C'est ce que je cherche, merci. :)
0
jalobservateur Messages postés 7372 Date d'inscription   Statut Contributeur sécurité Dernière intervention   930
 
Salut, puis afin d'avoir en plein écran Linux, installes les additions invités avec Virtualbox, c'est plus plaisant :)
https://www.commentcamarche.net/faq/7576-virtualbox-installer-les-additions-client-dans-ubuntu
http://www.videonoob.fr/tutoriel-virtualbox.html vidéos...
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
_tomy_ Messages postés 1278 Date d'inscription   Statut Contributeur Dernière intervention   28
 
Installer virtualbox :
https://www.commentcamarche.net/faq/9376-virtualbox-tester-des-os-comme-des-logiciels-tutoriel-kubuntu

Installer les addition client :
https://www.commentcamarche.net/faq/7576-virtualbox-installer-les-additions-client-dans-ubuntu

C'est la même chose que pour Linux sur la première capture ensuite normalement Windows demande la confirmation d'installation pour les Addition clients, sinon c'est dans Démarrer / Ordinateur / Virtualbox Addition Client...., double clic et suivre les indications.


Partage de fichier :
https://www.commentcamarche.net/faq/21387-virtualbox-partage-d-un-dossier-windows-sous-un-hote-ubuntu
0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
Voilà j'ai installé les additions client et c'est vrai que c'est mieux en grand écran xD

J'ai un problème, apparemment, je n'ai pas les permissions pour pouvoir créer un répertoire donc j'ai voulu chmoder mais il s'avère que je n'ai pas les permissions, j'ai fais la commande sudo -s mais ça n'a rien changé, comment ça se fait?

Je voulais chmoder mon répertoire home en 775 et je me trouvais dans le répertoire root@utilisateur-desktop:/# donc j'ai tapé la commande chmod -R 775 home/
0
Neliel Messages postés 6146 Date d'inscription   Statut Contributeur Dernière intervention   1 693
 
En root, il te refuse les droits ? C'est bizarre...
0
Neliel Messages postés 6146 Date d'inscription   Statut Contributeur Dernière intervention   1 693
 
Non, ce n'est pas comme ça...

Tu n'es pas à la racine, tu es déjà dans Home.
Il faut faire chmod -R 775 /home

0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
Voilà mon terminal:

utilisateur@utilisateur-desktop:~$ sudo -s
root@utilisateur-desktop:~# cd ..
root@utilisateur-desktop:/home# cd ..
root@utilisateur-desktop:/# chmod -R 775 home/
chmod: ne peut accéder `home/utilisateur/.gvfs': Permission non accordée
root@utilisateur-desktop:/# 
0
Neliel Messages postés 6146 Date d'inscription   Statut Contributeur Dernière intervention   1 693
 
Autant pour moi... ça fait longtemps que je n'ai pas fait de Linux...

utilise plutôt la commande sudo su pour passer en mode root.
0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
Ca ne fonctionne toujours pas, je n'ai pas la permission :/

utilisateur@utilisateur-desktop:~$ sudo su
root@utilisateur-desktop:/home/aurelien# cd ..
root@utilisateur-desktop:/home# cd ..
root@utilisateur-desktop:/# chmod -R 775 home/
chmod: ne peut accéder `home/utilisateur/.gvfs': Permission non accordée
root@utilisateur-desktop:/# 
0
tibobo_77 Messages postés 1358 Date d'inscription   Statut Membre Dernière intervention   263
 
root@utilisateur-desktop:/# chmod -R 775 home/

N'est pas bon, fait comme dit plus haut :
root@utilisateur-desktop:/# chmod -R 775 /home


@+
0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
Ca ne fonctionne pas :/
0
tibobo_77 Messages postés 1358 Date d'inscription   Statut Membre Dernière intervention   263
 
et un
sudo chmod -R 775 /home/utilisateur/.gvfs

directement?

(c'est quand même particulièrement bizard...)
0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
root@utilisateur-desktop:/# sudo chmod -R 775 /home/utilisateur/.gvfs
chmod: ne peut accéder `/home/utilisateur/.gvfs': Permission non accordée
0
Neliel Messages postés 6146 Date d'inscription   Statut Contributeur Dernière intervention   1 693
 
essaie de faire

chmod -R 775 /home --exclude='.gvfs'

(J'ai vu ça sur un forum Ubuntu mais j'ignore si l'option include fonctionne avec chmod)
0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
root@utilisateur-desktop:/# chmod -R 775 /home --exclude='.gvfs' 
chmod: option non reconnue '--exclude=.gvfs'
Pour en savoir davantage, faites: « chmod --help ».


Un peu compliqué quand même linux :/
0
Neliel Messages postés 6146 Date d'inscription   Statut Contributeur Dernière intervention   1 693
 
En fait, d'après ce que j'ai vu, tu ne peux pas toucher à .gvfs...
Fais voir un chmod --help ou man chmod pour voir si tu as une option d'exclusion.
0
tibobo_77 Messages postés 1358 Date d'inscription   Statut Membre Dernière intervention   263
 
root@utilisateur-desktop:/# sudo chmod -Rf 775 /home/


Ça devrait ignorer l'erreur, je vais voir ce qu'est drôle de dossier.

Gnome Virtual File System
https://fr.wikipedia.org/wiki/GVFS

C'est normal qu'on ne puisse y toucher sous session gnome :p
0
Absot Messages postés 777 Date d'inscription   Statut Membre Dernière intervention   44
 
chmod --help
Usage: chmod [OPTION]... MODE[,MODE]... FICHIER...
   ou: chmod [OPTION]... MODE-OCTAL FICHIER
   ou: chmod [OPTION]... --reference=FICHIER-R FICHIER
Changer le mode de chaque fichier selon le MODE choisi.

  -c, --changes           identique à verbose mais rapporte seulement les changements lorsqu'ils ont lieu
      --no-preserve-root  ne pas traiter `/' de manière spéciale (par défaut)
      --preserve-root     bloquer le traitement récursif sur `/'
  -f, --silent, --quiet   supprimer la plupart des messages d'erreur
  -v, --verbose           produire un diagnostic pour chaque fichier traité
      --reference=FICHIER utiliser les modes d'accès du FICHIER de référence
                          au lieu de valeurs
  -R, --recursive         modifier récursivement fichiers et répertoires
      --help      afficher l'aide-mémoire
      --version   afficher le nom et la version du logiciel

Chaque MODE a la forme `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.

Signaler chmod bugs à bug-coreutils@gnu.org
GNU coreutils page d'accueil : <http://www.gnu.org/software/coreutils/>
L'aide générale sur un logiciel GNU : <http://www.gnu.org/gethelp/>
Rapporter chmod les erreurs de traduction à <http://translationproject.org/team/>


man chmod
CHMOD(1)                         User Commands                        CHMOD(1)

NAME
       chmod - change file mode bits

SYNOPSIS
       chmod [OPTION]... MODE[,MODE]... FILE...
       chmod [OPTION]... OCTAL-MODE FILE...
       chmod [OPTION]... --reference=RFILE FILE...

DESCRIPTION
       This manual page documents the GNU version of chmod.  chmod changes the
       file mode bits of each given file  according  to  mode,  which  can  be
       either a symbolic representation of changes to make, or an octal number
       representing the bit pattern for the new mode bits.

       The format of a symbolic mode is  [ugoa...][[+-=][perms...]...],  where
       perms  is  either zero or more letters from the set rwxXst, or a single
       letter from the set ugo.  Multiple symbolic modes can be  given,  sepa&#8208;
       rated by commas.

       A  combination  of the letters ugoa controls which users' access to the
       file will be changed: the user who owns it  (u),  other  users  in  the
       file's group (g), other users not in the file's group (o), or all users
       (a).  If none of these are given, the effect is as if a were given, but
       bits that are set in the umask are not affected.

       The  operator  +  causes the selected file mode bits to be added to the
       existing file mode bits of each file; - causes them to be removed;  and
       =  causes  them  to  be added and causes unmentioned bits to be removed
       except that a directory's unmentioned set user and group  ID  bits  are
       not affected.

       The  letters  rwxXst select file mode bits for the affected users: read
       (r), write (w), execute (or search for directories) (x), execute/search
       only  if  the file is a directory or already has execute permission for
       some user (X), set user or group ID on execution (s), restricted  dele&#8208;
       tion  flag or sticky bit (t).  Instead of one or more of these letters,
       you can specify exactly one of the letters ugo: the permissions granted
       to  the  user  who  owns the file (u), the permissions granted to other
       users who are members of the file's  group  (g),  and  the  permissions
       granted  to  users  that are in neither of the two preceding categories
       (o).

        A numeric mode is from one to  four  octal  digits  (0-7),  derived  by
       adding up the bits with values 4, 2, and 1.  Omitted digits are assumed
       to be leading zeros.  The first digit selects the set user ID  (4)  and
       set group ID (2) and restricted deletion or sticky (1) attributes.  The
       second digit selects permissions for the user who owns the  file:  read
       (4),  write  (2),  and  execute  (1); the third selects permissions for
       other users in the file's group, with the same values; and  the  fourth
       for other users not in the file's group, with the same values.

       chmod never changes the permissions of symbolic links; the chmod system
       call cannot change their permissions.  This is not a problem since  the
       permissions  of  symbolic links are never used.  However, for each sym&#8208;
       bolic link listed on the command line, chmod changes the permissions of
       the pointed-to file.  In contrast, chmod ignores symbolic links encoun&#8208;
       tered during recursive directory traversals.

       SETUID AND SETGID BITS
       chmod clears the set-group-ID bit of a regular file if the file's group
       ID  does  not  match the user's effective group ID or one of the user's
       supplementary group IDs, unless the user  has  appropriate  privileges.
       Additional restrictions may cause the set-user-ID and set-group-ID bits
       of MODE or RFILE to be ignored.  This behavior depends  on  the  policy
       and  functionality of the underlying chmod system call.  When in doubt,
       check the underlying system behavior.

       chmod preserves a directory's set-user-ID and set-group-ID bits  unless
       you  explicitly  specify otherwise.  You can set or clear the bits with
       symbolic modes like u+s and g-s, and you can set (but  not  clear)  the
       bits with a numeric mode.

RESTRICTED DELETION FLAG OR STICKY BIT
       The  restricted  deletion  flag  or  sticky  bit is a single bit, whose
       interpretation depends on the file type.  For directories, it  prevents
       unprivileged  users  from  removing or renaming a file in the directory
       unless they  own  the  file  or  the  directory;  this  is  called  the
       restricted  deletion  flag  for the directory, and is commonly found on
       world-writable directories like /tmp.  For regular files on some  older
       systems,  the  bit saves the program's text image on the swap device so
       it will load more quickly when run; this is called the sticky bit.

OPTIONS
       Change the mode of each FILE to MODE.

       -c, --changes
              like verbose but report only when a change is made

       --no-preserve-root
              do not treat `/' specially (the default)

       --preserve-root
              fail to operate recursively on `/'

       -f, --silent, --quiet
              suppress most error messages

       -v, --verbose
              output a diagnostic for every file processed

       --reference=RFILE
              use RFILE's mode instead of MODE values

-R, --recursive
              change files and directories recursively

       --help display this help and exit

       --version
              output version information and exit

       Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.

AUTHOR
       Written by David MacKenzie and Jim Meyering.

REPORTING BUGS
       Report chmod bugs to bug-coreutils@gnu.org
       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
       General help using GNU software: <http://www.gnu.org/gethelp/>

COPYRIGHT
       Copyright © 2009 Free Software Foundation, Inc.   License  GPLv3+:  GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
       This  is  free  software:  you  are free to change and redistribute it.
       There is NO WARRANTY, to the extent permitted by law.

SEE ALSO
       chmod(2)

       The full documentation for chmod is maintained as a Texinfo manual.  If
       the  info  and  chmod programs are properly installed at your site, the
       command

              info coreutils 'chmod invocation'

       should give you access to the complete manual.

GNU coreutils 7.4                October 2009                         CHMOD(1)






0