Pagina 2 di 2 primaprima 1 2
Visualizzazione dei risultati da 11 a 19 su 19
  1. #11
    Come vedi la scrittura non funziona con un profilo diverso dal superuser:

    codice:
    root@giuseppe-laptop:/# mount -t vfat -o user,noauto,nosuid,rw,umask=000 /dev/mmcblk0p1 /mnt/mmc
    root@giuseppe-laptop:/# ls -l /mnt
    totale 24
    drwxr-xr-x 3 root root  4096 2007-06-26 19:03 loop
    drwxrwxrwx 2 root root 16384 1970-01-01 01:00 mmc
    drwxr-xr-x 2 root root  4096 2007-06-27 09:38 tmp
    root@giuseppe-laptop:/# exit
    exit
    giuseppe@giuseppe-laptop:~$ mkdir /mnt/mmc/prova
    mkdir: impossibile creare la directory `/mnt/mmc/prova': File system in sola lettura
    Giuseppe SPECCHIO

  2. #12
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    una cosa per curiosità, una volta che monti la partizione con tutte le varie opzioni, controlla che esse risultino anche lanciando mount

    oppure potresti provare ad aggirare il problema cambiando l'user proprietario della directory /mnt/mmc

    codice:
    # chown tuo_user:tuo_gruppo /mnt/mmc

    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  3. #13
    Mi sa che qui neanche il gruppo ci si riesce a cambiare:

    codice:
    giuseppe@giuseppe-laptop:~$ ls -alt /mnt/
    totale 32
    drwxr-xr-x  5 root root  4096 2007-09-28 15:13 .
    drwxr-xr-x  2 root root  4096 2007-06-27 09:38 tmp
    drwxr-xr-x  3 root root  4096 2007-06-26 19:03 loop
    drwxr-xr-x 21 root root  4096 2007-05-28 17:30 ..
    drwxrwxrwx  2 root root 16384 1970-01-01 01:00 mmc
    
    giuseppe@giuseppe-laptop:~$ chown giuseppe:giuseppe /mnt/mmc
    chown: proprietario di `/mnt/mmc' è stato cambiato: File system in sola lettura
    
    giuseppe@giuseppe-laptop:~$ ls -alt /mnt/
    totale 32
    drwxr-xr-x  5 root root  4096 2007-09-28 15:13 .
    drwxr-xr-x  2 root root  4096 2007-06-27 09:38 tmp
    drwxr-xr-x  3 root root  4096 2007-06-26 19:03 loop
    drwxr-xr-x 21 root root  4096 2007-05-28 17:30 ..
    drwxrwxrwx  2 root root 16384 1970-01-01 01:00 mmc
    Giuseppe SPECCHIO

  4. #14
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    il comando chown dallo con i privilegi di root.

    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  5. #15
    Mi dice che l'operazione non è permessa:

    codice:
    root@giuseppe-laptop:/# mount -t vfat -o user,noauto,nosuid,rw,umask=000 /dev/mmcblk0p1 /mnt/mmc
    root@giuseppe-laptop:/# ls -alt /mnt
    totale 32
    drwxr-xr-x  5 root root  4096 2007-09-28 15:13 .
    drwxr-xr-x  2 root root  4096 2007-06-27 09:38 tmp
    drwxr-xr-x  3 root root  4096 2007-06-26 19:03 loop
    drwxr-xr-x 21 root root  4096 2007-05-28 17:30 ..
    drwxrwxrwx  2 root root 16384 1970-01-01 01:00 mmc
    root@giuseppe-laptop:/# chown giuseppe:giuseppe /mnt/mmc
    chown: proprietario di `/mnt/mmc' è stato cambiato: Funzione non permessa
    Giuseppe SPECCHIO

  6. #16
    Moderatore di Linux e software L'avatar di francofait
    Registrato dal
    Aug 2001
    Messaggi
    13,558
    ]/dev/mmcblk0p1 /mnt/mmc vfat user,noauto,exec,owner,rw,umask=000 0 0

  7. #17
    Niente:

    codice:
    root@giuseppe-laptop:/# mount -t vfat -o user,noauto,exec,owner,rw,umask=000 /dev/mmcblk0p1 /mnt/mmc
    seppe-laptop:/# chown giuseppe:giuseppe /mnt/mmc
    chown: proprietario di `/mnt/mmc' è stato cambiato: Funzione non permessa
    Giuseppe SPECCHIO

  8. #18
    Utente di HTML.it L'avatar di GunMan
    Registrato dal
    Dec 2005
    Messaggi
    2,642
    non so quanto a questo punto possa incidere, comunque prova prima a cambiare proprietario della directory con chown e successivamente a montare la partizione.

    Chaos A.D. Disorder unleashed.
    Starting to burn. Starting to lynch.
    Silence means death. Stand on your feet.
    Inner fear. Your worst enemy.

    Refuse / Resist

  9. #19
    Senti scusa, ma io non caspisco ora anche la pendrive su usb me la da in sola lettura! Come devo fare?
    Giuseppe SPECCHIO

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.