I have problems in creating all read and write samba connection. I am mounting an Ubuntu share to windows. A program I used in windows is able to create folders and files but unable to have ownership of the folder or write on the folder because once the folder is created, it is lock. Here is my configuration: security = SHARE [Share] path = /home/project public = yes writeable = yes read only = no browseable = yes locking = no strict locking = no create mask = 777 directory mask = 777 force directory mode = 777 I have tried force security mode, inherit permissions, inherit owner as well. Is there any way so when I am connected, permissions, ownership, user, group objects are disabled, and I have full read and write for any users that mount to the share? -- Jessica Guynn jessguynn at gmail.com
On Wed, Dec 14, 2011 at 8:28 AM, Jessica Guynn <jessguynn at gmail.com> wrote:> I have problems in creating all read and write samba connection. ?I am > mounting an Ubuntu share to windows. ?A program I used in windows is able > to create folders and files but unable to have ownership of the folder or > write on the folder because once the folder is created, it is lock.What smbd.log says about it?
Hai, example globalsetting. security = share [folder] comment = path = /home/folder browseable = yes guest ok = yes read only = no hide files = /lost+found/ force directory mode = 777 force create mode = 666 directory mask = 777 create mask = 666 set /home/folder rights to 777 Louis>-----Oorspronkelijk bericht----- >Van: jessguynn at gmail.com >[mailto:samba-bounces at lists.samba.org] Namens Jessica Guynn >Verzonden: 2011-12-14 01:28 >Aan: samba at lists.samba.org >Onderwerp: [Samba] All read and write > >I have problems in creating all read and write samba connection. I am >mounting an Ubuntu share to windows. A program I used in >windows is able >to create folders and files but unable to have ownership of >the folder or >write on the folder because once the folder is created, it is lock. > > >Here is my configuration: > >security = SHARE > >[Share] > >path = /home/project >public = yes >writeable = yes >read only = no >browseable = yes >locking = no >strict locking = no >create mask = 777 >directory mask = 777 >force directory mode = 777 > > >I have tried force security mode, inherit permissions, inherit owner as >well. Is there any way so when I am connected, permissions, ownership, >user, group objects are disabled, and I have full read and >write for any >users that mount to the share? > > > >-- >Jessica Guynn >jessguynn at gmail.com >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
Louis, Same result, can't write on lock folder. This is my log.smbd when using your example [2011/12/14 12:40:03.076573, 1] smbd/server.c:282(remove_ child_pid) Could not find child 2596 -- ignoring [2011/12/14 12:47:08, 0] smbd/server.c:1141(main) smbd version 3.5.11 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2011/12/14 12:47:08.117468, 0] smbd/server.c:1187(main) standard input is not a socket, assuming -D option Fajar, Below is my log.smbd with my config [2011/12/14 10:03:58.591741, 1] smbd/server.c:282(remove_child_pid) Could not find child 1696 -- ignoring [2011/12/14 10:16:58.986687, 1] smbd/server.c:282(remove_child_pid) Could not find child 1716 -- ignoring [2011/12/14 10:29:59.302337, 1] smbd/server.c:282(remove_child_pid) Could not find child 2187 -- ignoring [2011/12/14 10:42:59.673378, 1] smbd/server.c:282(remove_child_pid) Could not find child 2341 -- ignoring Thanks, Jess.
Got few help, but still not working. Anyone know the configuration for full read and write for everyone. So no security needed or permission, ownership, or objects. Just full read and write for everyone. All the different configurations that I have tried (these are 3 separate smb.conf config and NOT all together): security = SHARE [Share] path = /home/project public = yes writeable = yes read only = no browseable = yes locking = no strict locking = no create mask = 777 directory mask = 777 force directory mode = 777 security = share [Share] path = /home/project browseable = yes guest ok = yes read only = no hide files = /lost+found/ force directory mode = 777 force create mode = 666 directory mask = 777 create mask = 666 and this security=user [Share] path = /home/project public = yes writeable = yes browseable = yes guest ok = yes guest account = Everyone create mask = 777 directory mask = 777 I am able to create file and folders, but folders I create I can't take ownership and is still lock. Any ideas? Sharing Ubuntu volume and mounting it into windows 7. So want so there's no security tab when checking the properties in Windows and just have all read and write. Thanks, Jessica
At first, can you read/write files into the share without no authentication from Windows *manually*? Their suggestion is to archive that, not to take ownership of a file. According to your description, ----- A program I used in windows is able to create folders and files but unable to have ownership of the folder ... once the folder is created, it is lock. ----- it seems that what you want is not to set all read/write share, instead you have to set that your Windows program can take ownership of a file on Samba share. If you want to take ownership to myself, you need that (1) set "dos filemode = yes" and set the file writeable. or (2) have SeTakeOwnershipPrivilege user rights If you want to set ownership to any user, you need that (1) access as root (uid = 0) or (2) have SeRestorePrivilege user rights I recommend that at first you try to take ownership a file manually. And I think that these features are probably not tested with "security share", so you had better set "security = user" and proper settings. --- TAKAHASHI Motonobu <monyo at samba.gr.jp>
I am having troubles with file permissions after installing Samba with ADS. Samba does not seem to recognize the Windows users properly. Are there detailed ADS instructions out there. I followed some instructions from a colleague but he is no more experienced than me at getting this all to work. Thanks in advance to those who take to time to read this post and muchismas gracias to those who respond. Steve Swanekamp Dr. Stephen B. Swanekamp Plasma Physics Division Washington, DC 20375 202-404-4361 Steve.Swanekamp at nrl.navy.mil
Hello, first of all we need some configuration of your smb.conf. Is winbind running? Which linux,unix are you running? Did you join your samba to windows ads? What about getent groups ; getent passwd ? ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Steve Swanekamp Gesendet: Montag, 19. Dezember 2011 23:30 An: samba at lists.samba.org Betreff: [Samba] Installing Samba with ADS I am having troubles with file permissions after installing Samba with ADS. Samba does not seem to recognize the Windows users properly. Are there detailed ADS instructions out there. I followed some instructions from a colleague but he is no more experienced than me at getting this all to work. Thanks in advance to those who take to time to read this post and muchismas gracias to those who respond. Steve Swanekamp Dr. Stephen B. Swanekamp Plasma Physics Division Washington, DC 20375 202-404-4361 Steve.Swanekamp at nrl.navy.mil -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Seemingly Similar Threads
- Linux users and Samba 4
- I can browse but can't modify or create files
- Windows XP sees fedora14/samba3 shares but not fedora20/samba4 shares
- What could cause an "unclean shutdown" of process?
- Samba 3.5.7-3.5.1-2573 not able to shutdown old processes which results in locked files