Renaming a file on Debian Wheezy does not work using fs.rename or fs.renameSync.
This only happens in files moved from /tmp/ to another location.
The reported error is: EXDEV, cross-device link not permitted.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Debian Wheezy uses tmpfs for the /tmp folder by default.
This can be turned off by modifing /etc/default/rcS.
has to be set to