How to automatically set permissions on image files?

Advertisement

countytime
Joined:
Posts:
9

How to automatically set permissions on image files?

I'd like to automatically set media files to 644 because it would save me a lot of time and it's relatively safe. I tried setting up a transfer rule with a file mask for *.png, *.jpg, etc.

But it doesn't do anything. How would I go about doing this?

Ri53f6K.png

Reply with quote

Advertisement

countytime
Joined:
Posts:
9

Right. I guess I'm misunderstanding it, because it says:
In the File mask you can specify file mask to select/deselect files (or file types) and directories for the transfer. The option also selects files for synchronization and Keep remote directory up to date function.

Press Edit button to edit the file mask in File mask dialog.
So if I had a mask for those files, and then selected the permissions, it wouldn't set the permissions on those file types when I uploaded them?

Reply with quote

Advertisement

martin
Site Admin
martin avatar

countytime wrote:

So if I had a mask for those files, and then selected the permissions, it wouldn't set the permissions on those file types when I uploaded them?
Sure. But it won't upload the other files at all.

Reply with quote

countytime
Joined:
Posts:
9

I think I see. I thought you could set different rules; one rule would be to set permissions on image files, the other rule takes care of everything else. Like this:


My intention was to have the "media" rule catch media files and set them to 644.

Reply with quote

Advertisement

You can post new topics in this forum