Re: mount

Pàgina inicial

Reply to this message
Autor: Olivier Allard-Jacquin
Data:  
A: Linux38
Assumpte: Re: mount
    Bonsoir Patrick,

Patrick Dupre a écrit :
> Bonjour,
>
> Dans /etc/fstab, j'ai:
> /dev/fd0         /mnt/floppy            auto    noauto,user,owner 0 0

>
> Lorsqu'un utilisateur mais un mount /mnt/floppy en utilisant
> sudo, le mount s'effectue avec les droits root:
> -rwxr-xr-x 1 root root
>
> Comment je pourrais avoir comme owner l'utilisateur ?


    Rajoute ",umask=0" après le "owner". Puis démonte le floppy en temps 
que root, et remonte-le en temps qu'utilisateur.


> Merci.


    De rien.


                        Olivier


-- 
~~~~~~~  _____/\_____  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phoenix /   _ \/ _   \    Olivier Allard-Jacquin
       /   / \  / \   \   Web:  http://olivieraj.free.fr/
      /___/  /  \  \___\  Mail: olivieraj@???
~~~~ /////  ///\\\  \\\\\ ~~~~~~~~~~~~~~~~~~~~~~~ Linux Powered !!