Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Writing rights?

Sat May 23, 2015 6:50 am

I have an external HDD for watching videos but now I want to move 1 file from the Raspberry to the HDD but I don't seem to have writing permission on it. How do I fix that?

Jörgen

Edit
I have tried with another USB-stick but no difference.

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Writing rights?

Sat May 23, 2015 9:58 am

I tryed with

Code: Select all

sudo su
from http://www.raspberry-projects.com/pi/co ... privileges
but no help.

Jörgen

User avatar
DougieLawson
Posts: 38882
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Writing rights?

Sat May 23, 2015 11:13 am

what does a
mount
command show?

The ownership and masked permissions control who can write to a mounted USB stick with a FAT filesystem.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Writing rights?

Sat May 23, 2015 1:15 pm

Here is the mount command!

pi@raspberrypi ~ $ mount
/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=470416k,nr_inodes=117604,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=94944k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=189880k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda1 on /media/Elements type ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks)
pi@raspberrypi ~ $


Jörgen

User avatar
DougieLawson
Posts: 38882
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Writing rights?

Sat May 23, 2015 1:32 pm

Krassegrand wrote: /dev/sda1 on /media/Elements type ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks)
There's your problem. Your filesystem is read-only.

Have you got ntfs-3g installed?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Writing rights?

Sat May 23, 2015 2:56 pm

DougieLawson wrote:
Krassegrand wrote: /dev/sda1 on /media/Elements type ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks)
There's your problem. Your filesystem is read-only.

Have you got ntfs-3g installed?
How do I check and how do I install?

Jörgen

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Writing rights?

Sat May 23, 2015 3:19 pm

I found this!

viewtopic.php?t=16803&p=219070

Edit
and it works!


Thanks!
:D
Last edited by Krassegrand on Sat May 23, 2015 3:31 pm, edited 2 times in total.

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Writing rights?

Sat May 23, 2015 3:29 pm

Yes, that's the way to do it :)

Return to “Beginners”