Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

gI was installing myself samba on a minimalist fork of ubuntu (linux-lite).

At first I installed it without any user managment, and only a guest account, here is my smb.conf

server string = Test NAS
netbios name = testsan
security = user
encrypt password = true
map to guest = bad user
guest account = smbguest
dns proxy = no

path = /smb/
available = yes
browsable = yes
writeable = yes
guest ok = yes
printable = no
create mask = 0664
directory mask = 0775

The linux user smbguest has "smbusers" as his main group

here is the local file : drwxrwxr-x 2 root smbusers 4096 Aug 1 11:00 /smb/

When i mount it as cifs or access to it from a windows host, i am able to create,rename and delete directories I am able to create & edit files, but not rename or delete files in share root, even if i just created them and am their owner. Just like if i had no "write" access to the folder... but i do, since if i su - smbguest and do it from there i can.

This seems somehow related to CIFS ACLs, would someone be able to explain ?

share|improve this question
have you noticed that 'guest ok=yes', is misspelled in your shares section? since all your users are working under the smbguest account, that could be significant. – Frank Thomas Aug 1 '13 at 11:46
Sorry i rewrote it by hand since i couldn't copy from my Virtual Machine. it is spelled right there. – mveroone Aug 1 '13 at 12:22

You must log in to answer this question.

Browse other questions tagged .