core icon indicating copy to clipboard operation
core copied to clipboard

Skeleton missing with Swift ObjectStore

Open razyr opened this issue 12 years ago • 4 comments

Environment: Ubuntu 12.04.4 LTS vhost OwnCloud Version: 7.0 Database: Mysql 5.5 PHP Version: 5.3.10

Additional relevant config information:

Using Swift object store to store user files. The following is an excerpt from config.php.

objectstore' => array ( 'class' => 'OC\Files\ObjectStore\Swift', ...

Problem:

core/skeleton files and folders do not show up for logged in users

Expected Behaviour:

The skeleton files and folders should appear unless deleted by the user.

Addiitonal Information:

Our core/skeleton directory is unmodified from the original distribution.

The system has both locally defined and LDAP users. The problem exists for both types of users regardless of when or how they were added to the system.

Swift appears to be working in all other regards.

data/username/ directories do not have a /files folder for any user other than the initial admin account created at install. The initial admin account does have the skeleton files.

System was initially installed as 7 RC1 then upgraded to RC2, RC3 and now 7 release.

Is there any way to ensure that users get the skeleton files (preferably sym or hard link) in their folder structure at first log in?

razyr avatar Jul 28 '14 20:07 razyr

@butonic Can you have a look please?

karlitschek avatar Jul 28 '14 20:07 karlitschek

The skeleten feature uses direct file IO, which is why it was initially disabled for the objectstorage. Will take care of it.

butonic avatar Jul 29 '14 17:07 butonic

fix in https://github.com/owncloud/core/pull/10732

butonic avatar Oct 06 '14 10:10 butonic

Fixed by https://github.com/owncloud/core/pull/10732

PVince81 avatar Oct 17 '14 14:10 PVince81