How to make my external USB stick in raspberry pi writable

Raspberry Pi related support

How to make my external USB stick in raspberry pi writable

Postby mamekedi » 26 Feb 2015, 11:27

Hello all

I know how i can access my external USB drive
with samba from my pc
The problem is i cant write files on the drive
I tryed some settings in smb.conf but i doesnt
work

Please help
mamekedi
 
Posts: 13
Joined: 12 Feb 2015, 11:32

Re: How to make my external USB stick in raspberry pi writab

Postby den_hr » 26 Feb 2015, 12:47

Edit file /etc/udevil/udevil.conf
and change line:
Code: Select all
default_options_vfat   = ro, iocharset=utf8, noatime, uid=$UID, gid=$GID

to:
Code: Select all
default_options_vfat   = rw, iocharset=utf8, noatime, uid=$UID, gid=$GID


That is, if your external USB stick is FAT formatted, and not something else...
Even if it's another filesystem, in the same file (/etc/udevil/udevil.conf) you can set the "rw" flag (read & write) for other filesystems which are currently defined as "ro" (read only).

Basically, you change the "ro" part after the equal sign (=) to "rw".

HTH,

Denis
den_hr
 
Posts: 52
Joined: 06 Feb 2015, 17:10
Location: Croatia

Re: How to make my external USB stick in raspberry pi writab

Postby mamekedi » 26 Feb 2015, 12:52

Thanks Denis,

I'll try it

Greetings
Marty
mamekedi
 
Posts: 13
Joined: 12 Feb 2015, 11:32

Re: How to make my external USB stick in raspberry pi writab

Postby mamekedi » 26 Feb 2015, 17:05

Hello Denis,

i tried it but i still has no rights to write on the USB stick when i connecting from my IMAC with finder connect to server

smb://192.168.1.114/

username: marty
password: blablabla

to get this work i had to make a new user on raspberry pi and set the security level to user in /etc/samba/smb.conf (is that oke)
with root i can't login ?
-----------------------------------------------------------------------------------------------------------------------

can you please give me some more advice ?

Best Regards,
Marty
mamekedi
 
Posts: 13
Joined: 12 Feb 2015, 11:32

Re: How to make my external USB stick in raspberry pi writab

Postby mamekedi » 28 Feb 2015, 07:13

i just found out that it works from a windows machine ?
strange i will do some tests and let you know
mamekedi
 
Posts: 13
Joined: 12 Feb 2015, 11:32

Re: How to make my external USB stick in raspberry pi writab

Postby robertinjo » 10 Mar 2015, 00:24

Hi Denis,
thanks for the tip...
I just tried it from my Mac through SFTP, I can RW on a local storage (SD card),
on mounted volumes, however, I can't write anything...
Any idea ?
robertinjo
 
Posts: 27
Joined: 10 Jan 2015, 16:30
Location: Croatia, Zagreb

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 12 guests