RaspyFi - Topic: Read/write permissions on HDD via SSH http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/ Simple:Press Version 5.2.6 PaulM on Read/write permissions on HDD via SSH http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1367 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1367 It's a Samsung G2 640Gb portable harddisk, bus powered, connected to the Pi through a powered USB hub. Disk is formatted in Fat32.
Pi is connected to the network with an Edimax Wifi-dongle. I use MPDroid on my phone and Cantata on my laptop to control it.

I think it is already mounted, since I could already access it with 'cd mnt/USB/usb1'. Also when I do 'sudo df -h' I see that device '/dev/sda1' is mounted on 'mnt/USB/usb1'. I tried the 'sudo chmod ..' on that folder, no luck. Cantata still cannot write to it and in Windows the files/folders are still Read-only.
When trying to mount it again it says "according to mtab, /dev/sda1 is already mounted on /mnt/USB/usb1/".
Also trying to set permissions as root user, no effect.

Now that I've tried setting the permissions I'll also check with the developer of Cantata to see if it might be a Cantata problem.

]]>
Fri, 04 Oct 2013 21:10:29 +0200
2mvent on Read/write permissions on HDD via SSH http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1363 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1363 I'm not sure what your setup is exactly, and I'm no expert on cantata, chown, mpd or even linux, but maybe through me asking you, hopefully you will get an idea...

Is your usb a plain and simple usb-flash-drive? Or a usb-disk with a sort of operating system on it (ala LaCie or something)?

But when an plain and simple usb-flashdrive is connected to raspyfi (and that is based on rabian), you could try to mount that usb drive:
http://www.makeuseof.com/tag/h.....pberry-pi/
or google "rasbian mount usb"

When mounted you could chown that location to your liking: 'sudo chmod -R 777 /mnt/whatever'

Hope it helps,
Best regards,
H

]]>
Fri, 04 Oct 2013 17:27:10 +0200
PaulM on Read/write permissions on HDD via SSH http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1359 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1359 Sorry, indeed I did 'sudo chmod -R 777'.

Fstab gives me:

#
#/dev/mmcblk0p3 / ext4 noatime,discard,data=writeback,journal_async_c$
/dev/mmcblk0p3 / ext4 noatime, nouser,_xattr,errors=remount-ro 0 1
/dev/mmcblk0p1 /boot vfat utf8 0 0
Ramdisk /run/shm tmpfs defaults,size=256M,noexec,nodev,nosuid 0 $

I have no idea what this means? (except I don't see my 640 Gb hdd as a drive)

]]>
Thu, 03 Oct 2013 17:23:12 +0200
2mvent on Read/write permissions on HDD via SSH http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1355 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1355 Hi,
What information does the /etc/fstab give you?
so: 'sudo nano /etc/fstab'
what mounting points do you have?

You say you have tried 'sudo -R 777' to change privileges, but you probably meant: 'sudo chmod -R 777 /media/whateverpath/Music'

Hope it will help you.
Best regards,
H

]]>
Thu, 03 Oct 2013 12:44:06 +0200
PaulM on Read/write permissions on HDD via SSH http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1353 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/readwrite-permissions-on-hdd-via-ssh/#p1353 I've been using RaspyFi for a little more than a week now and first of all, good job and compliments to the developers!
External hdd (FAT32) connected and everything has been running almost flawlessly, except from a few mpd-crashes in the first few days.

As mpd-client I am using Cantata, a nicely looking client with lots of nice features. And one of the few to my knowledge that is able to edit tags.
Apparently some of my albums are, strangely enough, not properly tagged. To be able to edit tags I had to point Cantata to the physical address of the files which is 192.168.1.101\USB\usb1\MUSIC in my case, instead of Cantata's default folder "var/lib/mpd". But Cantata still cannot update the tags and I think it is because of read/write permissions.

Accessing the folder through Windows explorer shows that the folder is read-only and I cannot change this, nor the permissions in Windows. I also tried via PuttY as normal and root-user with the command "sudo -R 777 ." on the folder "/var/lib/mpd/music/USB/usb1/MUSIC". It still shows Read-only in Windows and Cantata is unable to write.
I think the folder "var/lib/.." is like a virtual folder within RaspyFi and I need to set permissions for the physical address. According to "fdisk -l" the hdd is "/dev/sda" but when I try to open I get permission denied in PuttY, both as normal and root user.

Any ideas how to set full read/write permission?

]]>
Wed, 02 Oct 2013 20:22:00 +0200