homepage Welcome to WebmasterWorld Guest from 54.166.53.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Default permissions for new file
hopefully easy an question
expat123

10+ Year Member



 
Msg#: 3215271 posted 9:24 pm on Jan 10, 2007 (gmt 0)

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?

 

mcavic

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3215271 posted 5:22 am on Jan 11, 2007 (gmt 0)

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-.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved