Bug 11250 - somehow can delete root files
somehow can delete root files
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
4.1.17
x64 Linux
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-03 10:31 UTC by mail
Modified: 2015-05-03 10:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail 2015-05-03 10:31:30 UTC
smbd version 4.1.17-Debian 8

hello
i have this in smb.conf:
[video]
path = /usr/samba/video
valid users = +smb
write list = chicker

if i will make a /usr/samba/video/file 600 as root then user chicker can't read it
BUT
user chicker can delete it!
BUT
user chicker can NOT delete it if chmod is 400

same case with dir don't have this bug
user chicker can't delete root dir 700
even that dir is still a file in *nix but no access for dirs

/usr/samba/video is chicker:smb 750

so is that bug or i do something wrong?