Cov kev tso cai yooj yim hauv GNU / Linux nrog chmod

Cov neeg zoo! 🙂 Ua ntej tshaj plaws, nws tsim nyog hais tias nws yog kuv thawj qhov kev pab rau lub zej zog, Kuv vam tias ib tus neeg yuav pom nws qhov muaj txiaj ntsig

=> Cov qauv ntawm kev tso cai hauv cov ntawv
=> Cov qauv ntawm kev tso cai nyob hauv phau ntawv sau qhia
=> Cov Neeg Siv, Pawg thiab Lwm Tus
=> Chmod octal

1.- Cov qauv yooj yim ntawm kev tso cai hauv cov ntaub ntawv

Muaj 3 qhov yooj yim rau cov ntawv yooj yim: nyeem, sau, thiab coj ua.

>> Nyeem kev tso cai (nyeem ntawv)
Yog tias koj muaj kev tso cai los nyeem cov ntawv, koj tuaj yeem pom nws cov ncauj lus.

>> Sau tso cai (sau ntawv)
Yog tias koj muaj kev tso cai los sau cov ntaub ntawv, koj tuaj yeem hloov kho cov ntawv. Koj tuaj yeem ntxiv, rho tawm lossis rho tawm nws cov ntsiab lus.

>> Ua rau muaj kev tso cai (ua tiav)
Yog tias cov ntawv tso cai ua tiav kev tso cai, ces koj tuaj yeem qhia qhov kev ua haujlwm kom khiav nws xws li nws yog qhov program. Yog tias nws yog qhov program hu ua "foo" peb tuaj yeem tsim nws raws li cov lus txib.
Los yog ib tsab ntawv (tus neeg txhais lus) uas xav tau kev nyeem thiab ua kom tso cai, ib qho kev tso ua ke tsuas yog xav nyeem.

 

Cov cim ntaus nqi los ntawm cov kev tso cai yog:
r txhais tau tias sau thiab los ntawm READ
w txhais tau tias nyeem thiab los ntawm Wkev teev ntuj
x txhais tau tias tua thiab los ntawm eXzoo

Siv chmod hloov pauv kev tso cai
chmod (hloov hom) yog qhov hais kom ua los hloov pauv kev tso cai, koj tuaj yeem ntxiv lossis tshem tawm cov kev tso cai rau ib lossis ntau cov ntaub ntawv nrog + (ntxiv rau) lossis - (rho tawm)

Yog tias koj xav tiv thaiv koj tus kheej los ntawm hloov kho cov ntawv tseem ceeb, tsuas yog tshem tawm cov ntawv tso cai ntawm koj "ntawv" nrog chmod hais kom ua

Tshooj lej:
Cov Lus Qhia: Ntau tshaj 400 lus txib rau GNU / Linux uas koj yuav tsum paub 😀
$ chmod -w kojFile

Yog tias koj xav ua ib qho kev sau tiav, sau

$ chmod + x tuScript

yog tias koj xav tshem tawm lossis ntxiv tag nrho cov cwj pwm ib zaug

$ chmod -rwx ntawv $ chmod + rwx ntawv

Koj tseem tuaj yeem siv cov cim = tso cai (sib npaug) los tsim cov kev tso cai nyob rau hauv kev sib txuam, qhov kev hais kom ua no tshem tawm cov sau thiab ua qhov kev tso cai tawm tsuas yog nyeem

$ chmod = r ntawv

Xyuam xim nrog kho cov kev tso cai ntawm koj cov ntaub ntawv, yog tias koj hloov lawv tsis txhob hnov ​​qab lawv tawm raws li qhov lawv tau ua dhau los

2.- Cov txheej txheem kev tso cai ntawm cov ntawv tso cai ncaj qha

Nyob rau hauv cov ntaub ntawv ntawm phau ntawv sau npe peb muaj kev tso cai ib yam, tab sis muaj lub ntsiab lus sib txawv.

Tshooj lej:
4 cov lus txib kom paub cov ntaub ntawv los ntawm peb HDD lossis muab faib

>> Nyeem kev tso cai ntawm ib phau ntawv
Yog cov ntawv qhia tau nyeem tso cai, koj tuaj yeem pom cov ntaub ntawv nws muaj. Koj tuaj yeem siv "ls (sau npe)" los saib nws cov ntsiab lus, uas koj tau nyeem kev tso cai ntawm cov ntawv taw qhia tsis txhais tau tias koj tuaj yeem nyeem cov ntsiab lus ntawm nws cov ntawv yog tias koj tsis tau nyeem kev tso cai ntawm cov.

 

>> Sau kev tso cai ntawm cov npe.
Nrog kev tso cai sau koj tuaj yeem ntxiv, tshem tawm lossis tshem cov ntaub ntawv mus rau hauv phau ntawv

>> Ua kev tso cai ntawm phau ntawv.
Kev tso cai tso cai rau koj siv lub npe ntawm cov ntawv qhia thaum koj nkag mus saib cov ntaub ntawv hauv cov ntawv ntawd, uas yog, kev tso cai no ua rau nws coj mus rau hauv kev tshawb nrhiav los ntawm lub program, piv txwv li, cov npe uas tsis muaj kev tso cai ua tiav yuav tsis raug kuaj los ntawm cov lus txib nrhiav tau

3.- Cov neeg siv, Pawg thiab lwm tus

Tam sim no peb paub txog 3 qhov kev tso cai thiab yuav ua li cas ntxiv lossis tshem tawm, tab sis cov 3 kev tso cai no tau muab cia rau hauv 3 qhov chaw sib txawv hu ua.
Tus neeg siv (u) los ntawm tus neeg siv khoom
Pawg (g) los ntawm pab pawg
Lwm tus (lossis) los ntawm lwm tus

Thaum koj khiav

$ chmod = r ntawv

Hloov cov kev tso cai nyob rau hauv 3 qhov chaw, thaum koj sau cov phau ntawv teev npe nrog "ls -l" koj yuav pom qee yam zoo li.

-r - r - r-- 1 wada cov neeg siv 4096 Apr 13 19:30 cov ntaub ntawv

nco ntsoov cov 3 r ntawd rau 3 ntau hom kev tso cai

qhov twg:

x ------------- x ------------- x | tso cai | belongs | x ------------- x ------------- x | rwx ------ | neeg siv | | --- rx --- | pawg | | ------ rx | lwm | x ------------- x ------------- x

peb tuaj yeem tshem cov ntawv tso cai rau txhua tus tswv; xav tias peb muaj ntawv ua ntaub ntawv:

-rwxr-xr-x 1 wada cov neeg siv 4096 Apr 13 19:30 cov ntaub ntawv

Txhawm rau tshem tawm cov kev tso cai ua tiav rau pawg thiab lwm tus, tsuas yog siv:

$ chmod gx, ox ntawv

peb cov ntawv yuav muaj cov kev tso cai

-rwxr - r-- 1 wada cov neeg siv 4096 Apr 13 19:30 cov ntaub ntawv

Yog tias koj xav tshem tawm cov ntawv sau tso cai:

$ chmod ux ntawv
-r-xr - r-- 1 wada cov neeg siv 4096 Apr 13 19:30 cov ntaub ntawv

Ntxiv thiab tshem tawm ob qho kev tso cai tib lub sijhawm:

$ chmod u-x + w ntawv
-rw-r - r-- 1 wada cov neeg siv 4096 Apr 13 19:30 cov ntaub ntawv

Txoj cai yooj yim heev? loj_smile

4.- chmod hauv octal

Lub octal sawv cev ntawm chmod yog yooj yim heev

Nyeem Ntawv muaj tus nqi ntawm 4
Sau Ntawv muaj tus nqi ntawm 2
Tiav muaj tus nqi ntawm 1

Tom qab ntawd:

x ----- x ----- x ----------------------------------- x | rwx | 7 | Nyeem, sau thiab ua tiav | | rw- | 6 | Nyeem Ntawv, sau ntawv | | rx | 5 | Nyeem thiab tua | | r-- | 4 | Nyeem | | -wx | 3 | Sau thiab tua tiav | | -w- | 2 | Sau | | --x | 1 | Tua Kev | | --- | 0 | Tsis muaj kev tso cai | x ----- x ----- x ----------------------------------- x

Yog li:

x ------------------------ x ----------- x | chmod u = rwx, g = rwx, o = rx | chmod 775 | | chmod u = rwx, g = rx, o = | chmod 760 | | chmod u = rw, g = r, o = r | chmod 644 | | chmod u = rw, g = r, o = | chmod 640 | | chmod u = rw, mus = | chmod 600 | | chmod u = rwx, mus = | chmod 700 | x ------------------------ x ----------- x

Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

76 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   AurosZx said

    Kuv yeej tsis ua kev nkag siab ntawm lub octals 😛 Ua tsaug rau tsab xov xwm!

    1.    woqer ua said

      qhov ua kom yuam kev yooj yim yog kom pom nws hauv binary: rwx sawv cev 3 me me (Nyeem, Sau, eXecute). Yog tias koj xav nyeem thiab sau ntawv tso cai, koj yuav muaj 110 binary, uas nyob rau hauv octal yog tus lej 4. Tsis tas li ntawd yog tias koj paub tias nws tau txhim tsa raws li GUO (Pab Pawg, Cov Neeg Siv, Lwm Tus) koj tau ua tiav. Piv txwv li: nyeem, sau thiab ua rau pab pawg thiab tus neeg siv; kev nyeem ntawv thiab kev ua tau zoo rau lwm tus; yuav nyob: 111,111,101 -> 775

      1.    phico said

        Ua tsaug rau koj. Kuv tsis tau pom dua li ntawd

      2.    R1791 said

        Ua tib zoo vim hais tias 110 binary tsis yog tus lej 4 hauv octal.
        Tus lej binary 110 yog octal tus lej 6

    2.    anonymous said

      Yeej peb muaj ntawm ib sab cov neeg siv lossis cov neeg siv thiab ntawm lwm tes cov kev tso cai
      Cov Permissions:
      r = nyeem (nyeem)
      w = sau
      x = exe (tua tuag)
      - = tsis tau kev tso cai.
      Cov neeg siv:
      u = tswv, thawj coj.
      g = pawg.
      o = txhua lwm tus.
      Nrog ls -l peb pom cov kev tso cai los yog cov ntawv lossis cov ntaub ntawv los muab lawv ua piv txwv nrog:
      sudo ugo + rwx 'filename' // Peb yuav muab txhua yam kev tso cai.

  2.   siv 84 said

    nws mus ncaj qha rau hauv ntawv
    .
    tsaug!

  3.   JerryKpg said

    Muy bueno!

  4.   lub sijhawm 3000 said

    Zoo heev.

  5.   Kevin Maschke said

    Zoo!

    Cov lus zoo heev, tab sis me ntsis kev kho yuav tsum ua:

    r txhais tau tias yog sau thiab los ntawm Nyeem
    w txhais tau nyeem thiab los ntawm Sau
    x txhais tau tias tua thiab los ntawm eXecute

    (R) Nyeem yog Nyeem thiab (W) Sau yog Sau

    Txais tos!

    1.    Wada said

      Uas tshwm sim rau kev sau ntawv lig hmo ntuj hahahaha thov txim rau kuv qhov yuam kev sai li sai tau kuv tuaj yeem kho nws, tamsis no kuv tau txais qhov yuam kev, Ua tsaug 🙂

      1.    NYOO-Yooj Yim said

        Nws muab qhov yuam kev rau koj .. ..xij txawm tias koj yog tus sau lub npe, koj tsis tau txais kev tso cai los kho nws thaum nws muab lo ..

        Lwm qhov yuam kev me me .. ..in point 3 .- .. thaum koj hais "yog tias koj xav tshem tawm cov ntawv sau tso cai los ntawm tus neeg siv" .. koj muab "$ chmod ux file" .. ..thiab nws yuav tsum yog "$ chmod uw file "..qhov phim qhov koj hais .. thiab tshwm sim ..

        1.    Wada said

          Tsis muaj pov thawj

    2.    Juan Perez said

      r txhais tau tias NYEEM thiab los ntawm Nyeem
      w sawv rau WRITE thiab los ntawm Sau
      x txhais tau tias tua thiab los ntawm eXecute

  6.   Tsaus ntshav said

    Kuv tau sim muab cov ntawv tais ceev tseg nrog Samba, thiab muab cov ntawv nyeem thiab sau ntawv tso cai rau cov qhua, tab sis rooj plaub yog thaum kuv tsim daim nplaub tshev tshiab los ntawm ib qho ntawm ob lub khoos phis tawj (qhua lossis tus neeg siv) uas lub nplaub tshev tshiab tsis tau nyeem thiab sau ntawv cov kev tso cai muab sau rau txhua tus ... Puas muaj ib txoj hauv kev los kho qhov ntawd uas tsis tas yuav kho qhov kev tso cai txhua zaus thaum tsim nplaub tshev? Nws yog me ntsis cumbersome. Los ntawm txoj kev, Kuv ua txhua yam dhau ntawm lub graphical interface.

    1.    Wada said

      Nug txog setfacl

  7.   Mark said

    Kab lus ntshiab heev. Nthuav dav, qhov twg nws hais tias:
    | chmod u = rwx, g = rx, o = | chmod 760 |
    Yuav tsum yog:
    | chmod u = rwx, g = rw, o = | chmod 760 |
    O zoo:
    | chmod u = rwx, g = rx, o = | chmod 750 |

    1.    Tus neeg saib xyuas Abraham Santos Farias said

      Vim li cas phooj ywg?

      1.    Fefo said

        Vim tias x yog sib npaug rau 5 thiab hauv qhov ua piv txwv nws yog 6
        g = rx 6 Yuam Kev
        g = rx 5 Kho Dua
        g = rw 6 Kho Dua

  8.   Rainier Herrera said

    Rau Tsaus Xim Ntshav:
    Txij li qhov me ntsis kuv tseem tab tom kawm, Kuv tau cawm txoj kev paub no (uas kuv tsis tshua paub tias nws yuav pab koj hauv koj qhov teeb meem, tab sis nws tsim nyog sim; thiab nws ploj hauv cov ntawv tshaj tawm no):
    Muab rov qab tso cai rov qab (-R) zoo li no:
    chmod -R 777 kev ua niam txiv_ cov lus qhia / *
    Qhov no yuav muab tag nrho cov kev tso cai rau txhua tus neeg siv, pawg, thiab lwm tus hais txog niam txiv cov ntawv tais ceev tseg, thiab txhua daim nplaub tshev thiab cov ntaub ntawv uas nyob sab hauv (cov kev tso cai los ntawm lub neej ntawd rau cov tshiab uas tsim nyob rau hauv phau ntawv sau no, tsawg kawg yog qhov uas nws nyob hauv kuv hlais)

  9.   Rainier Herrera said

    Hauv duab, koj yuav tsum nrhiav qhov kev xaiv uas hais tias "ua qhov lus txib no rov tshwm sim" lossis "ua qhov no rau cov chaw ntim"

  10.   Bruno cascio said

    Kuv yog ib tug ntawm cov neeg uas ib txwm cuam lub 777 rau kuv lub tshuab kom yooj yim, tab sis nrog cov lus txib no kuv yuav tso lub roj teeb thiab yuav tsum ceev faj ntxiv, ua tsaug rau kev koom tes!

  11.   yo said

    Ua tsaug, koj tau kuv tsis ntseeg

  12.   Manuel Kev said

    Kev pab zoo heev ... khaws cia ...

  13.   edibrets said

    zoo heev ua tsaug 😀

  14.   pab txhawb nqa.masvernat@gmail.com said

    Cov lus piav qhia zoo heev, thaum kawg nws tau qhia meej rau kuv ntawm ib qho ...

  15.   Camila said

    Nyob zoo!

    Saib, Kuv tsis paub yog tias nws cuam tshuam tab sis kuv muaj teeb meem nrog cov kev tso cai sau cia, rho tawm, hauv kuv tus mp4. Nws yuav tsis cia kuv hloov qhov kev tso cai, yog li nws tau nyeem nkaus xwb. Nkag mus rau cov lus txib koj tau muab tab sis cov lus teb tau
    chmod: hloov qhov kev tso cai ntawm "/ media / 0C87-B6D2": Cov ntaub ntawv nyeem nkaus xwb

    Kuv tau nyeem ntau yam kev sib tham thiab tsis muaj dab tsi tau ua haujlwm rau kuv, kuv qhia koj tias kuv yog tus pib ua qhov no yog li nws yuav yog qee yam uas kuv ua tsis yog.

    Kuv vam tias koj tuaj yeem pab kuv.

    kisses

    1.    anonymous said

      Sim nkag mus ua tus neeg siv khoom super

    2.    Javi_VM said

      Koj yuav tsis muaj tus tsav tsheb zoo. Nrog lub NTFS filesystem nws yuav tsis cia koj sau tshwj tsis yog tias koj muaj ntfs-3g pob nruab. Kuv tsis paub tus mp4 uas lub system nws yuav muaj ...

  16.   cristhian alexis galeano ruiz said

    Tseem, gracias.

  17.   Fran said

    ua tsaug rau pab qhia 🙂 zoo heev

  18.   Yerson Rico: koj puas xav tau ntau tus thwjtim? said

    coincidentally Kuv tau nyeem txog chmod hais kom ua nyob rau hauv ib daim ntawv qhia ntawm linux systems administration, uas tau hais meej rau kuv, tsuas yog tias muaj lawv tau qhia kuv txog 3 ntau cov lus txib -s -S thiab -t uas ntxiv kev tso cai, uas yog qhov kuv tau ua tsis yog kuv meej meej, tag kis kuv yuav nyeem lwm nyeem zoo, zoo heev koj cov ntxhuav, txais tos

  19.   Xavier said

    Txoj kev koom tes tau ris txiaj ntsig. Yog vim li cas kuv xav tau

  20.   Juan Gomez said

    Nyob zoo, nthuav tawm heev, Kuv xav paub seb yuav ua li cas lossis nrog rau lub program twg Kuv tuaj yeem hloov kho cov ntaub ntawv, chmod lossis dab tsi hauv cov ntawv ntawd,
    Kuv xav kho qee qhov kev tso cai, uas muaj ...

    Los yog li cas qhov no ... ua tsaug

    Tsaug

  21.   LM said

    Zoo heev li piav, ua tsaug

  22.   ISMAEL said

    KEV TXHAWJ XEEM, UA TSAUG NTAU RAU QHOV POM KOJ LUB SIJHAWM UA RAU NWS.

  23.   Miguel said

    Kev koom tes zoo. Tsaug rau lub. Kuv xav hais kom meej ntxiv uas kuv suav hais tias tseem ceeb. Nyob rau hauv Spanish tshem tawm tsis zoo rau Lus Askiv tshem tawm. Hauv Spanish tawm tsis txhais hais tias yuav tshem tawm.
    Raws li RAE nws txhais tau tias:

    1. tr. Dhau lossis tshem qee yam ntawm ib qhov chaw mus rau lwm qhov. U. tc prnl.
    2. tr. Tsiv qee yam, tsaws nws lossis txhuam nws, feem ntau kom nws cov ntsiab lus sib txawv.

    Hauv qhov kev nkag siab no, es tsis txhob tshem tawm, qhia txog kev tshem tawm yuav tsum tau siv.

    1.    elav ua said

      Nws yog qhov tseeb, Kuv hais Tshem kuv tus kheej thaum kuv tshem qee yam, tshwj xeeb tshaj yog cov lus hauv computer.

    2.    Wada said

      Koj yuav tsum ntxiv kab thib peb ntxiv ...
      3. tr. Tshem tawm, teem ib sab, lossis rhuav tshem qhov teeb meem.
      Kuv yeej tsis hais nws nyob rau hauv kev rau siab "Rho tawm" yog hais tias tsis tau tshem tawm - thov txim yog hais tias nws yog txhais tau tias yuav tshem. Ua tsaug rau siv ceev xwmphem los ntawm thiab rau lub meej Kuv yuav coj nws mus rau hauv tus account.

  24.   Fabian garcia said

    Zoo

    Thov ib tug neeg hais meej cov lus nug rau kuv, uas yog raws li kuv nkag siab nws siv rau cov neeg siv thiab pawg uas muaj cov ntaub ntawv lossis phau ntawv qhia, tab sis yog tias kuv muaj tus neeg siv lossis pawg "xyz" piv txwv li, Kuv yuav tso cai li cas los ntawm r , los yog hma tsuas yog rau tus ntawd los yog pawg ntawd thiab tsis yog rau tus tswv.

  25.   a said

    Kuv tuaj yeem pom cov kev tso cai ntawm pawg pab pawg li cas thiab kuv tuaj yeem hloov kho lawv li cas kom nws muaj tib lub hauv paus kev tso cai

  26.   tazmania said

    Nyob zoo, Kuv muaj teeb meem me ntsis, lub PCs nyob rau hauv lubuntu thiab hauv lub chaw nrog tus neeg siv hauv zos, nws tsis muab teeb meem tab sis nrog tus neeg siv sau, thiab nws yog thaum lub sijhawm qhib mozilla thiab thunderbird uas tag nrho cov kab ke yog khov Kuv vam tias lawv tuaj yeem pab
    cheers

  27.   Justo Gonzalez: koj puas xav tau ntau tus thwjtim? said

    Piav tau zoo heev

  28.   Orianis said

    Tsab xov xwm zoo heev… Kuv tsuas xav tau suav rau lo lus teb ntawm qee tus neeg pious los ntawm lub rooj sib tham no, hais txog cov lus nug hauv qab no: «Yog tias kuv ntxiv ib tus neeg siv A rau kuv pawg GROUP, uas cov lus tso cai ntawm pab pawg GROUP no yog rwx, txhua cov neeg siv ntawm pawg no, suav nrog A, puas yuav muaj cov rwx no nyob rau sab hauv / cov ntawv sau tseg? Coj mus rau hauv tus account tias cov ntaub ntawv sab hauv twb muaj rwx rau pab pawg GROUP? Ua tsaug !!!!!! 🙂

  29.   JeFNDZ said

    Txoj haujlwm zoo. Yooj yim thiab nkag siab.

  30.   Segora said

    Kuv tshiab kiag li rau qhov no thiab cov ntaub ntawv no. Nws tau ua haujlwm zoo kawg nkaus rau kuv. Ua tsaug rau koj.

  31.   Daniela said

    Kev koom tes zoo, pab tau zoo heev, ua tsaug (:

  32.   Eduardo Aledo Loredo said

    Siv tswv yim heev… Tsim kho cov lus qhia.

  33.   Miguel said

    Tsaug rau tsab xov xwm, nws tau pab kuv ntau yam, qhov no yog qhov heev tsis meej pem xDDDD

  34.   Leps said

    Koj txoj kev koom tes pab tau zoo heev, txawv Kuv muaj qhov teeb meem uas cov ntaub ntawv uas kuv ib txwm siv yog "nyeem nkaus xwb" ua
    chmod 777 cov ntaub ntawv
    hauv paus @ Leps: / home / leps # chmod: hloov cov kev tso cai ntawm "Downloads / canaima-nrov-4.1 ~ ruaj khov_i386 / canaima-nrov-4.1 ~ ruaj khov_i386.iso": tsuas yog cov filesystem

    thiab nrog txhua cov ntaub ntawv nws yog tib yam, qhov tseeb Kuv tau khiav nws nrog Ctrl + Alt + F1 li cag thiab nws zoo ib yam. Kuv tuaj yeem ua dab tsi?

  35.   Rancher said

    Cov ntaub ntawv zoo !! Nws yog pab rau kuv heev.
    Ua tsaug ntau ntau

  36.   Gustavo Kev said

    Cov ntawv zoo heev. Kuv raug yaum thov siv cov kev tso cai thiab ua tsaug rau qhov kev qhia no, Kuv muaj peev xwm ua nws hauv feeb. Mas pom zoo.

  37.   KaliNovato said

    Kuv tau ua chmod -R 777 rau lub hauv paus ntawm kuv kev teeb tsa, uas yog /
    thiab rov pib dua rau cov linux thiab tam sim no nws tsis thauj khoom
    Ib lub tswv yim twg?

    1.    Diego said

      Yog lawm, txhua yam tsoo, koj yuav tsum rov nruab Ubuntu, thiab kuv paub vim tib qhov tshwm sim rau kuv!

  38.   Vicente said

    Cov kev qhia nyeem yog zoo heev, tiav heev. Tej zaum qhov yuam kev me me, tab sis nws twb tau hais tawm tias lawv tsis tuaj yeem kho. Tseem zoo heev rau kev kawm

  39.   Kevin said

    r txhais tau tias yog sau thiab los ntawm Nyeem
    w txhais tau nyeem thiab los ntawm Sau

    Muaj koj tau tsis meej pem. r nyeem nyeem, w hloov sau

  40.   Tus Neeg Tsis Muaj Zog said

    Pab tau kawg! Rau cov ntawm peb cov uas tsis tau nkag mus rau hauv Linux cov thawj coj, cov qhia no zoo heev.

    Zoo siab rau blog!

  41.   Bertholdo Suarez Perez said

    Kev txais tos los ntawm Sincelinux Blog cov qhua.

    Kev lom zem heev tshwm sim rau kuv siv ubunter distro zoo li LMint.
    Kuv luam tawm thiab sau cov ntsiab lus rau lub / usr / share / themes phau ntawv los ntawm siv 'sudo' (nug rau kuv tus neeg siv lub password).
    Muaj nyob hauv cov ntawv nplaub tshev ntawd, thaum sau cov npe siv 'ls -l', lossis 'ls -la', hais tias cov ntawv tais ceev tseg lossis cov ntsiab lus yog tus tswv ntawm kuv lub npe (thiab pawg), uas yog, tsis yog los ntawm hauv paus.

    Yog li, kuv tab tom ua qhov kev hloov pauv kom tshem tawm qhov kev sau ntawv tso cai los ntawm kuv cov neeg siv ntawm cov ntawv hais txog lub ntsiab lus rub tawm, txij li thaum rov los saib xyuas txhua yam nws cov ntaub ntawv thiab cov folders rov qab nrog 'ls -laR', kuv tus neeg siv yog tus tsuas yog ib qho uas tuaj yeem sau tau nyob rau hauv hais folders thiab cov ntaub ntawv. Cuag Kuv twv ntxooj muaj cag ib yam nkaus.
    Muab kuv tus kheej los ntawm Lub Chaw Nres Tsheb, nrog 'cd / usr / share / themes / the-theme-downloaded', thiab tom qab ntawd tsuas yog sau 'chmod -Rv uw *', tsis tas yuav tsum muaj 'sudo' lossis hauv paus kev tso cai. Nws qhia rau kuv tias nws tau hloov kho kuv tus neeg siv sau ntawv tso cai rau txhua cov ntaub ntawv thiab subfolders ntawm 'the-theme-downloaded'. Tab sis, nws tsis hloov kho qhov kev tso cai ntawm niam daim nplaub tshev los ntawm qhov uas kuv ua cov lus txib, 'lub ntsiab lus-rub tawm', coj mus rau hauv tus account tias raws li txoj cai nws yuav tsum rov siv dua.

    Thaum kuv tshawb xyuas cov ntawv ntawd ntawm cov ntsiab lus rub tawm los ntawm cov ntawv tshawb nrhiav «Lub thawv», thawj subfolders muaj nyob nrog lub ntsuas phoo, thiab ib yam dab tsi tsis zoo tshwm sim, Kuv tuaj yeem luam ib qho ntawm cov ntawv ntawd thiab muab nws tso cia nrog txhua cov ntsiab lus, yog tias nws yuav tsum tsis kam lees. Thiab tom qab ntawd thaum sim rho tawm hais tias daim ntawv theej, koj tsis tuaj yeem ua: kev tso cai tsis pom zoo, Kuv xav tias vim tias txhua daim ntawv tshaj xo thiab cov ntaub ntawv nyob sab hauv tau lawv qhov kev tso cai tshem tawm, raws li kuv tau ua.

    Kuv tsis paub yog tias nws yog Bug ntawm chmod hais kom ua, ib qho uas tsis hloov kho cov kev tso cai ntawm daim nplaub tshev los ntawm cov lus txib tau pib, thiab tom qab ntawv yob ntawm qhov tuaj yeem luam cov ntawv subdirectories uas tau teeb tsa tsis tau sau ntawv tso cai.

    Hauv cov ntawv xov xwm nyob rau hauv internet, suav nrog qhov no, nws tau piav qhia tias cov no yog cov theem ua kom nws rov hais dua.
    Kuv tshawb hauv Askiv, kom pom tias ib qho kev xaiv ntawm cov lus txib tau ploj lawm, tab sis kuv tsis pom txog nws. Txawm li cas los xij, kuv ntxias los ntawm kev tshuaj ntsuam dhau los, tias cov lus txib yuav raug siv zoo li 'chmod -Rv uw ./ *', thiab qhov tseeb, nws hloov kho qhov kev tso cai ntawm cov nplaub tshev lossis cov npe los ntawm qhov chaw uas kuv ua tiav qhov kev hais kom ua, lub ntsiab lus rub tawm, txawm tias kuv tsis tau pom tias './' xaiv hauv kev siv chmod.
    Yog tias muaj connoisseur, thov tuaj yeem qhia meej rau kuv txog kev ua xyem xyav.

    Ua tsaug rau koj.

  42.   tus vaj ntxwv said

    Yog tias tus neeg siv tau sau ntawv tso cai thiab tsis tau nyeem cov ntawv tso cai ntawm ib daim ntawv, nws puas tuaj yeem hloov kho cov ntawv ntawd?

    1.    Alvaro Torijano cov chaw tso duab said

      Si

    2.    Alvaro Torijano cov chaw tso duab said

      Ib qho ntxiv: qhov pib ntawm cov ntawv tso cai tsis raug.
      Qhov r yog rau Kev Nyeem, thiab nws sawv rau kev nyeem ntawv. Idem rau kev sau ntawv.

  43.   Larry-lauj said

    zoo heev Kuv thaum kawg to taub nws yog zoo piav qhia

  44.   Emmanuel said

    Kuv muaj qhov tsis txaus ntseeg nrog piv txwv uas lawv tso
    qhov piv txwv hais kom ua: chmod -r 777
    Raws li kuv tshem tawm cov kev tso cai Nyeem rau cov siv, pab pawg, lwm tus tab sis 777 (rwx) ces txhais li cas?

    tsis muaj serial sib npaug k chmod ur, gr, lossis ????

  45.   Manuel Moreno said

    Zoo heev, Kuv vam tias yuav txuas ntxiv kawm Linux

  46.   Andres Rau said

    Ua tsaug ntau! Txoj kev koom tes zoo ...

  47.   anonymous said

    Zoo heev, tsaug

  48.   Cesar said

    Piav qhia zoo heev, Kuv tau txhuam kuv tus kheej nrog qhov muab faib uas kuv tsis tuaj yeem hloov kho cov ntaub ntawv. Tom qab ntawd kuv pom tias kuv tsis muaj ntfs-3g ntsia txij li nws yog qhov ntfs muab faib thiab daws.

  49.   khiav 3 said

    Los yog ib tsab ntawv (tus neeg txhais lus) uas xav tau kev nyeem thiab ua kom tso cai, ib qho kev tso ua ke tsuas yog xav nyeem.

  50.   John said

    a "d" tshwm sim thaum pib ntawm tus neeg siv drwxr-xr-x. nws txhais li cas? Kuv kwv yees nws cov ntawv qhia tab sis kuv tsis paub meej

  51.   bukatony said

    Tam sim no peb paub txog 3 qhov kev tso cai thiab yuav ua li cas ntxiv lossis tshem tawm cov no, tab sis 3 cov kev tso cai no tau muab cia rau hauv 3 qhov chaw sib txawv hu ua

  52.   y8 said

    -r - r - r– 1 wada cov neeg siv 4096 Apr 13 19:30 cov ntaub ntawv?

  53.   G hloov 3 said

    Yog tias nws yog qhov program hu ua "foo" peb tuaj yeem tsim nws raws li cov lus txib. https://gswitch3.net

  54.   mastiff said

    Zoo heev no cov amazing ncej.

  55.   ramon tomas said

    Qhov no yog hom ntawm infumable kws txuj ci dag. tsis ntseeg li kuv hais.

  56.   Irving Faulkner: XNUMX Lab tus kiv cua tos koj rau Webtalk! said

    nyob zoo txhua tus, Kuv yog cov tshiab dhau rau cov chmod no, thiab chonw.

    Kuv thov txim yog tias kuv tsis nkag siab zoo heev, kuv sim ua kom txhua tus piv txwv kom muaj qhov meej txog ntawm kev siv cov kev tso cai, thiab kev tso cai ntawm cov pab pawg sib txawv, nrog kev tso cai ntawm rwx, nyeem sau kev tua, yuav ua li cas nkag siab txhua qhov configuration zoo, ntawm cov ntaub ntawv thiab cov folders, subdirectories thaum koj coj cov lus txib ls -l cov ntaub ntawv uas pom muaj, thiab cov lus qhia nyob nruab nrab ntawm txhua tsab ntawv tsim nyob ntawd, kuj yuav ua li cas thaum koj luam cov ntaub ntawv los ntawm disk siv nautilus, uas txhua yam cov ntawv luam tawm tshwm sim suav nrog cov ntawv tais ceev tseg, yuav ua li cas los ua tus tswv ntawm txhua cov ntaub ntawv tsis hloov pauv cov kev tso cai ntawm txhua cov ntaub ntawv los ntawm lub neej ntawd, kom muaj peev xwm nyeem, sau, ua tiav, thiab lwv txhua yam koj xav tau, tsis tas yuav siv hauv paus.

    Kuv tau nyeem thiab kuv tau yog tus neeg siv uas ib txwm ua haujlwm chmod -R 777 cov ntaub ntawv, lossis cov nplaub tshev, vim tias kuv tau nyeem nws li ntawd, tab sis thaum koj ua ls los hais cov ntawv, lossis cov ntawv tais ceev tseg tom qab ntawd lawv tau tseem ceeb hauv cov xim ntsuab ntau dua. tias Lub Npe kom meej meej, vim tias kuv siv linux mint, tab sis kuv pom tias yuav muaj lwm tus ntawv zoo ib yam, nrog rau lwm tus yam ntxwv, thiab nrog rau xim sib txawv, ib yam li tus so, tam sim no kuv nyeem tias 755, Kuv tsis paub yog tias nws yuav tsum siv rau hauv txoj kev no (chmod - R 755 Folder) tawm qhov kev tso cai los ntawm lub neej ntawd, rau cov ntawv ntawd, thiab nws yog rau cov ntawv sau tseg, tab sis 644 yog rau cov ntaub ntawv, Kuv tsis paub yog tias nws tsis zoo rau siv nws li no (chmod -R 644 cov ntaub ntawv), tab sis thaum ls ua tiav - Tom qab ntawd nws pom tias cov ntaub ntawv yog 644, thiab hauv lwm tus nws pom lub hauv paus, thiab lwm tus hauv lub npe ntawm cov neeg siv, nrog cov txiaj ntsig no, qee yam tawm ntawm qhov tsis zoo.

    Kuv tsis muaj lub tswv yim me me ntawm kev siv cov lus txib zoo tshaj plaws, kom cov ntawv tais ceev tseg, cov ntawv sau cia thiab cov ntaub ntawv muaj cov ntawv tso cai tsim nyog uas xav tau, thiab tau muab faib rau cov pab pawg, lossis cov neeg siv uas kuv xav tau

    Kuv xav kawm paub txog cov ntaub ntawv zoo li cas thaum ua ls -l

    drwxr-xr-x 2 cag root 4096 Feb 15 22:32 a
    -rwxrwxrwx 1 cag cag 474 Feb 16 23:37 canaima5
    -rwxrwxrwx 1 cov hauv paus hniav 374 Feb 9 16:34 Yooj Yim_EXFAT
    drwxr-xr-x 3 cag paus 4096 Feb 15 00:22 qhov rais nruab USB
    -rw-r - r– 1 m18 m18 7572 Dec 22 2016 mdmsetup.desktop
    -rwxrwxrwx 1 cag cag 61 Feb 18 13:07 pkme
    -rwxrwxrwx 1 cag paus 10809 Lub Tsib Hlis 15 2013 XNUMX NYEEM
    -rwxrwxrwx 1 cag cag 57 Jan 3 11:58 rov sudo
    -rwxrwxrwx 1 cag paus 1049 Feb 18 01:02 Rep-Systemback
    -rwxrwxrwx 1 cag cag 1163 Feb 11 11:12 root.txt
    -rwxrwxrwx 1 cag paus 384 Feb 10 22:30 systemback ubuntu 16-18
    -rwxrwxrwx 1 cag cag 31 Jan 1 2002 torregal

    ntawm no yog ib qho piv txwv Kuv tau sim hloov qee cov ntaub ntawv m18 tau tsim nyob rau hauv tus neeg siv, tus so tau theej los ntawm lwm daim disk, nrog nautilus, thiab lawv muaj padlocks,

    drwxr-xr-x 3 cag paus 4096 Feb 15 00:22 nruab ib lub USB
    drwxr-xr-x 2 lub hauv paus 4096 Feb 15 22:32 a muaj lub ntsuas phoo, qhov seem ntawm cov ntaub ntawv tseem, tab sis siv cov lus txib no los ntawm cov ntaub ntawv ua pov thawj tias nws tshwm sim: cov ntaub ntawv tam sim no tsis muaj lub ntsuas phoo tab sis, kuv tsis txhob 't paub yog hais tias lawv ua tau Cov kev tso cai uas lawv muaj, thiab lub tswv yim yog kom paub tias qhov kev tso cai twg yog txhua cov ntawv lossis cov nplaub tshev yuav tsum muaj, thiab hauv pawg twg nws yuav tsum yog. thiab paub siv dab tsi thaum ntxiv chmod.

    m18 @ m18 ~ $ cd Desktop /
    m18 @ m18 ~ / Desktop $ ls -l
    tag nrho 60
    drw-r - r– 2 cag Pwm 4096 Feb 15 22:32 a
    -rw-r - r– 1 cag cag 474 Feb 16 23:37 canaima5
    -rw-r - r– 1 cag paus 374 Feb 9 16:34 Yooj Yim _EXFAT
    drw-r - r– 3 paus cag 4096 Feb 15 00:22 qhov rais nruab USB
    -rw-r - r– 1 m18 m18 7572 Dec 22 2016 mdmsetup.desktop
    -rw-r - r– 1 cag cag 61 Feb 18 13:07 pkme
    -rw-r - r– 1 lub hauv paus cag 10809 Lub Tsib Hlis 15 2013 NYEEM
    -rw-r - r– 1 paus cag 57 Jan 3 11:58 khaws sudo
    -rw-r - r– 1 paus cag 1049 Feb 18 01:02 Rep-Systemback
    -rw-r - r– 1 cag paus 1163 Feb 11 11:12 root.txt
    -rw-r - r– 1 cag paus 384 Feb 10 22:30 systemback ubuntu 16-18
    -rw-r - r– 1 paus hauv paus Jan 31, 1 torregal
    m18 @ m18 ~ / Desktop $ sudo ugo + rwx *
    [sudo] password rau m18:
    sudo: ugo + rwx: nrhiav tsis pom
    m18 @ m18 ~ / Desktop $ sudo chmod ugo + rwx *
    m18 @ m18 ~ / Desktop $ ls -l
    tag nrho 60
    drwxrwxrwx 2 cag paus 4096 Feb 15 22:32 a
    -rwxrwxrwx 1 cag cag 474 Feb 16 23:37 canaima5
    -rwxrwxrwx 1 cov hauv paus hniav 374 Feb 9 16:34 Yooj Yim_EXFAT
    drwxrwxrwx 3 cag paus 4096 Feb 15 00:22 qhov rais nruab USB
    -rwxrwxrwx 1 m18 m18 7572 Dec 22 2016 mdmsetup.desktop
    -rwxrwxrwx 1 cag cag 61 Feb 18 13:07 pkme
    -rwxrwxrwx 1 cag paus 10809 Lub Tsib Hlis 15 2013 XNUMX NYEEM
    -rwxrwxrwx 1 cag cag 57 Jan 3 11:58 rov sudo
    -rwxrwxrwx 1 cag paus 1049 Feb 18 01:02 Rep-Systemback
    -rwxrwxrwx 1 cag cag 1163 Feb 11 11:12 root.txt
    -rwxrwxrwx 1 cag paus 384 Feb 10 22:30 systemback ubuntu 16-18
    -rwxrwxrwx 1 cag cag 31 Jan 1 2002 torregal
    m18 @ m18 ~ / Desktop $ sudo chmod -R 755 installation \ de \ windows \ USB /
    m18 @ m18 ~ / Desktop $ ls -l
    tag nrho 60
    drwxrwxrwx 2 cag paus 4096 Feb 15 22:32 a
    -rwxrwxrwx 1 cag cag 474 Feb 16 23:37 canaima5
    -rwxrwxrwx 1 cov hauv paus hniav 374 Feb 9 16:34 Yooj Yim_EXFAT
    drwxr-xr-x 3 cag paus 4096 Feb 15 00:22 qhov rais nruab USB
    -rwxrwxrwx 1 m18 m18 7572 Dec 22 2016 mdmsetup.desktop
    -rwxrwxrwx 1 cag cag 61 Feb 18 13:07 pkme
    -rwxrwxrwx 1 cag paus 10809 Lub Tsib Hlis 15 2013 XNUMX NYEEM
    -rwxrwxrwx 1 cag cag 57 Jan 3 11:58 rov sudo
    -rwxrwxrwx 1 cag paus 1049 Feb 18 01:02 Rep-Systemback
    -rwxrwxrwx 1 cag cag 1163 Feb 11 11:12 root.txt
    -rwxrwxrwx 1 cag paus 384 Feb 10 22:30 systemback ubuntu 16-18
    -rwxrwxrwx 1 cag cag 31 Jan 1 2002 torregal
    m18 @ m18 ~ / Desktop $ sudo chmod -R 755 a
    m18 @ m18 ~ / Desktop $ ls -l
    tag nrho 60
    drwxr-xr-x 2 cag root 4096 Feb 15 22:32 a
    -rwxrwxrwx 1 cag cag 474 Feb 16 23:37 canaima5
    -rwxrwxrwx 1 cov hauv paus hniav 374 Feb 9 16:34 Yooj Yim_EXFAT
    drwxr-xr-x 3 cag paus 4096 Feb 15 00:22 qhov rais nruab USB
    -rw-r - r– 1 m18 m18 7572 Dec 22 2016 mdmsetup.desktop
    -rwxrwxrwx 1 cag cag 61 Feb 18 13:07 pkme
    -rwxrwxrwx 1 cag paus 10809 Lub Tsib Hlis 15 2013 XNUMX NYEEM
    -rwxrwxrwx 1 cag cag 57 Jan 3 11:58 rov sudo
    -rwxrwxrwx 1 cag paus 1049 Feb 18 01:02 Rep-Systemback
    -rwxrwxrwx 1 cag cag 1163 Feb 11 11:12 root.txt
    -rwxrwxrwx 1 cag paus 384 Feb 10 22:30 systemback ubuntu 16-18
    -rwxrwxrwx 1 cag cag 31 Jan 1 2002 torregal

    ntawm qhov tod tes paub siv chown hais kom ua. Kuv kuj tsis paub yog tias nws yog qhov zoo dua los siv cov lus txib ntawm cp los theej cov ntaub ntawv, los ntawm lwm qhov nyuaj tsav nrog qee cov tsiaj qus uas luam cov ntaub ntawv nrog txhua qhov kev tso cai, thiab tias lawv tseem muaj rau koj cov neeg siv, lossis lawv ib txwm nyob nrog ntsuas phoo

    qhov kuv xav tau yog tias yog ib tus neeg paub txog cov ntawv sau ntau dua, thiab nrog cov piv txwv ntawm txhua tus ntawm cov cai coj ua, uas siv chmod, thiab chown. Kuv tuaj yeem tso nws kom nws yooj yim rau cov neeg nyiam tshiab los kawm, vim tias muaj cov rooj uas muaj 3 tus lej tshwm, xws li 777, 644, thiab yuav ua li cas tus lej suav tau tsim, tsis tas lawv tau hais tseg, lossis muaj ntau ntxiv uas yog qhia los ntawm kev suav ntawm ugo Kuv tsis paub yog tias nws yog lawm Kuv xav tias nws yog Tus Neeg Siv, Pawg (cov) tswv, thiab nrog rwx rau folders, subdirectories, executable files, thiab lwm yam.

    Thaum kawg qhov kuv xav tau yog kawm siv tag nrho cov qauv, los ntawm chmod, thiab chonw rau txhua cov ntaub ntawv, thiab rau tag nrho cov ntaub ntawv linux

    Kuv thov txim yog tias kuv lo lus nug ntawm cov ntawv yog qhov tsis zoo heev, Kuv tsuas yog nrhiav qee qhov kev taw qhia, kom muaj tus qauv zoo dua ntxiv kom muaj peev xwm nkag siab txhua feem ntawm pawg tso cai, thiab kev hloov kho cov lus txib, ntawm chmod, thiab chonw programs Cov.

    Kev txais tos, thiab ua tsaug ntau rau kev sib koom tes.

  57.   lub nroog Yeiuxalees said

    danny kuv hlub nws uwu

  58.   lub nroog Yeiuxalees said

    danny kuv hlub nws uwu….