-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup went well, but cant run as nomal user.. #2
Comments
Sorry, found the Debian forum post faster than this one. Can't debug it right now, you did well posting to Debian too. Hope I can debug this tomorrow night. |
not sure how Gentoo runs WebDAV maybe on Gentoo a normal user is allowed to run this. so i'm not sure on how to implement this in to the code.... |
but i'll keep testing... |
run as normal user:
If /home/NormalUser/Box/ is available within /etc/fstab i should be able to run as normal user.
|
In I saw a suggestion to run |
when i try to start box-sync wrong permissions set for cache directory /home/verwijs/.davfs2/cache/www.box.com-dav+home-verwijs-Box+verwijs witch permisson(s) need this to be? the number, like 600 or 775 etc. Andre |
Should be 0700. And that directory is not created by box-sync. I'm adding a new entry in box-sync to create that directory with the right permissions. |
ok :) thanks. this folder is created by davfs ? i didden't make it. |
it works..!! :) maybe add entry to change permission with all required files/folders. Stopping box-sync still requires root. |
Have you tried the |
yes i did... starting works great. stopping not for some reason... |
I'll have access to a Ubuntu machine tomorrow. I will be able to test it there. In Gentoo stopping works fine. I will also add some tests, tag box-sync 0.1.0 and upload it to PyPI. Hope to close this issue as soon as possible. |
ok :) if i need to tes, let me know.. |
OK, thanks for all the support @Dutchglory |
Instead of https://www.box.com/dav in my /etc/fstab, I used https://dav.box.com/dav and it now works! (syncing as of this moment) How do i start this at boot and stop on shutdown? |
Depends on the Linux distro you are using. Some distros provide a
and make it To stop the service replicate these steps for |
I'm having a somewhat similar issue. I cannot run The other odd thing is that when I run Thanks |
Hi @gr1zzly-be4r, can you tell me what distro are you using? |
Ubuntu GNOME 15.04 |
I am using Debian 7.2 x86_64 Is the box directory supposed to be it's own file system? Why should the box sync directory be mounted in /etc/fstab? walter@fir:~/box-linux-sync/bin$ ./box-sync start |
Hi @WalterByrd
No. You can use your current filesystem (rootfs or /home or anything else).
To make the remote WebDAV share locally available. In order to do so we create a directory as a mount point and add it to |
Hi,
André here.
Setup went well, but cant run as nomal user. i'v installed davfs2 setup username and pass in ./davfs2/secrets
setup correct path to box folder in etc/fstab
NOTE: www.box.net should be www.box.com
try to start box sync...
~/BOX-SYNC/bin$ ./box-sync start
/sbin/mount.davfs: program is not setuid root. Failed to mount sync dir.
as root maybe..
~/BOX-SYNC/bin$ gksu ./box-sync start
mount: can't find /root/Box in /etc/fstab or /etc/mtab. Failed to mount sync dir.
so what should i do?
The text was updated successfully, but these errors were encountered: