Owncloud error - Data directory (/media) is readable for other users

Status
Not open for further replies.

norskman

Contributor
Joined
Sep 28, 2012
Messages
149
i have installed the plugin.

Mounted the jail.

When I go to the web page I get the following error:

Data directory (/media) is readable for other users
Please change the permissions to 0770 so that the directory cannot be listed by other users.

I am not quite sure how to do this.

when I SSH into the jail IP address - I get asked for a password if I use ROoot as the user.

Can someone help with this error.


many thanks
 

subcool

Cadet
Joined
Apr 30, 2013
Messages
5
I cant follow the link. And im super noob, how do you change the permissions properly?
Ive changed almost everything related to owncloud to 0770
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I cant follow the link. And im super noob, how do you change the permissions properly?
Ive changed almost everything related to owncloud to 0770
You're trying to change the permissions of the /media files to 770?
In the owncloud jail
Code:
chmod -R 770 /media
 

dturner71.dt

Explorer
Joined
Dec 1, 2017
Messages
57
Having same issue:

upload_2018-1-26_12-2-20.png


Ran command and getting this :

upload_2018-1-26_12-3-3.png


Any suggestions?

Thanks.

Dustin
 

ric

Contributor
Joined
Dec 22, 2013
Messages
180
Same issue here.

root@nextcloud_1:/ # chmod 770 -R /media/
chmod: -R: No such file or directory
chmod: /media/: Operation not permitted
root@nextcloud_1:/ #
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
chmod 770 -R /media/
Order of operations matters--look back at Joshua's post and I think you'll see your error.
 
Status
Not open for further replies.
Top