[chmod] +s / +S

Pagina: 1
Acties:

  • Olaf van der Spek
  • Registratie: September 2000
  • Niet online
Wat houdt +s voor een directory in en wat houdt +S in het algemeen in?

  • Sjonny
  • Registratie: Maart 2001
  • Laatst online: 23:01

Sjonny

Fratser

als je op een directory g+s zet, dan worden alle files die in die dir worden gemaakt van die groep.

$ mkdir zooi
$ chgrp users zooi
$ chmod g+ws zooi

iedereen van group users mag nu in zooi schijven, en files worden automatisch van groep users.

The problem is in the part of your brain that handles intelligence.


  • DPLuS
  • Registratie: April 2000
  • Niet online

DPLuS

 

Ennuh...wat houdt die chatr +i precies in?

Verwijderd

Op dinsdag 09 oktober 2001 18:38 schreef DPLuS het volgende:
Ennuh...wat houdt die chatr +i precies in?
je bedoeld chattr denk ik ;)

rechtstreeks uit manpage:
A file with the `i' attribute cannot be modified: it can­ not be deleted or renamed, no link can be created to this
file and no data can be written to the file. Only the superuser can set or clear this attribute.