summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
František Dvořák [Wed, 18 Dec 2013 18:44:40 +0000 (19:44 +0100)]
Fix access when mode metadata is missing (owner root, no permissions).
František Dvořák [Tue, 10 Dec 2013 18:23:59 +0000 (19:23 +0100)]
Fix warnings with debugging switched off.
František Dvořák [Tue, 10 Dec 2013 18:22:17 +0000 (19:22 +0100)]
Fix build with debugging switched off.
František Dvořák [Sun, 8 Dec 2013 23:22:18 +0000 (00:22 +0100)]
Look at replica status too in accessReplica(), catch EACCES in access().
František Dvořák [Sun, 8 Dec 2013 23:20:50 +0000 (00:20 +0100)]
Disable most debug messages.
František Dvořák [Sun, 8 Dec 2013 22:43:20 +0000 (23:43 +0100)]
Implement extendedStatByRFN(), accessReplica(), and getReplicaByRFN().
František Dvořák [Sun, 8 Dec 2013 19:09:03 +0000 (20:09 +0100)]
Assemble replica entry path on single place.
František Dvořák [Sun, 8 Dec 2013 18:23:11 +0000 (19:23 +0100)]
Fix replicas with empty path, replica server only or replica path only is enough.
František Dvořák [Thu, 5 Dec 2013 19:39:32 +0000 (20:39 +0100)]
Prepare for RFN support:
- maintain RFN tree
- files with catalog entry name as content
- sanity checks for "foreign" RFN:
- avoid overwriting (=no duplicitis of RFN)
- check content before deleting (=not deleting RFN of other catalog entry)
- update RFN tree in rename() and unlink() calls
- cleanup empty directories
František Dvořák [Wed, 4 Dec 2013 08:25:29 +0000 (09:25 +0100)]
Small preparations for pools.
František Dvořák [Mon, 2 Dec 2013 12:58:36 +0000 (13:58 +0100)]
Properly truncate the file on re-create (using xattr with size instead of truncate()).
František Dvořák [Sun, 1 Dec 2013 20:41:50 +0000 (21:41 +0100)]
Check duplicity of RFN during adding or updating replicas.
František Dvořák [Sun, 1 Dec 2013 20:11:18 +0000 (21:11 +0100)]
Support full replicas serialization and additional replicas attributes.
František Dvořák [Sun, 1 Dec 2013 16:26:29 +0000 (17:26 +0100)]
Implement updateReplica().
František Dvořák [Thu, 28 Nov 2013 15:32:39 +0000 (16:32 +0100)]
Initial support for replicas and inode cache.
František Dvořák [Thu, 28 Nov 2013 15:30:14 +0000 (16:30 +0100)]
Always create at least one group - nodoby with gid 65535 or higher.
František Dvořák [Mon, 25 Nov 2013 12:17:57 +0000 (13:17 +0100)]
Fix wrong memory access.
František Dvořák [Wed, 23 Oct 2013 18:07:07 +0000 (20:07 +0200)]
Use exact types for UID/GID as required in dmlite.
František Dvořák [Wed, 23 Oct 2013 17:39:39 +0000 (19:39 +0200)]
Proper umask usage.
František Dvořák [Wed, 23 Oct 2013 17:14:46 +0000 (19:14 +0200)]
Better to inicializa prefix fully in the constructor body.
František Dvořák [Sat, 19 Oct 2013 21:24:06 +0000 (23:24 +0200)]
Enable all certificates by default (we have file-level permissions now).
František Dvořák [Sat, 19 Oct 2013 19:55:18 +0000 (21:55 +0200)]
Always preserve GID and UID, always reconstruct field list.
František Dvořák [Sat, 19 Oct 2013 19:03:28 +0000 (21:03 +0200)]
Implement updateUser()/updateGroup().
František Dvořák [Sat, 19 Oct 2013 17:12:31 +0000 (19:12 +0200)]
Check for forbidden characters in users and group identities. It's limited by the file format used for storing the information.
František Dvořák [Sat, 19 Oct 2013 17:01:08 +0000 (19:01 +0200)]
New version of identity management. Using general csv file, so any number of fields could be used.
František Dvořák [Fri, 18 Oct 2013 15:58:16 +0000 (17:58 +0200)]
Care specially for the parent of the root (owned by root and 0755 permissions).
František Dvořák [Fri, 18 Oct 2013 15:32:07 +0000 (17:32 +0200)]
Let authorization plugin working but only silently suffer (with LOG_NOTICE), when data files can't be created. Try to save them again on destroy.
František Dvořák [Fri, 18 Oct 2013 14:58:17 +0000 (16:58 +0200)]
More elaborate error messages in removeDir().
František Dvořák [Fri, 18 Oct 2013 14:54:44 +0000 (16:54 +0200)]
Fix removeDir() - no metadata check just for checking cwd.
František Dvořák [Fri, 18 Oct 2013 14:31:56 +0000 (16:31 +0200)]
Update makeDir() to set owner, mode and ACLs.
František Dvořák [Fri, 18 Oct 2013 14:31:27 +0000 (16:31 +0200)]
Proper check for default ACL in create().
František Dvořák [Fri, 18 Oct 2013 13:24:38 +0000 (15:24 +0200)]
Implement setAcl() using xatrs, update setMode(), setOwner() and create().
František Dvořák [Fri, 18 Oct 2013 13:05:26 +0000 (15:05 +0200)]
Separate performer code of setMode() to vfsSetMode() function.
František Dvořák [Fri, 18 Oct 2013 08:42:24 +0000 (10:42 +0200)]
Cleanup around parent paths evaluation. "." is replaced by full current working directory, other relative paths are untouched.
František Dvořák [Fri, 18 Oct 2013 08:06:03 +0000 (10:06 +0200)]
Parent directory permissions are enough for extendedStat().
František Dvořák [Thu, 17 Oct 2013 21:18:59 +0000 (23:18 +0200)]
Enable file-level permissions check.
František Dvořák [Thu, 17 Oct 2013 20:37:32 +0000 (22:37 +0200)]
Protect VFS plugin internal files.
František Dvořák [Wed, 16 Oct 2013 21:11:42 +0000 (23:11 +0200)]
Initial version of identity management.
František Dvořák [Wed, 16 Oct 2013 15:36:24 +0000 (17:36 +0200)]
Fix setMode() vs VFS internal xattr: use separated "mode" attribute for the mode and always set read+write for the owner on filesystem.
František Dvořák [Tue, 15 Oct 2013 19:11:39 +0000 (21:11 +0200)]
All stat fields updates to separate function (vfsUpdateExtendedStat()), use it in readDirx().
František Dvořák [Tue, 15 Oct 2013 14:17:50 +0000 (16:17 +0200)]
Implementation of setChecksum() using xattrs.
František Dvořák [Tue, 15 Oct 2013 13:43:30 +0000 (15:43 +0200)]
Implementation of setComment() using xattrs, new helper functions vfsGetXattr(), vfsRemoveXattr().
František Dvořák [Tue, 15 Oct 2013 10:36:19 +0000 (12:36 +0200)]
Implementation of setSize() using xattrs.
František Dvořák [Tue, 15 Oct 2013 10:14:54 +0000 (12:14 +0200)]
Implementation of setOwner() using xattrs.
František Dvořák [Mon, 14 Oct 2013 20:16:03 +0000 (22:16 +0200)]
Relaxed reaction on User Extended Attributes errors:
- catch and cancel exeption from vfsGetXattrs()
- returns VFS_UID_NONE or VFS_GID_NONE (currently it keeps original filesystem values)
It's good for dangling symlinks (they're always followed for xattrs).
František Dvořák [Mon, 14 Oct 2013 16:20:13 +0000 (18:20 +0200)]
Initial support for VFS-related metadata in User Extended Attributes.
František Dvořák [Thu, 17 Oct 2013 19:25:07 +0000 (21:25 +0200)]
Basic authn check (based only on the user name and catalog path).
František Dvořák [Thu, 17 Oct 2013 15:38:05 +0000 (17:38 +0200)]
Reshuffle extendedStat().
František Dvořák [Thu, 17 Oct 2013 14:25:26 +0000 (16:25 +0200)]
Replace all syslog() calls by internal macro.
František Dvořák [Thu, 17 Oct 2013 13:39:58 +0000 (15:39 +0200)]
Always enable syslog, new debug() and log() definitions.
František Dvořák [Wed, 16 Oct 2013 11:03:24 +0000 (13:03 +0200)]
Fix readLink() and namepsace local disk prefix, using class buffer instead of local buffer in the stack.
František Dvořák [Tue, 15 Oct 2013 08:16:57 +0000 (10:16 +0200)]
Helper function for setting user extended attribute.
František Dvořák [Mon, 14 Oct 2013 20:21:43 +0000 (22:21 +0200)]
No problem with bool type in Extensible class anymore.
František Dvořák [Mon, 14 Oct 2013 13:41:30 +0000 (15:41 +0200)]
Polishing comments (getParentPath()).
František Dvořák [Sun, 13 Oct 2013 18:38:39 +0000 (20:38 +0200)]
More friendly error message for makeDir("").
František Dvořák [Sat, 12 Oct 2013 21:43:50 +0000 (23:43 +0200)]
AllowWrite and DenyWrite config options.
František Dvořák [Fri, 11 Oct 2013 13:02:04 +0000 (15:02 +0200)]
Fix uploading into subdirectories (mkdir()s moved from PoolHandler to IO Driver), added debugging.
František Dvořák [Thu, 10 Oct 2013 20:41:07 +0000 (22:41 +0200)]
Insidious error in getParent(), but the bug probably didn't surface.
František Dvořák [Thu, 10 Oct 2013 16:31:42 +0000 (18:31 +0200)]
Disk prefix - support in VFS IO Driver.
František Dvořák [Thu, 10 Oct 2013 16:27:48 +0000 (18:27 +0200)]
More elaborate error messages from VFS IO driver and debugging.
František Dvořák [Fri, 11 Oct 2013 13:26:09 +0000 (15:26 +0200)]
PoolDriver needs the namespace prefix.
František Dvořák [Thu, 10 Oct 2013 15:37:25 +0000 (17:37 +0200)]
Disk prefix in PoolDriver.
František Dvořák [Thu, 10 Oct 2013 12:41:38 +0000 (14:41 +0200)]
Namespace prefix - NSPrefix.
František Dvořák [Wed, 9 Oct 2013 13:04:52 +0000 (15:04 +0200)]
Support for user extended attributes.
František Dvořák [Fri, 4 Oct 2013 13:20:53 +0000 (15:20 +0200)]
Check permissions when changing dir.
František Dvořák [Fri, 4 Oct 2013 13:05:53 +0000 (15:05 +0200)]
opendir()/readdir() improvements:
- detect errors even during readdir()
- more debugging to syslog
- separate raw opendir() (without additional VFS stuff)
- keep black magic code around st_nlink disabled
František Dvořák [Fri, 4 Oct 2013 12:47:51 +0000 (14:47 +0200)]
Debugging through syslog, only with -DDEBUG.
František Dvořák [Thu, 3 Oct 2013 15:51:19 +0000 (17:51 +0200)]
Write mode support in PoolHandler and PoolManager. PoolManager calls catalog functions.
František Dvořák [Thu, 3 Oct 2013 15:49:44 +0000 (17:49 +0200)]
Proper support for IODriver::kInsecure.
František Dvořák [Mon, 30 Sep 2013 13:11:52 +0000 (15:11 +0200)]
More verbose permission error messages.
František Dvořák [Thu, 26 Sep 2013 20:57:28 +0000 (22:57 +0200)]
checkPermission() implementation - possible to limit certificates by regular expressions (Allow and Deny in plugin configuration).
František Dvořák [Wed, 25 Sep 2013 20:00:40 +0000 (22:00 +0200)]
Comment out st_nlink workaround for now (fixes indirect recursion).
František Dvořák [Wed, 9 Oct 2013 12:58:38 +0000 (14:58 +0200)]
Add permissions check to catalog calls (but always returning OK for now, only print ugly debug message).
František Dvořák [Fri, 13 Sep 2013 15:36:53 +0000 (17:36 +0200)]
Fix recurion in utime().
František Dvořák [Fri, 13 Sep 2013 15:32:28 +0000 (17:32 +0200)]
Fix readLink(): readlink() doesn't add ending null character.
František Dvořák [Fri, 13 Sep 2013 15:26:22 +0000 (17:26 +0200)]
test-rename test hack.
František Dvořák [Fri, 13 Sep 2013 15:01:13 +0000 (17:01 +0200)]
Fix readDir() (no exception on the end), hacky fix of st_nlink on directories.
František Dvořák [Thu, 12 Sep 2013 21:19:17 +0000 (23:19 +0200)]
Fix the recursion in umask() call.
František Dvořák [Thu, 12 Sep 2013 21:05:01 +0000 (23:05 +0200)]
Check if we don't remove current directory in removeDir() (test-chdir).
František Dvořák [Thu, 12 Sep 2013 14:59:26 +0000 (16:59 +0200)]
Simple authentization: no credentials used and only current effective local user supported.
František Dvořák [Thu, 11 Jul 2013 14:51:43 +0000 (16:51 +0200)]
Better behaviour for test-access:
- updateReplica() do nothing and don't fail
- exception from access(..., R_OK) with code DMLITE_NO_SUCH_REPLICA
- more verbose exception messages
František Dvořák [Wed, 10 Jul 2013 12:17:05 +0000 (14:17 +0200)]
Catalog symlink(), unlink(), mkdir(), rename((), removeDir() implementations.
František Dvořák [Wed, 10 Jul 2013 12:02:52 +0000 (14:02 +0200)]
Catalog setSize() and utime() implementation.
František Dvořák [Wed, 10 Jul 2013 11:43:17 +0000 (13:43 +0200)]
Catalog create(), setMode() implementation, setOwner() not supported.
František Dvořák [Thu, 11 Jul 2013 14:35:30 +0000 (16:35 +0200)]
Catalog access() implementation.
František Dvořák [Thu, 12 Sep 2013 15:37:22 +0000 (17:37 +0200)]
Add format strings versions of throw helper functions.
František Dvořák [Thu, 12 Sep 2013 15:13:12 +0000 (17:13 +0200)]
Add support for classname (using getImplId()).
František Dvořák [Thu, 11 Jul 2013 14:25:34 +0000 (16:25 +0200)]
Change wrap calls in VFS plugin.
František Dvořák [Wed, 10 Jul 2013 11:01:45 +0000 (13:01 +0200)]
Initial import, svn revision 9199.