Problem
Right now, the notebook directory ownership will just be assigned to the specified user (#11). This is not very nice because it might overwrite something or read something it is not supposed to read.
Solution
Move the notebook dir out of /usr/local/zeppelin to /notebooks. Then, before assigning the permissions, check that old permissions are root. If they are non-root, don't override.
Problem
Right now, the notebook directory ownership will just be assigned to the specified user (#11). This is not very nice because it might overwrite something or read something it is not supposed to read.
Solution
Move the notebook dir out of
/usr/local/zeppelinto/notebooks. Then, before assigning the permissions, check that old permissions are root. If they are non-root, don't override.