mount + usb + uid

ndemou at gmail.com ndemou at gmail.com
Fri Jun 1 09:32:12 EEST 2007


On 6/1/07, V13 <v13 at priest.com> wrote:
> On Thursday 31 May 2007, ndemou at gmail.com wrote:
> > *μήπως* τα παρακάτω ext2/3 mount options βοηθάνε:
> >  [...]
> >
> >        grpid or bsdgroups / nogrpid or sysvgroups
> >               These  options  define  what group id a newly created file
> > gets. When grpid is set, it takes the group id  of  the  directory  in
> > which  it is created; otherwise (the default) it takes the fsgid of the
> > current process, unless the directory has the setgid  bit set,  in  which
> > case it takes the gid from the parent directory, and also gets the setgid
> > bit set if it is a directory itself.
>
> Dystyxos oxi... [...] kathorizei an ta nea dirs
> exoyn exoun to group toy owner h toy parent dir.

χμμμ, αναφέρει όχι μόνο τα dirs αλλά και τα files. Αυτό που σκεφτόμου
είναι πως αν όλα τα files/dirs καταλήξουν να έχουν ένα gid (π.χ. 555)
και *αν* μπορείς να φροντίσεις όλοι όσοι γράφουν διαβάζουν να ανήκουν
στο group με gid 555 τότε είσαι ένα βήμα πιο κοντά στο να πετύχεις το
σκοπό σου (μένει να φροντίσεις όλα αρχεία να είναι rw για το group
φυσικά αλλά κάποιο τρικ θα υπάρχει και για'υτό)




More information about the Linux-greek-users mailing list