--- In [email protected], sameer sarkar <[EMAIL PROTECTED]>
wrote:
>
> hello, everybody
> About samba. I want to create a samba share wherein windows user can
access the shared folder, can create folders and files, can copy
stuffs from shared folders to their local machine but should not be
able to delete anything in the shared samba folder. I want to
implement it in the real scenario where i work coz i fed up with my
Windows file server which has a lot of viruses. I made a folder share
in RHELÂ 5 with shared option as "share" (option also
have ADS,Domain,User) , but in this case users can even delete files
and folders. Will be pleased with any kind of help.
>
>
> Explore your hobbies and interests. Go to
http://in.promos.yahoo.com/groups/
>
> [Non-text portions of this message have been removed]
>
----------
Hi,
can u check this below config and settings.
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
passdb backend = tdbsam
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[share1]
path = /usr/share1
read only = No
The permissions for [share1] has to be set after creating.
The permissions for share1 and share2 are as follows
mkdir -p /usr/share1
chmod 1757 share
which will set a sticky bit and the permission would look like.
drwxr--rwt 6 root root 4096 Jun 23 16:35 share1
This will get ur requirement done.