نمایش پست تنها
  #1  
قدیمی 01-16-2009
آموزش لینوکس AP آواتار ها
آموزش لینوکس AP آموزش لینوکس AP آنلاین نیست.
کاربر خودکار-مقالات لینوکس
 
تاریخ عضویت: Jan 2009
نوشته ها: 53
سپاسها: : 0

0 سپاس در 0 نوشته ایشان در یکماه اخیر
پیش فرض Setup The Default File Permission آموزش

SETUP THE DEFAULT FILE PERMISSION
مقاله آموزشی لینوکس

Sometimes, if we don't change the default permission in linux after we make a new file, that's can't be edited cause the file default perimission for the file is read only.I think it's not so comfort if each we make new file we should change the permission first if we want to edit that. We can use umask command to setup the default permission for the file that have been created/make. The Syntax is like this :
lambanx@fresh-IDEA # umask [permission]

Example :
I want to setting the default permission for the file that have been made to full access for user,group, and other
lambanx@fresh-IDEA # umask 777


the 7 number is represent full access permission for the file, why the there are three 7 number above? cause i would like to setting permission for user,group, and other.
پاسخ با نقل قول
جای تبلیغات شما اینجا خالیست با ما تماس بگیرید