Prev: [Samba] [3.4.7/Ubuntu 10.04] Can modify but not create/delete
Next: [Samba] smbpasswd doesn't accept -'s in username?
From: Christian PERRIER on 30 Jul 2010 12:10 Quoting Gilles (gilles.ganault(a)free.fr): > Hello > > I notice I can modify existing files, but not create/delete. I also > notice that after saving a file I modified, Samba sets its access > rights to 744. > > nobody.nogroup owns /var/www, with /var/www/. as 755 > > Logged on from XP as "nobody". > > Here's /etc/samba/smb.conf: Look in log files in /var/log/samba, there should be indications there. Eventually raise the log level to 3 before doing so. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Gilles on 1 Aug 2010 06:40
On Fri, 30 Jul 2010 12:02:43 -0400, Christian PERRIER <bubulle(a)debian.org> wrote: >Look in log files in /var/log/samba, there should be indications >there. Eventually raise the log level to 3 before doing so. Thanks, I figured it out: 1. Since 'smbpassd - "www-data"' triggered an error, I simply added user "gilles" to group "www-data" which owns /var/www/ 2. Edited /etc/samba/smb.conf: ============ [global] [...] ;guest account = www-data [www] comment = WWW directory path = /var/www browsable = yes ;guest ok = yes ;access will be permitted as the default guest user read only = no ;create mask = 0755 available = yes public = yes writable = yes create mask = 0644 ============ I can now create and delete files. BTW, since I understand that there two levels in access rights (Samba and Linux), is there a utility that checks this and shows what a given user can do on a Samba share? Thanks for the help. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba |