PDA

View Full Version : changing the default files/folders attributes


hai2u
04-09-2007, 10:03 PM
OK, whenever I transfer a file or folder, the following permissions are set automatically:

Owner
- Read
- Write
- Execute

- 700


However, I want the following permssion set to ALL files/folders upon the beginning of a transfer:

Owner/Group/Public
- Read
- Write
- Execute

- 777


How do I make this possible (permission = 777)? I've looked at every setting and still can't find the option to do so. I'm using the very latest FlashFXP build.




Thanks in advance.

MxxCon
04-09-2007, 11:55 PM
flashfxp doesn't set those permissions, server does.

if you want all new files to have some other permissions, you should reconfigure the server to do that.

hai2u
04-10-2007, 07:14 AM
Can FlashFXP "lock" files?

MxxCon
04-10-2007, 07:38 AM
what do you mean by "lock"?
is that some pub'ing term?

hai2u
04-10-2007, 08:19 AM
In your first reply, you said that FlashFXP doesn't set permissions... the server does. So I did a little test - there are other users on the server and they don't have any problem setting the correct permissions. Meaning, if they transfer something, the permissions are automatically (correctly) set to 777.

I then used one of the "working" accounts to see whether I would get the same result (file/folder permissions set to 777) and unfortunately, for some strange reason, my transfer still sets the folder's permission to 700!

The account owner then tried to transfer the exact same file using the exact same account that I used for testing and guess what - the file's permissions are correctly set to 777!

So clearly, there must be something wrong on my end because the others don't have any problem with their accounts + permissions and if I use any of the other (working) accounts, then, the wrong permissions will be set again!

bigstar
04-10-2007, 09:15 AM
FlashFXP doesn't automatically set file permissions after transfer, you must manually change them.

The ftp server might have an option to allow you to set the default permission mask.

MxxCon
04-10-2007, 09:43 AM
in addition to what bigstar said, other users might be using some ftp client that changes permissions without notification, that's why it appears to work correctly. in reality server is still setting permission not the way you want.