Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it L'avatar di gianiaz
    Registrato dal
    May 2001
    Messaggi
    8,027

    Assegnare gruppo di default a files creati in una directory specifica

    Ciao, come da oggetto, è possibile che i file scritti in una determinata directory abbiano assegnato di default un gruppo da me scelto?

    Credo di si, ma non ricordo come si fa

    ciao e grazie

  2. #2
    SUID and SGID for Directories

    The SUID bit has no effect on directories.

    In Linux and Solaris, when SGID is set on a directory files created in that directory will have their GID automatically reset to that of the directory's GID. This means that setting the SGID bit on a directory causes any new files or directories created within to inherit the group identity of that directory rather than that of the user. Also, new sub-directories will inherit the SGID bit as well.

    The purpose of this approach is to support project directories: users can save files into such SGID directories and the group identity of the file automatically changes. This is useful for example on the Document Root of a website or other directories containing a set of files worked on by a specific group of users. (It works especially well if each user's primary group (*) is a private group for that user, and the umask (*) setting is 002). However, setting the setgid bit on directories is not specified by standards such as the Single Unix Specification [Open Group 1997].
    da qui: http://content.hccfl.edu/pollock/AUn...ermissions.htm
    max

    Silence is better than bullshit.
    @mmarcon
    jHERE, Maps made easy

  3. #3
    Utente bannato
    Registrato dal
    Jul 2007
    Messaggi
    368
    Potresti limitare il livello di accesso (scritura esecuzione) della dir ai soli utenti che appartengono al gruppo scelto.

  4. #4
    Utente di HTML.it L'avatar di gianiaz
    Registrato dal
    May 2001
    Messaggi
    8,027
    Originariamente inviato da mxa
    da qui: http://content.hccfl.edu/pollock/AUn...ermissions.htm
    ecco, era quello che cercavo, grazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.