[RSYNC] MAXPATHLEN set to 255 ?

Status
Not open for further replies.

NitamaNai

Cadet
Joined
Feb 27, 2012
Messages
2
Hi,

I try to backup an encrypted folder from a synology nas on freenas.
Because of the encryption, the path look like "/ECRYPTFS_FNEK_ENCRYPTED.FWb.3TSoMo3NJUZUkEMmZH86eF913qzhoGDH4nEuctEVT.cq1ojs19uW5k--/ECRYPTFS_FNEK_ENCRYPTED.FWb.3TSoMo3NJUZUkEMmZH86eF913qzhoGDH4nEuctEVT-vP-azr7RcgDy8jqU--/..."

When i backup, i have the issue
freenas rsyncd[8782]: overflow: xflags=0x78 l1=255 l2=817 lastname=ECRYPTFS_FNEK_ENCRYPTED.FWb.3TSoMo3NJUZUkEMmZH86eF913qzhoGDH4nEuctEVT.c....."
freenas rsyncd[8782]: ERROR: buffer overflow in recv_file_entry [generator]"

After a little search, i found this is because the max path length is set to 255.

Is it normal ?
Is there a way to increase this value without rebuild rsync ?

Thanks.
 
J

James

Guest
Please submit a ticket at support.freenas.org so that the devs can take a look at it.
 
Status
Not open for further replies.
Top