I'm trying reveal.js for the first time and just cloned and installed the full setup. I opened the slide presentation on the local host and played around for few seconds. So far so good. Afterwards I closed the presentation and went for editing the index.html file but when I tried to save I got the message I didn't have the permission to edit. Then I checked:
[reveal.js (master)]$ ls -lg ~/.../reveal.js/index.html
-rw-r--r-- 1 root 1479 mag 5 10:15 ~/.../reveal.js/index.html
So I went for changing the permissions using find as suggested here. That gives:
[reveal.js (master)]$ sudo find ~/.../reveal.js -type f -exec chmod 755 {} \;
Checked again:
[reveal.js (master)]$ ls -lg ~/.../reveal.js/index.html
-rwxr-xr-x 1 root 1479 mag 5 10:15 ~/.../reveal.js/index.html
Thought everything was fine but when I tried to edit again and still I don't have the permissions.
Anyone has a clue on that?
Edit: tried also the recursive version of the find command
[reveal.js (master)]$ sudo find ~/.../reveal.js -type f -exec chmod 755 -R {} \;