dmlite-plugins-vfs.git
11 years agoProtect VFS plugin internal files.
František Dvořák [Sat, 19 Oct 2013 19:15:58 +0000 (21:15 +0200)]
Protect VFS plugin internal files.

11 years agoInitial version of identity management.
František Dvořák [Fri, 21 Feb 2014 13:19:00 +0000 (14:19 +0100)]
Initial version of identity management.

11 years agoRename VfsAuthn to VfsAuthnSimple.
František Dvořák [Fri, 21 Feb 2014 13:15:12 +0000 (14:15 +0100)]
Rename VfsAuthn to VfsAuthnSimple.

11 years agoDocument new config file options in comments.
František Dvořák [Thu, 6 Feb 2014 12:25:25 +0000 (13:25 +0100)]
Document new config file options in comments.

11 years agoAdd build dependency on libattr-devel to rpm.
František Dvořák [Thu, 6 Feb 2014 12:07:53 +0000 (13:07 +0100)]
Add build dependency on libattr-devel to rpm.

11 years agoFix warnings with debugging switched off.
František Dvořák [Tue, 10 Dec 2013 18:24:38 +0000 (19:24 +0100)]
Fix warnings with debugging switched off.

11 years agoFix wrong memory access.
František Dvořák [Mon, 25 Nov 2013 12:17:57 +0000 (13:17 +0100)]
Fix wrong memory access.

11 years agoBetter to inicializa prefix fully in the constructor body.
František Dvořák [Wed, 23 Oct 2013 17:14:46 +0000 (19:14 +0200)]
Better to inicializa prefix fully in the constructor body.

11 years agoCare specially for the parent of the root (owned by root and 0755 permissions).
František Dvořák [Sat, 19 Oct 2013 19:17:29 +0000 (21:17 +0200)]
Care specially for the parent of the root (owned by root and 0755 permissions).

11 years agoMore elaborate error messages in removeDir().
František Dvořák [Sat, 19 Oct 2013 19:15:59 +0000 (21:15 +0200)]
More elaborate error messages in removeDir().

11 years agoFix removeDir() - no metadata check just for checking cwd.
František Dvořák [Sat, 19 Oct 2013 19:15:59 +0000 (21:15 +0200)]
Fix removeDir() - no metadata check just for checking cwd.

11 years agoCleanup around parent paths evaluation. "." is replaced by full current working direc...
František Dvořák [Sat, 19 Oct 2013 19:15:59 +0000 (21:15 +0200)]
Cleanup around parent paths evaluation. "." is replaced by full current working directory, other relative paths are untouched.

11 years agoNo reading xattrs in extendedStat when not needed, follow symlinks by default.
František Dvořák [Thu, 17 Oct 2013 19:44:45 +0000 (21:44 +0200)]
No reading xattrs in extendedStat when not needed, follow symlinks by default.

11 years agoBasic authn check (based only on the user name and catalog path).
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).

11 years agoReshuffle extendedStat().
František Dvořák [Thu, 17 Oct 2013 17:48:01 +0000 (19:48 +0200)]
Reshuffle extendedStat().

11 years agoReplace all syslog() calls by internal macro.
František Dvořák [Thu, 17 Oct 2013 17:48:01 +0000 (19:48 +0200)]
Replace all syslog() calls by internal macro.

11 years agoAlways enable syslog, new debug() and log() definitions.
František Dvořák [Thu, 17 Oct 2013 17:48:01 +0000 (19:48 +0200)]
Always enable syslog, new debug() and log() definitions.

11 years agoFix readLink() and namepsace local disk prefix, using class buffer instead of local...
František Dvořák [Thu, 17 Oct 2013 17:48:01 +0000 (19:48 +0200)]
Fix readLink() and namepsace local disk prefix, using class buffer instead of local buffer in the stack.

11 years agoHelper function for setting user extended attribute.
František Dvořák [Thu, 17 Oct 2013 17:48:00 +0000 (19:48 +0200)]
Helper function for setting user extended attribute.

11 years agoNo problem with bool type in Extensible class anymore.
František Dvořák [Thu, 17 Oct 2013 17:48:00 +0000 (19:48 +0200)]
No problem with bool type in Extensible class anymore.

11 years agoPolishing comments (getParentPath()).
František Dvořák [Thu, 17 Oct 2013 17:48:00 +0000 (19:48 +0200)]
Polishing comments (getParentPath()).

11 years agoMore friendly error message for makeDir("").
František Dvořák [Thu, 17 Oct 2013 17:48:00 +0000 (19:48 +0200)]
More friendly error message for makeDir("").

11 years agoAllowWrite and DenyWrite config options.
František Dvořák [Thu, 17 Oct 2013 17:47:55 +0000 (19:47 +0200)]
AllowWrite and DenyWrite config options.

11 years agoFix uploading into subdirectories (mkdir()s moved from PoolHandler to IO Driver)...
František Dvořák [Tue, 15 Oct 2013 11:35:28 +0000 (13:35 +0200)]
Fix uploading into subdirectories (mkdir()s moved from PoolHandler to IO Driver), added debugging.

11 years agoInsidious error in getParent(), but the bug probably didn't surface.
František Dvořák [Tue, 15 Oct 2013 11:35:28 +0000 (13:35 +0200)]
Insidious error in getParent(), but the bug probably didn't surface.

11 years agoDisk prefix - support in VFS IO Driver.
František Dvořák [Tue, 15 Oct 2013 11:35:28 +0000 (13:35 +0200)]
Disk prefix - support in VFS IO Driver.

11 years agoMore elaborate error messages from VFS IO driver and debugging.
František Dvořák [Tue, 15 Oct 2013 11:35:28 +0000 (13:35 +0200)]
More elaborate error messages from VFS IO driver and debugging.

11 years agoPoolDriver needs the namespace prefix.
František Dvořák [Tue, 15 Oct 2013 11:35:28 +0000 (13:35 +0200)]
PoolDriver needs the namespace prefix.

11 years agoDisk prefix in PoolDriver.
František Dvořák [Tue, 15 Oct 2013 11:35:28 +0000 (13:35 +0200)]
Disk prefix in PoolDriver.

11 years agoNamespace prefix - NSPrefix.
František Dvořák [Tue, 15 Oct 2013 11:35:20 +0000 (13:35 +0200)]
Namespace prefix - NSPrefix.

11 years agoSupport for user extended attributes.
František Dvořák [Tue, 15 Oct 2013 11:17:01 +0000 (13:17 +0200)]
Support for user extended attributes.

11 years agoCheck permissions when changing dir.
František Dvořák [Tue, 15 Oct 2013 11:17:00 +0000 (13:17 +0200)]
Check permissions when changing dir.

11 years agoopendir()/readdir() improvements:
František Dvořák [Tue, 15 Oct 2013 11:17:00 +0000 (13:17 +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

11 years agoDebugging through syslog, only with -DDEBUG.
František Dvořák [Tue, 15 Oct 2013 11:17:00 +0000 (13:17 +0200)]
Debugging through syslog, only with -DDEBUG.

11 years agoWrite mode support in PoolHandler and PoolManager. PoolManager calls catalog functions.
František Dvořák [Tue, 15 Oct 2013 11:17:00 +0000 (13:17 +0200)]
Write mode support in PoolHandler and PoolManager. PoolManager calls catalog functions.

11 years agoProper support for IODriver::kInsecure.
František Dvořák [Tue, 15 Oct 2013 11:17:00 +0000 (13:17 +0200)]
Proper support for IODriver::kInsecure.

11 years agoMore verbose permission error messages.
František Dvořák [Tue, 15 Oct 2013 11:16:54 +0000 (13:16 +0200)]
More verbose permission error messages.

11 years agocheckPermission() implementation - possible to limit certificates by regular expressi...
František Dvořák [Thu, 10 Oct 2013 12:44:14 +0000 (14:44 +0200)]
checkPermission() implementation - possible to limit certificates by regular expressions (Allow and Deny in plugin configuration).

11 years agoComment out st_nlink workaround for now (fixes indirect recursion).
František Dvořák [Thu, 10 Oct 2013 12:44:14 +0000 (14:44 +0200)]
Comment out st_nlink workaround for now (fixes indirect recursion).

11 years agoAdd permissions check to catalog calls (but always returning OK for now, only print...
František Dvořák [Thu, 10 Oct 2013 12:44:14 +0000 (14:44 +0200)]
Add permissions check to catalog calls (but always returning OK for now, only print ugly debug message).

11 years agoFix recurion in utime().
František Dvořák [Thu, 10 Oct 2013 12:44:14 +0000 (14:44 +0200)]
Fix recurion in utime().

11 years agoFix readLink(): readlink() doesn't add ending null character.
František Dvořák [Thu, 10 Oct 2013 12:44:13 +0000 (14:44 +0200)]
Fix readLink(): readlink() doesn't add ending null character.

11 years agotest-rename test hack.
František Dvořák [Thu, 10 Oct 2013 12:44:13 +0000 (14:44 +0200)]
test-rename test hack.

11 years agoFix readDir() (no exception on the end), hacky fix of st_nlink on directories.
František Dvořák [Thu, 10 Oct 2013 12:44:13 +0000 (14:44 +0200)]
Fix readDir() (no exception on the end), hacky fix of st_nlink on directories.

11 years agoFix the recursion in umask() call.
František Dvořák [Thu, 10 Oct 2013 12:44:13 +0000 (14:44 +0200)]
Fix the recursion in umask() call.

11 years agoCheck if we don't remove current directory in removeDir() (test-chdir).
František Dvořák [Thu, 10 Oct 2013 12:44:13 +0000 (14:44 +0200)]
Check if we don't remove current directory in removeDir() (test-chdir).

11 years agoSimple authentization: no credentials used and only current effective local user...
František Dvořák [Thu, 10 Oct 2013 12:43:58 +0000 (14:43 +0200)]
Simple authentization: no credentials used and only current effective local user supported.

11 years agoBetter behaviour for test-access:
František Dvořák [Wed, 9 Oct 2013 12:05:57 +0000 (14:05 +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

11 years agoCatalog symlink(), unlink(), mkdir(), rename((), removeDir() implementations.
František Dvořák [Wed, 9 Oct 2013 12:05:57 +0000 (14:05 +0200)]
Catalog symlink(), unlink(), mkdir(), rename((), removeDir() implementations.

11 years agoCatalog setSize() and utime() implementation.
František Dvořák [Wed, 9 Oct 2013 12:05:57 +0000 (14:05 +0200)]
Catalog setSize() and utime() implementation.

11 years agoCatalog create(), setMode() implementation, setOwner() not supported.
František Dvořák [Wed, 9 Oct 2013 12:05:57 +0000 (14:05 +0200)]
Catalog create(), setMode() implementation, setOwner() not supported.

11 years agoCatalog access() implementation.
František Dvořák [Wed, 9 Oct 2013 12:05:57 +0000 (14:05 +0200)]
Catalog access() implementation.

11 years agoAdd format strings versions of throw helper functions.
František Dvořák [Wed, 9 Oct 2013 12:05:46 +0000 (14:05 +0200)]
Add format strings versions of throw helper functions.

11 years agoAdd support for classname (using getImplId()).
František Dvořák [Thu, 12 Sep 2013 15:38:47 +0000 (17:38 +0200)]
Add support for classname (using getImplId()).

11 years agoChange wrap calls in VFS plugin.
František Dvořák [Wed, 11 Sep 2013 13:59:42 +0000 (15:59 +0200)]
Change wrap calls in VFS plugin.

12 years agoLCGDM-902: VFS adapted to new API
Alejandro Álvarez Ayllón [Tue, 18 Dec 2012 10:07:57 +0000 (10:07 +0000)]
LCGDM-902: VFS adapted to new API

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@8050 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-794: Adapted to new API
Alejandro Álvarez Ayllón [Wed, 12 Dec 2012 15:01:10 +0000 (15:01 +0000)]
LCGDM-794: Adapted to new API

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@8018 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-847: getReplica => getReplicaByRFN
Alejandro Álvarez Ayllón [Thu, 15 Nov 2012 16:43:39 +0000 (16:43 +0000)]
LCGDM-847: getReplica => getReplicaByRFN

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7798 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-825: Enforcing compilation with 64 bits definitions.
Alejandro Álvarez Ayllón [Thu, 15 Nov 2012 16:22:30 +0000 (16:22 +0000)]
LCGDM-825: Enforcing compilation with 64 bits definitions.

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7791 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-804: Mode parameter added to dmlite_fopen/createIOHandler. Default 660.
Ricardo Rocha [Mon, 5 Nov 2012 17:02:51 +0000 (17:02 +0000)]
LCGDM-804: Mode parameter added to dmlite_fopen/createIOHandler. Default 660.

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7653 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-737: plugin configuration files should go directly to its place in /etc/dmlite...
Ricardo Rocha [Thu, 25 Oct 2012 12:40:11 +0000 (12:40 +0000)]
LCGDM-737: plugin configuration files should go directly to its place in /etc/dmlite.conf.d.

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7491 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-681: Added plugin_config, which is able to process 'Include' directives
Alejandro Álvarez Ayllón [Mon, 3 Sep 2012 15:12:01 +0000 (15:12 +0000)]
LCGDM-681: Added plugin_config, which is able to process 'Include' directives

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7082 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-669: Error codes propagated to plugins and dav
Alejandro Álvarez Ayllón [Tue, 28 Aug 2012 14:59:56 +0000 (14:59 +0000)]
LCGDM-669: Error codes propagated to plugins and dav

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7044 4525493e-7705-40b1-a816-d608a930855b

12 years agoremoved explicit requires on dmlite-libs (rely on rpmbuild instead).
Ricardo Rocha [Thu, 23 Aug 2012 12:41:05 +0000 (12:41 +0000)]
removed explicit requires on dmlite-libs (rely on rpmbuild instead).

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7018 4525493e-7705-40b1-a816-d608a930855b

12 years agoLCGDM-666: vfs plugin added
Alejandro Álvarez Ayllón [Mon, 20 Aug 2012 14:26:03 +0000 (14:26 +0000)]
LCGDM-666: vfs plugin added

git-svn-id: https://svn.cern.ch/reps/lcgdm/dmlite-plugins-vfs/trunk@7000 4525493e-7705-40b1-a816-d608a930855b