core icon indicating copy to clipboard operation
core copied to clipboard

the shared files have different sizes under encryption

Open dttpy opened this issue 12 years ago • 2 comments

Expected behaviour

The shared files have the same size by different users.

Actual behaviour

When the encryption is activated, if a file is shared, it has a larger size by different users (encrypted size); if a folder is shared, the folder has a larger size by different users, but the size of the files inside stay the same (unencrypted size).

Steps to reproduce

  1. activate encryption
  2. create/upload a file
  3. share this file with other users
  4. compare the size of the file under the sharer and the user who get the sharing.
  5. create a folder
  6. upload/create some files
  7. share this folder with other users
  8. compare the size of the folder and the size of the files inside

Server configuration

Operating system: ubuntu 12.10

Web server: apache 2.2

Database: SQLite

PHP version: 5.4.6

ownCloud version: 6.0.1

Updated from an older ownCloud or fresh install: no

List of activated app:standard apps of owncloud 6.0.1 and encryption

The content of config/config.php: (Without the database password and passwordsalt) CONFIG = array ( 'instanceid' => 'oc6d9cda6e26',

'datadirectory' => '/var/www/owncloud601/data', 'dbtype' => 'sqlite3', 'version' => '6.0.0.16', 'installed' => true, 'theme' => '', 'maintenance' => false, 'maxZipInputSize' => 838860800, 'allowZipDownload' => true, 'loglevel' => '0', );

Are you using external storage, if yes which one: no

Client configuration

Browser: firefox 26.0

Operating system: ubuntu 12.04

Logs

Web server error log

ownCloud log (data/owncloud.log)

dttpy avatar Feb 06 '14 11:02 dttpy

@schiesbn

PVince81 avatar Feb 06 '14 11:02 PVince81

I will look into it

schiessle avatar Feb 06 '14 11:02 schiessle