LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   public share in samba (https://www.linuxquestions.org/questions/linux-software-2/public-share-in-samba-179880/)

brasuca 05-10-2004 06:14 AM

public share in samba
 
Cheers,

I have a samba public share in my server, and I've set the directory permission to 777. However, what I want is the following: everyone can read and write in the share, but only the creator of the file can change or delete it. How can I do it? My share is defined this way in smb.conf:

[public]
comment = Area publica da escola
path = /home/public
read only = no
public = yes

this must be easy stuff, pardon this newbie please, I need help.

robkg 05-10-2004 06:51 AM

set in smb.conf:

create mask = 0755

This is mode u=rwx g=rx o=rx

brasuca 05-10-2004 09:07 AM

Quote:

Originally posted by robkg
set in smb.conf:

create mask = 0755

This is mode u=rwx g=rx o=rx

thanks robkg but it did'nt work for me :( can anyone give me a light?
everyone can delete another ones files.


All times are GMT -5. The time now is 04:14 PM.