Am I posting this to the wrong place? The bug tracker says to post bugs and patches to the lists first, but I haven't seen any response... > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:openfiler-devel- > [EMAIL PROTECTED] On Behalf Of James Harper > Sent: Friday, 5 January 2007 14:28 > To: [email protected] > Subject: [OF-devel] Problems with 'shadow copy' symlinks > > I have just started testing openfiler (2.2.r1144-1-1)and have spotted a > few issues with the symlinks created for the Shadow Copy stuff: > > 1. symlinks to the shadow copy are supposed to be named based on GMT but > are actually created in local time, which means windows reports the > incorrect shadow copy date. The attached patch corrects this by using > gmdate instead of date to generate the symlink names. > > 2. Links are only created when the snapshot is shared via smb, instead > of only when the original volume is shared via smb. The attached patch > corrects this by removing a clause from the if statement around this > code. When the actual snapshot is shared, the @GMT- symlinks show up and > it looks horrible... not sure what can be done about that though. > > 3. Links aren't removed when the lvm snapshot is deleted. This is > because generate.incl does a readdir on the mounted folder, but the > openfiler user/group does not have access to do this (or at least it > doesn't on my system). The attached patch corrects this by using sudo to > call find -delete with the appropriate flags. > > The attached patch to include/generate.incl works for me, but I've not > really used php or openfiler before, so please be kind :) > > Thanks for a great product!!! > > James >
generate.incl.patch
Description: generate.incl.patch
_______________________________________________ Openfiler-devel mailing list [email protected] https://lists.openfiler.com/mailman/listinfo/openfiler-devel
_______________________________________________ Openfiler-users mailing list [email protected] https://lists.openfiler.com/mailman/listinfo/openfiler-users
