holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
567 stars 34 forks source link

Path from another User #66

Open mwickert opened 4 years ago

mwickert commented 4 years ago

I installed your wonderful app last week and discovered when I issue path commands from a notebook I get another user’s iCloud path:

In[1]: pwd Out[1]: '/private/var/mobile/Library/Mobile Documents/iCloud~AsheKube~Carnets/Documents/welcome'

What is going on? The notebook is still being saved to my iCloud account. Is there a security issue here?

holzschu commented 4 years ago

Hi, "iCloudAsheKubeCarnets" is the unique iCloud identifier for the App. It decomposes into "iCloud" + "AsheKube" (name of my AppStore developer account) + "Carnets" (name of the App).

Did that answer your question?

holzschu commented 4 years ago

The longer answer is that Carnets exposes the actual names of the files (because Python shows them) and that most Apps try to hide them. But all Apps are using similar names for their iCloud paths.

mwickert commented 4 years ago

@holzschu

Your answer now makes it clear. Thank you for your quick response.