I'm experimenting with Samba 2.2.7a in my home office-- all is well except only I can open my Word files copied to our Samba share. All other users can only open them "Read-only". Please help me correct this. Thanks, --EdB <tkged@earthlink.net> Here's the smb.conf file: [global] netbios name = Server01 workgroup = TKG os level = 64 preferred master = yes domain master = yes local master = yes encrypt passwords = Yes security = user domain logons = Yes logon path = \\%N\homes\share\profiles\%u logon drive = U: logon home = \\%N\homes\%u logon script = logon.bat [NETLOGON] path = /usr/local/samba/lib/netlogon read only = yes write list = ntadmin [homes] comment = Home Directories browseable = no writable = yes guest ok = no read only = no [share] comment = Server Share path = /home/share public = yes read only = no write list = @staff
Thanks so far, I've taken your comments and revised my smb.conf file (below), restarted the server, re-logged into my XP box, yet my "read-only" problem continues. Any other thoughts? Thanks, --Ed [global] netbios name = Server01 workgroup = TKG os level = 64 preferred master = yes domain master = yes local master = yes encrypt passwords = Yes security = user domain logons = Yes logon path = \\%N\homes\share\profiles\%u logon drive = U: logon home = \\%N\homes\%u logon script = logon.bat [NETLOGON] path = /usr/local/samba/lib/netlogon read only = yes write list = ntadmin [homes] comment = Home Directories browseable = no writable = yes guest ok = no read only = no [share] comment = Server Share path = /home/share public = yes read only = no create mask = 0775 force create mode = 0775 force directory mode = 0775 write list = @staff
Do you need to chmod the files that have already been written there? The ever popular chmod 666, or 660 if group ownership is correct. ~ Daniel> -----Original Message----- > From: Ed Breuninger [mailto:tkged@earthlink.net] > Sent: Wednesday, January 08, 2003 2:07 PM > To: samba@lists.samba.org > Subject: Re: [Samba] WinXP/WordXP "Read-only" problem > > > > Thanks so far, > > I've taken your comments and revised my smb.conf file > (below), restarted the > server, re-logged into my XP box, yet my "read-only" problem > continues. Any > other thoughts? > > Thanks, > > --Ed > > [global] > netbios name = Server01 > workgroup = TKG > > os level = 64 > preferred master = yes > domain master = yes > local master = yes > > encrypt passwords = Yes > security = user > domain logons = Yes > logon path = \\%N\homes\share\profiles\%u > logon drive = U: > logon home = \\%N\homes\%u > logon script = logon.bat > > > [NETLOGON] > path = /usr/local/samba/lib/netlogon > read only = yes > write list = ntadmin > > [homes] > comment = Home Directories > browseable = no > writable = yes > guest ok = no > read only = no > > [share] > comment = Server Share > path = /home/share > public = yes > read only = no > create mask = 0775 > force create mode = 0775 > force directory mode = 0775 > write list = @staff > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > >----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
OK, that did it for the existing files. But if I save a new file to the Samba share, or copy a file from my PC to the share, same problem. More ideas? On Wed, 8 Jan 2003 14:42:06 -0500 daniel.jarboe@custserv.com wrote:> Do you need to chmod the files that have > already been written > there? The ever popular chmod 666, or 660 if > group ownership > is correct. > > ~ Daniel > > > -----Original Message----- > > From: Ed Breuninger > [mailto:tkged@earthlink.net] > > Sent: Wednesday, January 08, 2003 2:07 PM > > To: samba@lists.samba.org > > Subject: Re: [Samba] WinXP/WordXP "Read-only" > problem > > > > > > > > Thanks so far, > > > > I've taken your comments and revised my > smb.conf file > > (below), restarted the > > server, re-logged into my XP box, yet my > "read-only" problem > > continues. Any > > other thoughts? > > > > Thanks, > > > > --Ed > > > > [global] > > netbios name = Server01 > > workgroup = TKG > > > > os level = 64 > > preferred master = yes > > domain master = yes > > local master = yes > > > > encrypt passwords = Yes > > security = user > > domain logons = Yes > > logon path = \\%N\homes\share\profiles\%u > > logon drive = U: > > logon home = \\%N\homes\%u > > logon script = logon.bat > > > > > > [NETLOGON] > > path = /usr/local/samba/lib/netlogon > > read only = yes > > write list = ntadmin > > > > [homes] > > comment = Home Directories > > browseable = no > > writable = yes > > guest ok = no > > read only = no > > > > [share] > > comment = Server Share > > path = /home/share > > public = yes > > read only = no > > create mask = 0775 > > force create mode = 0775 > > force directory mode = 0775 > > write list = @staff > >
To the samba share with force create mode = 0775 force directory mode = 0775 Or a different one? ~ Daniel> -----Original Message----- > From: Ed Breuninger [mailto:tkged@earthlink.net] > Sent: Wednesday, January 08, 2003 3:01 PM > To: Jarboe, Daniel - Data Center Operations > <daniel.jarboe@custserv.com> > Cc: samba@lists.samba.org > Subject: RE: [Samba] WinXP/WordXP "Read-only" problem > > > OK, that did it for the existing files. But if I save a new > file to the Samba > share, or copy a file from my PC to the share, same problem. > > More ideas? > > On Wed, 8 Jan 2003 14:42:06 -0500 daniel.jarboe@custserv.com wrote: > > > Do you need to chmod the files that have > > already been written > > there? The ever popular chmod 666, or 660 if > > group ownership > > is correct. > > > > ~ Daniel > > > > > -----Original Message----- > > > From: Ed Breuninger > > [mailto:tkged@earthlink.net] > > > Sent: Wednesday, January 08, 2003 2:07 PM > > > To: samba@lists.samba.org > > > Subject: Re: [Samba] WinXP/WordXP "Read-only" > > problem > > > > > > > > > > > > Thanks so far, > > > > > > I've taken your comments and revised my > > smb.conf file > > > (below), restarted the > > > server, re-logged into my XP box, yet my > > "read-only" problem > > > continues. Any > > > other thoughts? > > > > > > Thanks, > > > > > > --Ed > > > > > > [global] > > > netbios name = Server01 > > > workgroup = TKG > > > > > > os level = 64 > > > preferred master = yes > > > domain master = yes > > > local master = yes > > > > > > encrypt passwords = Yes > > > security = user > > > domain logons = Yes > > > logon path = \\%N\homes\share\profiles\%u > > > logon drive = U: > > > logon home = \\%N\homes\%u > > > logon script = logon.bat > > > > > > > > > [NETLOGON] > > > path = /usr/local/samba/lib/netlogon > > > read only = yes > > > write list = ntadmin > > > > > > [homes] > > > comment = Home Directories > > > browseable = no > > > writable = yes > > > guest ok = no > > > read only = no > > > > > > [share] > > > comment = Server Share > > > path = /home/share > > > public = yes > > > read only = no > > > create mask = 0775 > > > force create mode = 0775 > > > force directory mode = 0775 > > > write list = @staff > > > > > >----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
You the Man! That did it all, Daniel. Thanks so much for your excellent and timely help! --Ed> If you needed world writable in your directories, you will need it in > your create mask and force create mode too. So, for wide-open > permissions, instead of 0775, use 0777 > > ~ Daniel