Re: Only root can write on USB disk

2017-05-05 Thread Stefan Monnier
> I have a very annoying problem. I can't write to my usb drives (fat32, > ntfs, etc.) without root permissions. How can I fix this? How did you mount it? I usually mount those with `pmount`. Stefan

Re: Only root can write on USB disk

2017-05-05 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, May 05, 2017 at 10:55:58AM +, Curt wrote: > On 2017-05-05, wrote: > > > > On Fri, May 05, 2017 at 09:17:51AM +, Curt wrote: > >> On 2017-05-02, Greg Wooledge wrote: > >> > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy w

Re: Only root can write on USB disk

2017-05-05 Thread Curt
On 2017-05-05, wrote: > > On Fri, May 05, 2017 at 09:17:51AM +, Curt wrote: >> On 2017-05-02, Greg Wooledge wrote: >> > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: >> >> I have a very annoying problem. I can't write to my usb drives (fat32, >> >> ntfs, etc.) without ro

Re: Only root can write on USB disk

2017-05-05 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, May 05, 2017 at 09:17:51AM +, Curt wrote: > On 2017-05-02, Greg Wooledge wrote: > > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: > >> I have a very annoying problem. I can't write to my usb drives (fat32, > >> ntfs, e

Re: Only root can write on USB disk

2017-05-05 Thread Curt
On 2017-05-02, Greg Wooledge wrote: > On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: >> I have a very annoying problem. I can't write to my usb drives (fat32, >> ntfs, etc.) without root permissions. How can I fix this? > > Mount the file system with "-o uid=youruser" to have t

Re: Only root can write on USB disk

2017-05-04 Thread Pascal Hambourg
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

Re: Only root can write on USB disk

2017-05-04 Thread Brian
On Thu 04 May 2017 at 19:52:46 +0430, Mostafa Shahverdy wrote: > > > > In my /etc/fstab, I add lines for the drives and put 'user' in the options: > > > > LABEL= auto noauto,user,rw,exec 0 0 > > I played with fstab as far as I could, and still no luck. It is still > owned by root. I also f

Re: Only root can write on USB disk

2017-05-04 Thread Greg Wooledge
On Thu, May 04, 2017 at 05:12:39PM +0100, Lisi Reisz wrote: > On Thursday 04 May 2017 16:22:46 Mostafa Shahverdy wrote: > > this is my fstab line: > > > > > > /dev/sdh1 /media/mostafa/flash_h1 auto user,rw,nosuid,nodev,relatime 0 0 > > it doesn't include what Greg suggested. He suggested: > "-o u

Re: Only root can write on USB disk

2017-05-04 Thread Lisi Reisz
On Thursday 04 May 2017 16:22:46 Mostafa Shahverdy wrote: > > In my /etc/fstab, I add lines for the drives and put 'user' in the > > options: > > > > LABEL= auto noauto,user,rw,exec 0 0 > > I played with fstab as far as I could, and still no luck. It is still > owned by root. I also found that

Re: Only root can write on USB disk

2017-05-04 Thread Mostafa Shahverdy
> > In my /etc/fstab, I add lines for the drives and put 'user' in the options: > > LABEL= auto noauto,user,rw,exec 0 0 I played with fstab as far as I could, and still no luck. It is still owned by root. I also found that there are some errors in my dmesg: [10021.791499] usb-storage 3-1:

Re: Only root can write on USB disk

2017-05-04 Thread Mostafa Shahverdy
> Mount the file system with "-o uid=youruser" to have the files presented > by the kernel as being "owned" by that user. Even using that commant, it is still owned by root -- Regards, Mostafa Shahverdy signature.asc Description: PGP signature

Re: Only root can write on USB disk

2017-05-02 Thread Greg Wooledge
On Tue, May 02, 2017 at 07:16:57PM +0430, Mostafa Shahverdy wrote: > I have a very annoying problem. I can't write to my usb drives (fat32, > ntfs, etc.) without root permissions. How can I fix this? Mount the file system with "-o uid=youruser" to have the files presented by the kernel as being "o

Only root can write on USB disk

2017-05-02 Thread Mostafa Shahverdy
Dear all I have a very annoying problem. I can't write to my usb drives (fat32, ntfs, etc.) without root permissions. How can I fix this? -- Regards, Mostafa Shahverdy signature.asc Description: PGP signature