Le 06/12/2010 15:47, Chris Smith a écrit :
On Mon, Dec 6, 2010 at 8:28 AM, Bruno MACADRE
<[email protected]> wrote:
Like explained in my precedent mail (Permission Problems), I want to
do a share (called partinfo) with basic behaviour :
* everybody in group 'info' can create file into the share.
* everybody in group 'info' can modify file into the share (not only
owned files)
* only owner of a file can delete it/rename it !
I put a Sticky Bit on my share folder so I've got :
drwxrwx--T root info ..... partinfo
It works fine localy, but when I want to use the share, it doesn't
work at all, 'cause when I modify a file, some applications (like Gedit,
Word, ...) try to change the owner of the file... So I can't write...
Anybody have any ideas or any tips ?
Try:
chmod 1777 /path/to/partinfo
[partinfo]
...
...
valid users = +info
read only = no
force group = info
force create mode = 764
force directory mode = 775
...
...
It looks like to works like I want !
Thanks a lot Chris !
--
Bruno MACADRE
-------------------------------------------------------------------
Ingénieur Systèmes et Réseau | Systems and Network Engineer
Département Informatique | Department of computer science
Responsable Réseau et Téléphonie | Telecom and Network Manager
Université de Rouen | University of Rouen
-------------------------------------------------------------------
Coordonnées / Contact :
Université de Rouen
Faculté des Sciences et Techniques - Madrillet
Avenue de l'Université - BP12
76801 St Etienne du Rouvray CEDEX
FRANCE
Tél : +33 (0)2-32-95-51-86
Fax : +33 (0)2-32-95-51-87
-------------------------------------------------------------------
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba