Set all data to read only

Hi everyone,

Just wondering if anyone knew of a quick and easy way to set all data to read only?

I cant see a way of getting it done via the website, is there an easier way?

The clients access data via web site access and the WebDav mapped drive.

thank you

Hi steves,

I think the easiest way is to set a quota of 0 B for all affected users (as admin) in the users panel. This will disable uploads for them. (It is possible to set a default quota by clicking the settings cog wheel on the lower left side of the user settings page)

You will have to share files with those users, so they can open anything :slight_smile:

Alternatively, depending on your requirements, you could share a folder by public link where you can restrict uploads and/or editing, this would not work with WebDAV clients, however.

1 Like

Hi Cortho

thanks for that, ill look into it.

These are all current users, and they have access to random folders through out the entire drive.

Would setting their quota to 0 stop them deleting files also?

Basically, the plan is to have this data be an archive, so we want it accessible to the users, but not have them change anything.

thanks again,

You might want to try to setup an external storage for this. External storages have a “read-only” flag you can set, and they’re also prepared so you can add data from outside of ownCloud.
Users will still have their own personal space within ownCloud but out of the external storage.

For the particular external storage choice, it’s completely up to you. Local storage might be interesting, but you need to enable it explicitly in the config.php file (it’s disabled by default for security reasons). Other than that, it depends on where the files will be and how you want to access to them.