I am writing a plugin that uploads images to a ftp server after they are created. The server has a web interface that can be used to delete the images later when needed. My problem is that the web interface cannot delete the images.
Any folders created by the web interface have chmod 777 whereas any folders created by Lightroom have chmod 755.
Any images by the web interface have chmod 666 but the lightroom uploaded images have 644.
This means that the folders and images uploaded by the ftp command in Lightroom do not have the group write permission. Because of this the web interface cannot delete the files, i think.
Is there any way that I can change these folder and image permissions with Lightroom? This is a major problem for me.
Also why doesn't the uploaded files and created folders automaticly have the permissions of the parents? This is the way it is when I create a folder in filezilla.
Andy, can you respond to this? (Even if it's a "you're out of luck" response.)
I had to do the following to get around the file permissions.
I created a php page on the server. I send this page information with a post command (ftp user, pass, server, foldername). This php file then uses the php ftp fuction to log in using the same information as Lightroom. It then changes the permissions on the directory. I have to do this after every directory that I create on the server using lightroom.
This is so stupid, Please tell me there is a eaiser way.
Any more info on this. I would love to do this in Lightroom or at least in version 3