On 05/09/03 14:13 +0530, Srinivas wrote:
>     when I upload any file in sftp server I want the defaut permession of 
> that file is 222( Means only Read Permession). How I will do that? For that I 
> need to write any program or any other way?. Any one plz help me regarding 
> this.
222 is --w--w--w-
444 is -r--r--r--
111 is ---x--x--x

umask is your friend. Its a bash builtin.

Devdas Bhagat


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to