LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how can I set a public folder in samba (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-set-a-public-folder-in-samba-504715/)

combilli 11-25-2006 07:00 AM

how can I set a public folder in samba
 
I've set a public area for samba users

settings are here:

[free area]
path = /home/smbpublic
public = yes
read only = no


This folder works.
And everyone can read / write in the folder.

The problem is only the owner / root can delete the files.

Is there a setting for every user is able to delete other user's files but not only his own files.

Alien Bob 11-25-2006 08:42 AM

Maybe if you add the lines
Code:

  create mode = 0664
  directory mode = 0775
  force group = users

to that share, it will help. Files and directories will be writable by the group, which is set to "users".

Eric

combilli 11-25-2006 08:50 AM

Thx
 
GREAT!
thx for help


All times are GMT -5. The time now is 08:21 PM.