Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files in shared folder not see over internet #31773

Closed
alvlad opened this issue Jun 14, 2018 · 6 comments
Closed

Files in shared folder not see over internet #31773

alvlad opened this issue Jun 14, 2018 · 6 comments

Comments

@alvlad
Copy link

alvlad commented Jun 14, 2018

Steps to reproduce

  1. Upload files to folder
  2. Create public link to this folder

Expected behaviour

See all files in the folder

Actual behaviour

If i am access from local network i can see all files and download it, if i am access from Internet - i see only downloading page

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache 2.4.18

Database: 10.0.34-MariaDB

PHP version: 7.0

ownCloud version: 10.0.8.5

Updated from an older ownCloud or fresh install: Fresh install

Where did you install ownCloud from: On-premises

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found.

The content of config/config.php:

{
"system": {
"updatechecker": false,
"instanceid": "oc0iq9vqk5ly",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud.domain.ru",
"domain.ru"
],
"datadirectory": "/var/www/owncloud/data",
"overwrite.cli.url": "https://cloud.domain.ru/owncloud",
"dbtype": "mysql",
"version": "10.0.8.5",
"dbname": "ownclouddb",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "Europe/Moscow",
"logfile": "/var/www/owncloud/data/owncloud.log",
"loglevel": "2",
"installed": true,
"ldapIgnoreNamingRules": false,
"mail_smtpmode": "smtp",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "25",
"maintenance": false,
"filelocking.enabled": true,
"memcache.local": "\OC\Memcache\Redis",
"redis": {
"host": "localhost",
"port": 6379
},
"memcache.locking": "\OC\Memcache\Redis"
}
}

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: no

Are you using an external user-backend, if yes which one: LDAP

LDAP configuration (delete this part if not used)

+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration | |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport | 1 |
| hasPagedResultSupport | |
| homeFolderNamingRule | |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | owncloudad@domain.local |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | |
| ldapAttributesForUserSearch | |
| ldapBackupHost | msk-srv-dc2.domain.local |
| ldapBackupPort | 389 |
| ldapBase | dc=domain,dc=local |
| ldapBaseGroups | dc=domain,dc=local |
| ldapBaseUsers | dc=domain,dc=local |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 1 |
| ldapExpertUUIDGroupAttr | |
| ldapExpertUUIDUserAttr | objectguid |
| ldapExpertUsernameAttr | |
| ldapGroupDisplayName | cn |
| ldapGroupFilter | |
| ldapGroupFilterGroups | |
| ldapGroupFilterMode | 0 |
| ldapGroupFilterObjectclass | |
| ldapGroupMemberAssocAttr | uniqueMember |
| ldapHost | msk-srv-dc2.domain.local |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(&(|(objectclass=user))(|(|(memberof=CN=OwnCloudGroup,OU=OwnCloud,OU=Служебные учетные записи,DC=domain,DC=local)(primaryGroupID=139347))))(samaccountname=%uid)) |
| ldapLoginFilterAttributes | |
| ldapLoginFilterEmail | 0 |
| ldapLoginFilterMode | 0 |
| ldapLoginFilterUsername | 1 |
| ldapNestedGroups | 0 |
| ldapOverrideMainServer | |
| ldapPagingSize | 500 |
| ldapPort | 389 |
| ldapQuotaAttribute | |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserDisplayName | displayname |
| ldapUserDisplayName2 | |
| ldapUserFilter | (&(|(objectclass=user))(|(|(memberof=CN=OwnCloudGroup,OU=OwnCloud,OU=Служебные учетные записи,DC=domain,DC=local)(primaryGroupID=139347)))) |
| ldapUserFilterGroups | OwnCloudGroup |
| ldapUserFilterMode | 0 |
| ldapUserFilterObjectclass | user |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| useMemberOfToDetectMembership | 1 |
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+


### Client configuration
**Browser:** Mozilla Firefox 60.0

**Operating system:** Windows 10 1803

### Logs
#### Web server error log

Insert your webserver log here

10.99.0.160 - - [14/Jun/2018:10:16:38 +0300] "POST /owncloud/index.php/heartbeat HTTP/1.1" 200 941 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0"
10.99.0.160 - - [14/Jun/2018:10:16:55 +0300] "GET /owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 1127 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0"
10.99.0.160 - - [14/Jun/2018:10:17:25 +0300] "GET /owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 1127 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0"
10.99.0.160 - - [14/Jun/2018:10:17:55 +0300] "GET /owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 1127 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0"
10.77.0.15 - - [14/Jun/2018:10:18:00 +0300] "GET /index.php/s/iX2eBz9wIR5ix2N HTTP/1.1" 200 16827 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"
10.77.0.15 - - [14/Jun/2018:10:18:00 +0300] "GET /index.php/core/js/oc.js?v=ca4fdaa73d3ae437b6ce86ab5ce09447 HTTP/1.1" 200 4955 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"
10.77.0.15 - - [14/Jun/2018:10:18:00 +0300] "GET /index.php/core/js/oc.js?v=ca4fdaa73d3ae437b6ce86ab5ce09447 HTTP/1.1" 200 4810 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"
10.77.0.15 - mrsk-c\\iX2eBz9wIR5ix2N [14/Jun/2018:10:18:01 +0300] "PROPFIND /public.php/webdav/ HTTP/1.1" 401 1130 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"

#### ownCloud log (data/owncloud.log)

Insert your ownCloud log here


#### Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributors most likely able to help are @ownclouders, and @PVince81.

Possibly related issues are #16191 (It is not possible to share a file/folder just after renaming it from the WEB), #11433 ([Sharing] Not possible to share after having shared a folder), #23111 (Files shared with me cannot be moved to folders I share), #11035 (Files not marked as "shared"), and #4028 (Renaming not possible for directly shared files/folders).

@patrickjahns
Copy link
Contributor

If i am access from local network i can see all files and download it, if i am access from Internet - i see only downloading page

Please provide screenshots - as we do not know what you are seeing and what you are expecting

@alvlad
Copy link
Author

alvlad commented Jun 14, 2018

imgpsh_fullsize

@alvlad
Copy link
Author

alvlad commented Jun 14, 2018

owncloud

from mobile telephone

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants