Have done multiple clean installs with full updates/upgrades adding SSH and SAMBA from the OSMC App Store, cannot add files to the external USB hard drive connected on the MAC Finder as user osmc.
I can see/read the files and folders there on my MACs or a Win7 box, but not add more.
I’m a newbie to RasbPi and Linux.
Is this just a permission thing that the Apps didn’t set up correctly?
Explicit CLI instructions I can paste into the Mac Terminal would be GREATLY appreciated!
That looks about right.
Which of the drives are you trying to write to? Are all of them not working?
What is the file system you are using?
Can you write a file to it as user OSMC from the command line?
Sorry to be such a NOOB, but I’m having trouble navigating the CLI. I tried going to the root as root to get to that USB drive, but I don’t think it’s mounted (SWAG). When I tried to get to it with root@osmc1:/dev# cd /dev/sda2/ it comes back with:
bash: cd: /dev/sda2/: Not a directory
I obviously haven’t paid enough synTAX.
The cheat sheets assume a lot as do many of the other linux sites I’ve flobbed around in looking for the steps and examples to get me there. Can you recommend any?
Shared Folder was unchecked, so I checked it. Could that be it??? I see it named in the /Media folder
root@osmc1:/# cd media
root@osmc1:/media# ls
2TBMac EFI README RECOVERY SETTINGS
root@osmc1:/media# cd /2TBMac
bash: cd: /2TBMac: No such file or directory
root@osmc1:/media# cd media/2TBMac
bash: cd: media/2TBMac: No such file or directory
root@osmc1:/media# cd media/2TBMac/
bash: cd: media/2TBMac/: No such file or directory
Actually I believe your problem is that the harddisk is hfs+ journaled formatted which by default will be mounted read-only.
You can check that with mount | grep media
`
ext2/3/4 are natively supported on Linux so they would be the best choice if already have the paragon drivers.
An alternative (while not as ideal) that might have broader usage would be exfat.
Well that was disappointing! Mounted a newly formatted drive (formatted ext4 via the terminal on the Pi) and am getting the same result. Still mounting as read only.
Should I change the ownership with CHOWN giving ownership to USERS, or maybe force the write/execute to a user or the group?