Because everyone has read-write access to the directory, anyone can delete any file. It's basic unix permissions that are catching you on this one.
I think what you are looking for is something more like /tmp where everone can read-write there own files, if that is the case you need to do the following. chmod a+t /var/www/advertising This will make the files "sticky" just like in /tmp so that only the owner can delete them. Cheers, Eric On 4/17/06, Michael Stearne <[EMAIL PROTECTED]> wrote: > > On 4/15/06, Eric Warnke <[EMAIL PROTECTED]> wrote: > > Please supply a `ls -ald /var/www/advertising` > > [EMAIL PROTECTED] www]# ls -ald /var/www/advertising > drwxrwxrwx 2 root root 70 Apr 17 01:07 /var/www/advertising > > Thanks > > > > > Cheers, > > Eric > > > > > > On 4/15/06, Michael Stearne <[EMAIL PROTECTED] > wrote: > > > > > If user1 creates a file on the share, why with this configuration can > > user2 delete that file created by user1? > > > > Thanks, > > Michael > > > > [global] > > idmap gid = 16777216-33554431 > > idmap uid = 16777216-33554431 > > path = /var/www/ > > unix password sync = yes > > workgroup = cmny > > os level = 20 > > auto services = advertising editorial > > null passwords = yes > > encrypt passwords = yes > > winbind use default domain = no > > security = user > > template shell = /bin/false > > lock directory = /var/lock/smb > > share modes = yes > > locking = yes > > > > [advertising] > > wide links = no > > path = /var/www/advertising > > strict locking = yes > > valid users = @advertising > > oplocks = False > > level2 oplocks = False > > public = no > > writable = yes > > create mask = 0700 > > force create mode = 0700 > > directory mask = 0700 > > force directory mode = 0700 > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: > > https://lists.samba.org/mailman/listinfo/samba > > > > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
