Hi, doing: root@bruecklinux:~# ls -l /var/lib/arangodb total 20 -rw-rw---- 1 arangodb arangodb 66 Jan 26 17:33 SERVER -rw-rw---- 1 arangodb arangodb 118 Apr 13 16:36 SHUTDOWN drwx------ 4 arangodb arangodb 4096 Apr 6 13:35 cluster drwxrwxrwx 3 arangodb arangodb 4096 Jan 26 17:33 databases drwxr-xr-x 2 arangodb arangodb 4096 Apr 13 16:36 journals
if its not like that, and you try to launch arangod as user arangodb you can adjust it like that: chown -R arangodb:arangodb /var/lib/arangodb Please note the difference between the database directory, and the arangodb-apps directory, which is where the foxx services live. Cheers, Willi On Thursday, May 19, 2016 at 12:20:18 AM UTC+2, [email protected] wrote: > > Thanks for the help. I'm running into another permissions-related error > now, unfortunately. > > Since I tried running arangod [/usr/bin/arangod.sh] manually in a terminal > (in order to view console.log statements from Foxx) I've been unable to run > arangoDB as a service. It's giving me the following error: > > 2016-05-18T22:15:21Z [3978] ERROR cannot open file > '/myDataDir/ArangoDB/SHUTDOWN': 'Permission denied' > 2016-05-18T22:15:21Z [3978] ERROR could not open shutdown file > '/myDataDir/ArangoDB/SHUTDOWN': internal error > 2016-05-18T22:15:21Z [3978] FATAL unable to start WAL logfile manager > > I tried renaming the SHUTDOWN file just for fun, and when I do that it > just gives me a permission error on some of the journal files within the > /ArangoDB/journals/ directory > > I had to run arangod.sh as a super user, and I'm guessing that somehow > screwed up permissions for when I want to run arangodb as a service? But > I'm running the service as a super user also... > > (restarting/logging in and out doesn't help, btw) > > On Wednesday, May 18, 2016 at 2:27:51 PM UTC+2, Wilfried Gösgens wrote: >> >> Hi, >> in linux you can create a common group in /etc/group: >> >> foxdevelopers:x:nnnn:arangodb,ropeladder >> >> (if ropeladder is your login, nnnn the GID number for the new group) >> >> You may need to log off & on in order to make that available to your >> session; you also may need to restart arangod >> then run: >> >> chgrp -R foxdevelopers /var/lib/arangodb-apps >> >> chmod g+rws /var/lib/arangodb-apps >> >> and then restart Arangod. >> >> Now files you create should be owned by the group 'foxxdevelopers', that >> contains your user and ArangoDB. >> So both should be able to create, add and modify files. >> >> The sticky bit in the chmod will ensure all files created under that >> directory derive the group rights. >> >> Cheers, >> Willi >> >> On Wednesday, May 18, 2016 at 2:20:25 PM UTC+2, [email protected] wrote: >>> >>> Thanks, Willi. Definitely looking forward to 3.0. I'm on linux (mint) >>> but not much of a power user, I just switched over from Windows a few >>> months ago. Regarding permission, I'm guessing I should either run Webstorm >>> as an admin or change the permissions on the arango controllers directory? >>> >>> Got the console working after a bit of work. Thanks. >>> >> -- You received this message because you are subscribed to the Google Groups "ArangoDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
