To "provide" myself an admin view on the owncloud installation, I browse
the files on the server file system. Changing there things (moving, adding,
deleting) should be followed by rebuilding the owncloud database. I use
that sometimes to restore lost files from backup or to mass import files
for a user. I didn't ran into trouble yet doing that :-)

I use the following script

cd /var/owncloudfiles/#/files
chown -R www-data:www-data *
cd /var/www/owncloud
sudo -u www-data php occ files:scan #

Where you replace # by the username of the user who's files you were
tampering with.
/var/owncloudfiles : the folder where my owncloud files reside in
/var/www/owncloud : the folder where the owncloud software is
www-data : the user that runs the webserver

Kind regards
Koen


2015-03-24 21:57 GMT+01:00 Mike Morris <[email protected]>:

>  On 03/24/2015 01:03 PM, Chris wrote:
>
> Hi,
>
>
>  But I actually don't see any way to do that. Am I missing something, or
> must I log in as other users to maintain the documents that they uploaded?
>
>  you don't miss anything here. ownCloud just not provide something like an
> "super admin" having the access to files of all users.
>
> If an admin should have access to all files of an user then:
>
> 1. The user needs to share those files with the admin or a group
> 2. The user needs to upload files to a folder which is already shared with
> the admin
>
>  Thanks so much for the quick and helpful information.
>
> So, should I infer that changing a folder's sharing status does not
> propagate to existing docs?
>
> Does (can) that lead to some docs being accessible to the 'admin'
> (uploaded after share updated) and some not being accessible (uploaded
> before share updated)? Seems an odd situation :-)
>
> I'm curious if there's a "server side" way to update these properties...
> maybe a SQL statement or a physical doc move with accompanying file system
> rights update?
>
> I should have specified that:
>
>    - I'm still on 7.04 on the server side and
>    - I'm running on Ubuntu 14.04
>
> Thanks again Chris!
>
> _______________________________________________
> User mailing list
> [email protected]
> http://mailman.owncloud.org/mailman/listinfo/user
>
>
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to