Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180701

Re: Only root can write on USB disk

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Only root can write on USB disk
Date 2017-05-04 20:30 +0200
Message-ID <tDtFL-7ee-1@gated-at.bofh.it> (permalink)
References <tCHhM-7T4-15@gated-at.bofh.it> <tDqRB-5hr-31@gated-at.bofh.it> <tDqRB-5hr-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 04/05/2017 à 17:22, Mostafa Shahverdy a écrit :
>
> [10021.791499] usb-storage 3-1:1.0: USB Mass Storage device detected
> [10021.793693] scsi host9: usb-storage 3-1:1.0
> [10022.814216] scsi 9:0:0:0: Direct-Access     Philips  USB Flash Drive  PMAP PQ: 0 ANSI: 4
> [10022.814812] sd 9:0:0:0: Attached scsi generic sg8 type 0
> [10030.989808] sd 9:0:0:0: [sdi] 15267823 512-byte logical blocks: (7.82 GB/7.28 GiB)
> [10030.992298] sd 9:0:0:0: [sdi] Write Protect is off
> [10030.992301] sd 9:0:0:0: [sdi] Mode Sense: 23 00 00 00
> [10030.994174] sd 9:0:0:0: [sdi] No Caching mode page found
> [10030.994180] sd 9:0:0:0: [sdi] Assuming drive cache: write through
> [10031.020946]  sdi:
> [10031.029429] sd 9:0:0:0: [sdi] Attached SCSI removable disk
> [10031.299766] FAT-fs (sdi): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
(...)
> this is my fstab line:
>
> /dev/sdh1 /media/mostafa/flash_h1 auto user,rw,nosuid,nodev,relatime 0 0

The device name /dev/sdh1 does not match the USB device name /dev/sdi.
Using /dev/sd* names in /etc/fstab should be avoided because they are 
not persistant.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Only root can write on USB disk Mostafa Shahverdy <mostafa@mostafa.info> - 2017-05-02 16:50 +0200
  Re: Only root can write on USB disk Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-02 18:10 +0200
    Re: Only root can write on USB disk Mostafa Shahverdy <mostafa@mostafa.info> - 2017-05-04 14:00 +0200
    Re: Only root can write on USB disk Curt <curty@free.fr> - 2017-05-05 11:20 +0200
      Re: Only root can write on USB disk <tomas@tuxteam.de> - 2017-05-05 11:40 +0200
        Re: Only root can write on USB disk Curt <curty@free.fr> - 2017-05-05 13:00 +0200
          Re: Only root can write on USB disk <tomas@tuxteam.de> - 2017-05-05 13:40 +0200
  Re: Only root can write on USB disk Mostafa Shahverdy <mostafa@mostafa.info> - 2017-05-04 17:30 +0200
    Re: Only root can write on USB disk Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-04 18:20 +0200
    Re: Only root can write on USB disk Lisi Reisz <lisi.reisz@gmail.com> - 2017-05-04 18:20 +0200
    Re: Only root can write on USB disk Brian <ad44@cityscape.co.uk> - 2017-05-04 20:10 +0200
    Re: Only root can write on USB disk Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-04 20:30 +0200
  Re: Only root can write on USB disk Stefan Monnier <monnier@iro.umontreal.ca> - 2017-05-05 15:00 +0200

csiph-web