Ftp Save As default permissions

FTP, SFTP, FTPS, and SSH/telnet console issues

Ftp Save As default permissions

Postby bht » Tue Dec 04, 2012 5:22 pm

I’ve been using UltraEdit v18.20 for awhile to interact with a unix box using SFTP. It appears that FTP File Save As applies permissions as rw- r—r-- for new files. This is kind of a problem in that this permissions set tends to propagate, preventing others from accessing the program. I’ve tried the Advanced configuration (see 'File permissions', this section) but that does not work. I can touch the item first on UNIX, then access it in the editor or apply the permissions I need for the file manually in the FTP explorer. Is there a way to set the default permissions on the windows side before the FTP Save As is issued?
bht
Newbie
 
Posts: 1
Joined: Tue Dec 04, 2012 5:06 pm

Re: Ftp Save As default permissions

Postby Mofi » Wed Dec 05, 2012 5:26 am

I don't know of any setting in UltraEdit which results in an automatical usage of command chmod by UltraEdit after uploading a new file to a UNIX/Linux server to set the file permission to what you would prefer for newly uploaded files.

On Unix/Linux servers it is usually possible to configure the default file permissions on a per directory (tree) base via proftpd.conf as explained on page Configuring a <Directory> with Umask if ProFTPD is used on the server. Maybe you have access to this file or can contact the server hoster and ask if it is possible to change the umask value for the parent directory of the directory tree you use.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to FTP/SFTP / SSH/Telnet