Denna delen av 99 uppdateras inte längre utan har arkiverats inför framtiden som ett museum.
Här kan du läsa mer om varför.
Mac-nyheter hittar du på Macradion.com och forumet hittar du via Applebubblan.

Vad betyder t och x i behörigheten?

Tråden skapades och har fått 2 svar. Det senaste inlägget skrevs .
1

Efter att ha kört skivverktyget kom det här upp på skärmen, vad står x och t för?

  • Medlem
  • Uppsala
  • 2005-05-18 19:52

man chmod ger:

The perm symbols represent the portions of the mode bits as follows:

           r       The read bits.
           s       The set-user-ID-on-execution and set-group-ID-on-execution
                   bits.
           t       The sticky bit.
           w       The write bits.
           x       The execute/search bits.
           X       The execute/search bits if the file is a directory or any
                   of the execute/search bits are set in the original (unmodi-
                   fied) mode.  Operations with the perm symbol ``X'' are only
                   meaningful in conjunction with the op symbol ``+'', and are
                   ignored in all other cases.
           u       The user permission bits in the original mode of the file.
           g       The group permission bits in the original mode of the file.
           o       The other permission bits in the original mode of the file.
  • Medlem
  • Stockholm
  • 2005-05-20 10:22

Och för att svara på frågan "Vad betyder t (the sticky bit)?":

When the sticky bit (t) is turned on for a directory users can have read and/or write permissions for that directory, but they can only remove or rename files that they own. The sticky bit on a file tells the operating system that the file will be executed frequently. Files like this are kept in swap space even when they aren't being executed. Although this takes up swap space it greatly reduces the time it takes to execute the program. Some programs such as vi have the sticky bit turned on by default on some Unixes.

Ovanstående stulet från http://www.uwsg.iu.edu/UAU/files/sticky.html

Edit: oops, bortse från avsnittet om filer ovan. Hittade just kommentaren "On modern Unix systems, the sticky bit is no longer used for files, only on directories."

1
Bevaka tråden