Set your umask value to 555 for your user profile

umask 555

Read man umask for more details

Hope this helps
anand

-----Original Message-----
From: Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 2:13 PM
To: [EMAIL PROTECTED]
Subject: [LIH]how to change the file permessions when uploading


Dear all,


    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.


Thanx in advance.


Warm Regards,
Srinivas


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


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