Link to home
Create AccountLog in
Avatar of keith1001
keith1001Flag for United States of America

asked on

Dreamweaver - Uploads files and set permissions to 664 and should be 644

When uploading files from Dreamweaver via FTP or SFTP, the files get permission values of 664.  They should be 644.   What is causing this?  Where do I change this in dreamweaver or is my webserver doing this?
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of keith1001

ASKER

Thats what I keep telling my hosting provider.  They say the FTP software (Dreamweaver is doing this).

When I use Filezilla, and do an FTP, it sets them to 644, bur when I do it via Dreamweaver, they get set to 664.
Can you do some uploads and then check the DW FTP log (Site | Advanced | FTP Log) and report back?
< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
 < 220-You are user number 11 of 50 allowed.
 < 220-Local time is now 13:40. Server port: 21.
 < 220-This is a private system - No anonymous login
 < 220-IPv6 connections are also welcome on this server.
 < 220 You will be disconnected after 15 minutes of inactivity.
 > USER vabus891
 < 331 User vabus891 OK. Password required
 > PASS
 < 230-User vabus891 has group access to:  vabus891  
 < 230 OK. Current restricted directory is /
 > PWD
 < 257 "/" is your current location
 > PWD
 < 257 "/" is your current location
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > MKD MM_CASETEST4291
 < 257 "MM_CASETEST4291" : The directory was successfully created
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > RMD MM_CASETEST4291
 < 250 The directory was successfully removed
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > PWD
 < 257 "/public_html" is your current location
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > PASV
 < 227 Entering Passive Mode (216,22,2,198,125,185)
 > TYPE A
 < 200 TYPE is now ASCII
 > LIST
 < 150 Accepted data connection
 < drwxr-x---    3 vabus891   99               2048 Feb 15 13:40 .
 < drwx--x--x    8 vabus891   vabus891         2048 Feb 11 14:34 ..
 < -rw-r--r--    1 vabus891   vabus891         3748 Jul 29  2010 bg-footer.png
 < drwxr-xr-x    2 vabus891   vabus891         2048 Feb 11 14:31 cgi-bin
 < -rw-r--r--    1 vabus891   vabus891          760 Jul 29  2010 index.php
 < -rw-r--r--    1 vabus891   vabus891        53396 Jul 29  2010 logo-800-307.jpg
 < -rw-r--r--    1 vabus891   vabus891          435 Jul 29  2010 skeleton.css
 < -rw-rw-r--    1 vabus891   vabus891          316 Feb 15 13:39 test.php
 < 226-Options: -a -l
 < 226 8 matches total
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > PASV
 < 227 Entering Passive Mode (216,22,2,198,131,7)
 > TYPE A
 < 200 TYPE is now ASCII
 > LIST
 < 150 Accepted data connection
 < drwxr-x---    3 vabus891   99               2048 Feb 15 13:40 .
 < drwx--x--x    8 vabus891   vabus891         2048 Feb 11 14:34 ..
 < -rw-r--r--    1 vabus891   vabus891         3748 Jul 29  2010 bg-footer.png
 < drwxr-xr-x    2 vabus891   vabus891         2048 Feb 11 14:31 cgi-bin
 < -rw-r--r--    1 vabus891   vabus891          760 Jul 29  2010 index.php
 < -rw-r--r--    1 vabus891   vabus891        53396 Jul 29  2010 logo-800-307.jpg
 < -rw-r--r--    1 vabus891   vabus891          435 Jul 29  2010 skeleton.css
 < -rw-rw-r--    1 vabus891   vabus891          316 Feb 15 13:39 test.php
 < 226-Options: -a -l
 < 226 8 matches total
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > PASV
 < 227 Entering Passive Mode (216,22,2,198,122,177)
 > TYPE A
 < 200 TYPE is now ASCII
 > STOR test.php
 < 150 Accepted data connection
 < 226-File successfully transferred
 < 226 0.044 seconds (measured here), 7.07 Kbytes per second
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > PASV
 < 227 Entering Passive Mode (216,22,2,198,125,78)
 > TYPE A
 < 200 TYPE is now ASCII
 > LIST
 < 150 Accepted data connection
 < drwxr-x---    3 vabus891   99               2048 Feb 15 13:40 .
 < drwx--x--x    8 vabus891   vabus891         2048 Feb 11 14:34 ..
 < -rw-r--r--    1 vabus891   vabus891         3748 Jul 29  2010 bg-footer.png
 < drwxr-xr-x    2 vabus891   vabus891         2048 Feb 11 14:31 cgi-bin
 < -rw-r--r--    1 vabus891   vabus891          760 Jul 29  2010 index.php
 < -rw-r--r--    1 vabus891   vabus891        53396 Jul 29  2010 logo-800-307.jpg
 < -rw-r--r--    1 vabus891   vabus891          435 Jul 29  2010 skeleton.css
 < -rw-rw-r--    1 vabus891   vabus891          316 Feb 15 13:40 test.php
 < 226-Options: -a -l
 < 226 8 matches total
 > CWD /public_html
 < 250 OK. Current directory is /public_html
 > PASV
 < 227 Entering Passive Mode (216,22,2,198,117,66)
 > TYPE A
 < 200 TYPE is now ASCII
 > LIST
 < 150 Accepted data connection
 < drwxr-x---    3 vabus891   99               2048 Feb 15 13:40 .
 < drwx--x--x    8 vabus891   vabus891         2048 Feb 11 14:34 ..
 < -rw-r--r--    1 vabus891   vabus891         3748 Jul 29  2010 bg-footer.png
 < drwxr-xr-x    2 vabus891   vabus891         2048 Feb 11 14:31 cgi-bin
 < -rw-r--r--    1 vabus891   vabus891          760 Jul 29  2010 index.php
 < -rw-r--r--    1 vabus891   vabus891        53396 Jul 29  2010 logo-800-307.jpg
 < -rw-r--r--    1 vabus891   vabus891          435 Jul 29  2010 skeleton.css
 < -rw-rw-r--    1 vabus891   vabus891          316 Feb 15 13:40 test.php
 < 226-Options: -a -l
 < 226 8 matches total
Ended being something on the VPS>
Keith,

That was my first response:  http:#a34899429

You are correct, its been a crazy day with this issue did not scroll back up to see your first post.
Thanks, man.  Good to know I'm not the only one suffering today...