Utshintsha njani umnini wefolda kwiLinux

ifolda yomnini

Xa inkqubo isetyenziswa ngabasebenzisi abaninzi, okanye ngumsebenzisi omnye kodwa kufuneka utshintshe ulawulo lomnini, njengeakhawunti yenkqubo ethile, njalo njalo, kufuneka wazi. utshintsha njani umnini wencwadi kwilinux. Kukho iindlela ezininzi zokuyenza, njengoko ndiza kukuchazela kwesi sifundo sifutshane, kwaye uya kuba nakho ukuyilandela inyathelo ngenyathelo ukwenza kube lula kakhulu, nokuba ungumqali kwihlabathi leLinux. Njengoko ubona, akukho nzima kakhulu.

Ukwenza lo msebenzi uzakufuna amalungelo, ngoko ke kufuneka uphumeze le miyalelo ilandelayo ngokulungiselela i-sudo okanye ingcambu, njengoko ukhetha. Ke, sele siyithethile loo nto, masisebenzise i chown umyalelo, evela kumnini wotshintsho, kwaye isetyenziswe ngokuchanekileyo ukutshintsha iqela okanye umnini wayo nayiphi na ifayile okanye incwadi. Isivakalisi ngokubanzi salo myalelo simi ngolu hlobo lulandelayo:

chown [ukhetho] umsebenzisi[:iqela] /ifayile

Oko kukuthi, kuya kufuneka udibanise iinketho ozifunayo, endaweni yomsebenzisi endaweni yomsebenzisi (ungasebenzisa kwakhona i-ID yomsebenzisi ukuba uyakhetha) ofuna ukuyibeka kuyo, kwaye ilandelwa yikholoni kunye neqela elitsha (nangona oku ayikhethwanga ) kwaye ekugqibeleni bonisa ifayile okanye ulawulo ofuna ukulutshintsha ubunini. Masibone umzekelo osebenzayo yokusetyenziswa. Khawufane ucinge ukuba unolawulo olubizwa /ikhaya/manolito/uvavanyo/ofuna ukulutshintsha ukusuka kumnini-manolito ukuya kumnini ogama linguagus. Kule meko, kuya kuba lula njengokusebenzisa lo myalelo:

sudo chown agus /home/manolito/prueba/

Kuya kuba lula ngolo hlobo. Kwaye ukuba ufuna ukuba iphindeke, ukuze ichaphazele oovimba beefayili ngokunjalo, ngoko ungasebenzisa i -R ukhetho phakathi kwe-chown kunye ne-agus kulo mzekelo. Ngokomzekelo, kuya kuba yinto efana nale:

sudo chown -R agus /home/manolito/prueba/

Njengoko ubona, kulula kakhulu ukutshintsha abanini bolawulo okanye nayiphi na ifayile yenkqubo ngalo myalelo.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.