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
Running as a different user (gksudo) #1138
Comments
Are you by any chance running this on ubuntu and Unity? |
Sorry I forgot to specify my env: Ubuntu 12.04 |
To clarify, practical problem disallowing with chown occcurs when running owncloud logged in root account. Otherwise one can disallow access to folders with a different account. It should still be possible to run owncloud as an arbitrary user imo and as specified on root. |
I understand your problem, but I understand why running as a different user solve the problem of accessing the unmounted directory. Why are you running a GUI as root in the first place? And why is it not sufficient to simply encrypt the current users home directory? |
I run root because gksudo fails in some instances among other reasons. Because owncloud recreates the path from the file system root. If it's running as root, how would one prevent it from recreating the folder in an unencrypted path? /root/crypt/mnt is owned by root if owncloud client is run as root, it just recreates the path and syncs defeating the point of the encryption. |
Practically solved by automounting. Still though, the automatic creation of the path after configuration is kinda of an iffy workflow. |
Closing old issue. |
The expected behavior is that it is possible (and implemented as a function of the software if there is further complexity to facilitating this) to fully run the client as an arbitrary user seperate from the logged in user.
It is critical to be able to disable owncloud client from access to the sync folder using chown.
A practical immediate reason being that I wish to place it's folder in an encrypted container and disallow access when the container isn't mounted by changing the unmounted path to an inaccessible user.
What occurs:
To run as a different user:
The problem is that on the first run it specifies that owncloud requires a system tray paraphrased here:
ownCloud requires a working system tray. Please install a system tray application such as trayer. If you are running xfce follow these instructions: http://docs.xfce.org/xfce/xfce4-panel/systray
But still offers the configuration wizard. In future runs the wizard appears to fail to run. In either case it's not a particular issue as the client can be manually configured.
Either way the system tray is not functional and the behavior is undefined in general though it appear syncing works as the client is a fairly simple program. As the complexity grows, please facilitate this workflow in the architecture or specify a workflow to facilitate the entire spectrum of said functionality.
The text was updated successfully, but these errors were encountered: