Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Default permissions for new file

hopefully easy an question



9:24 pm on Jan 10, 2007 (gmt 0)

10+ Year Member

When I upload a file using FTP, the permissions are rw-r-r.

I want them to be rw-rw-rw.

I don't seem to have chmod ability in the FTP client (it's a windows dll I use in a custom app). Is there a way to tell the UNIX file system to set default permissions for new files as rw-rw-rw?


5:22 am on Jan 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

The permissions should be governed by the 'umask' setting in the FTP server configuration. The usual setting of umask 022 yields rw-r--r--, and a umask 0 would yield rw-rw-rw-.

Featured Threads

Hot Threads This Week

Hot Threads This Month