Owncloud: How to silence error "0770 permission error"

0

When I try to access owncloud it gives the following error message: " Your Data directory is readable by other users Please change the permissions to 0770 so that the directory cannot be listed by other users." However, I intend to use owncloud in my own private network, and I don't care about any of this. Sadly, it is not possible to change the permission rights for my usb drive, so the following question: Is there any way to just silence this error by owncloud?

logical x 2

Posted 2017-08-19T13:42:19.620

Reputation: 103

Answers

1

This is not answer on how to silence the error, but the following may help you to configure owncloud the way it likes to be configured.

You could just try to mount your USB drive with umask/dmask 0007 to prevent access bits for others beieng set.

For example:

mount -o uid=1000,gid=1000,dmask=0007 /dev/sdb1 /mnt

For more information on umask, dmask and fmask follow this link: https://askubuntu.com/questions/429848/dmask-and-fmask-mount-options .

thomas

Posted 2017-08-19T13:42:19.620

Reputation: 449

1I tried mount -o uid=0770 /dev/sdb1 /mnt, only. I will try this out. For now, I just uncommented the part of the php code that causes the error --- and it fixed the issue --- though I am not so sure if that is a good long-term solution : D – logical x 2 – 2017-08-20T07:57:12.093