[vhffs-dev] [1350] sftp-server is using link(), now allowing it

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1350
Author:   gradator
Date:     2009-02-22 00:49:00 +0100 (Sun, 22 Feb 2009)

Log Message:
-----------
sftp-server is using link(), now allowing it

Modified Paths:
--------------
    trunk/vhffs-fs/vhffsfs.c


Modified: trunk/vhffs-fs/vhffsfs.c
===================================================================
--- trunk/vhffs-fs/vhffsfs.c	2009-02-21 23:18:49 UTC (rev 1349)
+++ trunk/vhffs-fs/vhffsfs.c	2009-02-21 23:49:00 UTC (rev 1350)
@@ -1462,7 +1462,6 @@
 
 static int vhffsfs_link(const char *from, const char *to)
 {
-/* -- DISABLED - user must not be allowed to create that !
 	int res;
 	char *rfrom, *rto;
 	uid_t uid;
@@ -1493,8 +1492,6 @@
 
 	if(res == -1) return -errno;
 	return 0;
-*/
-	return -EACCES;
 }
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/