Don't create your link with sudo.ApexRon wrote: ↑Fri May 29, 2020 3:05 pmI use the following:
sudo ln -s /home/pi/Bookshelf /NetDrive
The symbolic link worked but now there are other issues:
- While I can now see Bookshelf folder on my network drive the contents of the Bookshelf directory on the Raspberry Pi remain. What I had hoped to achieve was only partially successful. I wanted the OS to not fill the Raspberry Pi with literature.
- I am working on a permissions issue as well, though I am using the same userid for a terminal session, a VNC session, and connections from my iPad/iPhone. Finder on my Mac does not see the folder at all even though I did a killall on Finder
pi@raspberrypi:~ $ ls -l /NetDrive/Bookshelf
lrwxrwxrwx 1 root root 18 May 29 10:01 /NetDrive/Bookshelf -> /home/pi/Bookshelf.
Code: Select all
sudo rm /home/pi/Bookshelf ln -s /home/pi/Bookshelf /NetDrive
I used 'rmdir' instead.
Okay this is getting weird. Raspberry OS wrote the file with minimum permissions and I did a chmod to the Directory and the file. Then I downloaded another file. Note that Raspberry OS continues to use the same permissions when writing a new file:
I can now access and read from my Mac and iPad. Yea!!!