A
A
Anton Shvets2017-02-27 15:19:42
linux
Anton Shvets, 2017-02-27 15:19:42

How to properly mount dav for user?

There is owncloud.
debian system.
written in fstab

https://owncloud.example.com/remote.php/webdav /data/owncloud davfs user,rw,_netdev 0 0

Folders on the server are located with rights 777, the owner is www-data
They are visible in the system with the rights drwxr-xr-x, the owner root and, accordingly, an unprivileged user cannot create files.
How to mount so that after mounting the user sees the files as his own. Or at least with the same rights as on the server, ie. 777?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2017-02-27
@Xuxicheta

manpages.ubuntu.com/manpages/precise/man8/mount.da...
and look at the magical uid and gid options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question