I'm receiving CV trough webform from here: http://www.forniture-alberghiere.net/?q=it/prevetivi-forniturealberghiere
But when I try to delete a submission, then I get this error:
warning: unlink(sites/default/files/webform/cv/miniguida-alle-penalizzazioni-di-google.pdf) [function.unlink]: Permission denied in /home/fornitur/public_html/forniture-alberghiere.net/sites/all/modules/webform/components/file.inc on line 452.

At the first time nothing is happen , at the second received again the same message, but then he deleted the submission anyway.

Comments

quicksketch’s picture

This is Webform trying to delete a file that was uploaded with the submission. Seems like there's a permissions problem with the uploaded file that makes it so that Webform is not able to delete the file. Does this happen with new submissions (create a new submission, upload a file, then try to delete the submission)?

matteoraggi’s picture

Yes this submission was wih a pdf file, I remember it good and this was stored in custom folder CV (Curriculum Vitae) so maybe I have to add CHMOD 777 to CV folder and then maybe will be al right ?

quicksketch’s picture

Status: Active » Closed (fixed)

Yes that sounds like the appropriate solution. If you're moving files around or changing them in FTP, you'll likely change the permissions in a way that makes it so that Drupal can no longer delete those files. I'm going to go ahead and close this issue considering it's age.