[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

umask and permissions



i wish to use umask to automatically set newly created files the correct 
WWW permissions, so when i or a user uploads a file to public_html or 
creates a directory in public_html, the WWW permissions (uog+rx) are set 
... now from waht the manual said i can put this in teh users 
.login/.profile, but will this work when some one just ftp into ther 
account an uploads stuff?

also, can i set a universal umask in init or some such?


 ...................................................................
.   o   \ o /  _ o        __|    \ /     |__        o _  \ o /   o  .
.  /|\    |     /\   __\o   \o    |    o/    o/__   /\     |    /|\ .
.  / \   / \   | \  /) |    ( \  /o\  / )    |  (\  / |   / \   / \ .
.....................................................................
.                                                                   .
.....2......loose......2......break......2......tough....2....die....
The Australian Internet Company ------------------ ISP Par Exceliance




Reply to: