بازگشت   پی سی سیتی > کامپیوتر اینترنت و شبکه Computer internet > سیستم عامل > لینوکس - linux

لینوکس - linux در این تالار مسائل مربوط به سیستم عامل قدرتمند لینوکس و هسته های مختلف آن , اخبار دانلود نرم افزارها و.... پرداخته میشود

پاسخ
 
ابزارهای موضوع نحوه نمایش
  #1  
قدیمی 02-28-2011
آموزش لینوکس 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.





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.




پاسخ با نقل قول
جای تبلیغات شما اینجا خالیست با ما تماس بگیرید




پاسخ


کاربران در حال دیدن موضوع: 1 نفر (0 عضو و 1 مهمان)
 
ابزارهای موضوع
نحوه نمایش

مجوز های ارسال و ویرایش
شما نمیتوانید موضوع جدیدی ارسال کنید
شما امکان ارسال پاسخ را ندارید
شما نمیتوانید فایل پیوست در پست خود ضمیمه کنید
شما نمیتوانید پست های خود را ویرایش کنید

BB code is فعال
شکلک ها فعال است
کد [IMG] فعال است
اچ تی ام ال غیر فعال می باشد



اکنون ساعت 03:35 PM برپایه ساعت جهانی (GMT - گرینویچ) +3.5 می باشد.



Powered by vBulletin® Version 3.8.4 Copyright , Jelsoft Enterprices مدیریت توسط کورش نعلینی
استفاده از مطالب پی سی سیتی بدون ذکر منبع هم پیگرد قانونی ندارد!! (این دیگه به انصاف خودتونه !!)
(اگر مطلبی از شما در سایت ما بدون ذکر نامتان استفاده شده مارا خبر کنید تا آنرا اصلاح کنیم)


سایت دبیرستان وابسته به دانشگاه رازی کرمانشاه: کلیک کنید




  پیدا کردن مطالب قبلی سایت توسط گوگل برای جلوگیری از ارسال تکراری آنها