Re: AW: [Samba] Unable to delete folders in samba shares-SOLVED
On Tuesday 13 April 2004 17:02, Radio Gong 2000 GmbH Co. KG [Technik] wrote: Oh, sorry it's not as I told u!!! IT'S NOT smb:/workgroup/server/share BUT smb://server/share OH GOD.SASCHA YOU ARE A F** GENIUS If u type smb:/ and press RETURN, konqueror should browse automatically, of course u have to setup the control center of KDE. U find it under - Internet Network - network browser WITH KONQUEROR ONLY...THE WHOLE THING WORKS PERFECTLYI CAN DELETE THE BLADY FOLDER ... WOW MAN !! THANX BRO. i think the issue is with how linneighbourhood or smb4k loads the shares from the linux server into the linux client. the permissions just get screwed !! anyway , pls answer A,C, D. pls take me up on B. Also u have to setup lisarc. I have installed the package kdenetwork3-lisa-3.2.0-2, this may be SuSE-specific... THIS IS MY LISARC: i have kde3.2 , no need to mess with these thingsin kde3.1 they were there... # default configuration for local networks only # estimate the ip address from eth0 dynamic PingAddresses = auto-eth0/255.255.0.0; PingNames = AllowedAddresses = 127.0.0.1/255.255.255.0; # BroadcastNetwork = 127.0.0.1/255.255.255.255; FirstWait = 30 SecondWait = -1 UpdatePeriod = 300 DeliverUnnamedHosts = 1 MaxPingsAtOnce = 64 SearchUsingNmblookup = 1 My local smb.conf is: # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2004/04/05 14:03:45 # Global parameters [global] workgroup = SNEAKER server string = Samba %v security = DOMAIN map to guest = Bad User time server = Yes client signing = No socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS os level = 16 preferred master = No domain master = No wins server = 192.168.10.1 A. why do you need a wins server printing = cups veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0664 directory mask = 0775 Good luck and regards Your new friend: Sascha ;-) B. if you ever come to malaysia, let me know, bfast , lunch and dinner are on me...and ahem . dessert the local variety !!! My data-directory is like this: drwsr-sr-x 26 root root 4096 11. Mär 15:49 data/ My directory for all users: drwxrwxrwx6 nobody nobody 4096 13. Apr 10:43 transfer/ ok... C. Now that this nightmare is over.Tell me how you get your samba shares connected with macs we have a mac os 9.0 lying around here D. how do u back up your data. i want to be able to zip-up folders and rename by yearmonthdate.zip ? is this possible ? i am trying with cron . -- Regards, MList Sharing The Power Of IT Through Linux -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares
one more thing i removed the force directory mode commands etc,etc from the global section and placed them individually in shares section but still no change. i am wondering whether its due to the way i am viewing /mounting the shares from the samba server... my mandrake9.2/kde3.2 box has smb4k running. i use it to mount the relevant shares. then in konqueror i do whatever operations i want such as delete files rename files rename folders only deleting folders is not allowed forgot that u are running samba version 2. I made the conf for 3.0.2a. What you discribed now is mybe solved by: force create mode = 0777 force directory mode = 0777 Regards -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares-
sascha , my replies below. The leading 0, hmm. This should explain all... http://www.cpqlinux.com/permissions.html nothiing about the leading 0 , just rwxrwxrwx stuff Do not really know why it does not work for u!?! Did u set security=share? i just did. i was using security = user previously U can also add 'force group = nobody' to ensure u have a very unrestrictive group there... haven't done this yet...hmm ...done it now...still no luck For example my exchange-directory for all users read and writeable: [Transfer] comment = exhange ur files path = /data/transfer force group = nobody read only = No force create mode = 0777 force directory mode = 0777 All users can create and delete. From Windows 98/Me/NT/2000/XP, Mac OS X and Linux connected through the konqueror with smb:/ - style. I set the permissions of the share-directory like this: drwxrwxrwx5 nobody nobody 4096 7. Apr 12:10 transfer/ Maybe is this the problem?! ok i will change the ownership also , and lets see what happens Otherwise I really don't know what else could be. Ah, another thing for ur root-problem, have a look in /etc/samba/smbusermap... Regards my smbuser doesn't show root being mapped to mlist Oh god...the nightmare continueswhat version of samba are you running by the way -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
AW: [Samba] Unable to delete folders in samba shares
What u wrote here: once again this folder stdc++.txt does exist ...reminds me on having charset problems with samba, doing the same stuff here until I set up the right charsets. Also, u see in logfile: call_trans2qfilepathinfo: vfs_stat of New Folder2231113/.directory failed (No such file or directory) And u say: but this directory NewFolder2231113 does exist in folder kumar But there a difference, you see in folder: NewFolder2231113 and in logfile it's named New Folder2231113, there is a space between. Regards Sascha P.S.: Awaiting th answers of rruger... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 18:08 An: Radio Gong 2000 GmbH Co. KG [Technik] Cc: [EMAIL PROTECTED] Betreff: Re: [Samba] Unable to delete folders in samba shares On Wednesday 07 April 2004 18:15, Radio Gong 2000 GmbH Co. KG [Technik] wrote: I forgot the whole time. Please tail ur logfiles and maybe do log level = 10 in the globals-section. Sascha, here are the logs ( plus the smb.conf) . i deleted all the old logs and am starting afresh/new. log level =10 A.service smb start created log.smbd and log nmbd B.i am using a notebook of name kumarnec. logging in as user kumar via smb4k. mounting folders maindump and kumar... log.kumarnec created C. from log.kumarnec, uid 500=kumar and gid=106=nobody and gid =500 confirmed by /etc/passwd and /etc/group D.i create a file in folder kumar called TextFile987. things which are suspicious are ; from log.kumarnec [2004/04/07 23:29:52, 3] lib/util.c:unix_clean_name(387) unix_clean_name [New Folder2231113/.directory] [2004/04/07 23:29:52, 3] smbd/trans2.c:call_trans2qfilepathinfo(1719) call_trans2qfilepathinfo: vfs_stat of New Folder2231113/.directory failed (No such file or directory) but this directory NewFolder2231113 does exist in folder kumar E. i create a folder testdrive in folder maindump things which are suspicious in log.kumarnec are; [2004/04/07 23:41:04, 5] smbd/filename.c:unix_convert(120) unix_convert called on file \Razidan\.directory [2004/04/07 23:41:04, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/Razidan/.directory] [2004/04/07 23:41:04, 5] smbd/mangle_hash.c:is_8_3(368) Checking .directory for 8.3 [2004/04/07 23:41:04, 5] smbd/filename.c:unix_convert(194) unix_convert begin: name = Razidan/.directory, dirpath = Razidan, start = .directory [2004/04/07 23:41:04, 10] smbd/mangle_hash.c:is_mangled(317) is_mangled: .directory : False [2004/04/07 23:41:04, 10] smbd/mangle_hash.c:is_mangled(317) is_mangled: .directory : False [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145) is_in_path: SN-Mandrake Installation (Fresh Install).sxw [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150) is_in_path: no name list. [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145) is_in_path: TG - Windows Internet Connectivity restoration.sxw [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150) is_in_path: no name list. [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145) is_in_path: SN-Mandrake Installation (Dual Boot).sxw [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150) is_in_path: no name list. [2004/04/07 23:41:04, 10] smbd/mangle_hash.c:is_mangled(317) is_mangled: .directory : False [2004/04/07 23:41:04, 5] smbd/filename.c:unix_convert(319) New file .directory [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1145) is_in_path: Razidan/.directory [2004/04/07 23:41:04, 8] lib/util.c:is_in_path(1150) is_in_path: no name list. [2004/04/07 23:41:04, 3] lib/util.c:unix_clean_name(387) unix_clean_name [Razidan/.directory] [2004/04/07 23:41:04, 3] smbd/trans2.c:call_trans2qfilepathinfo(1719) call_trans2qfilepathinfo: vfs_stat of Razidan/.directory failed (No such file or directory) [2004/04/07 23:41:04, 3] smbd/error.c:error_packet(94) error string = No such file or directory once again this folder Razidan does exist... is_in_path: no name list. [2004/04/07 23:46:43, 3] lib/util.c:unix_clean_name(387) unix_clean_name [stdc++.txt/.directory] [2004/04/07 23:46:43, 3] smbd/trans2.c:call_trans2qfilepathinfo(1719) call_trans2qfilepathinfo: vfs_stat of stdc++.txt/.directory failed (No such file or directory) [2004/04/07 23:46:43, 3] smbd/error.c:error_packet(94) error string = No such file or directory once again this folder stdc++.txt does exist F. the funny thing is the amount of log lines generated for these 2 transactions ( D and E ) log.smbd = about 700 lines log.nmbd = about 9000 lines log.kumarnec = about 6000 lines G. anyway i am attaching the log files here. i do really hope you can help me. thanx for your time. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: AW: [Samba] Unable to delete folders in samba shares
testparm shows; character set = nothing is set for it ??? is this the problem... On Thursday 08 April 2004 05:02, Radio Gong 2000 GmbH Co. KG [Technik] wrote: What u wrote here: once again this folder stdc++.txt does exist ...reminds me on having charset problems with samba, doing the same stuff here until I set up the right charsets. Also, u see in logfile: call_trans2qfilepathinfo: vfs_stat of New Folder2231113/.directory failed (No such file or directory) And u say: but this directory NewFolder2231113 does exist in folder kumar But there a difference, you see in folder: NewFolder2231113 and in logfile it's named New Folder2231113, there is a space between. Regards Sascha P.S.: Awaiting th answers of rruger... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 18:08 An: Radio Gong 2000 GmbH Co. KG [Technik] Cc: [EMAIL PROTECTED] Betreff: Re: [Samba] Unable to delete folders in samba shares On Wednesday 07 April 2004 18:15, Radio Gong 2000 GmbH Co. KG [Technik] wrote: I forgot the whole time. Please tail ur logfiles and maybe do log level = 10 in the globals-section. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares
On Friday 02 April 2004 20:57, Radio Gong 2000 GmbH Co. KG [Technik] wrote: Please send smb.conf... To many questions... Sascha, here is the smb.conf file. hope u can help. -- Regards, MList # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command testparm # to check that you have not made any basic syntactic errors. # #=== Global Settings = [global] # 1. Server Naming Options: # workgroup = NT-Domain-Name or Workgroup-Name workgroup = LINUXHOUSE # netbios name is the name you will see in Network Neighbourhood, # but defaults to your hostname netbios name = SERVER01 # server string is the equivalent of the NT Description field server string = Server %v # Message command is run by samba when a popup message is sent to it. # The example below is for use with LinPopUp: ; message command = /usr/bin/linpopup %f %m %s; rm %s # 2. Printing Options: # CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK # (as cups is now used in linux-mandrake 7.2 by default) # if you want to automatically load your printer list rather # than setting them up individually then you'll need this printcap name = cups load printers = yes # It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx, cups printing = cups # Samba 2.2 supports the Windows NT-style point-and-print feature. To # use this, you need to be able to upload print drivers to the samba # server. The printer admins (or root) may install drivers onto samba. # Note that this feature uses the print$ share, so you will need to # enable it below. # This parameter works like domain admin group: # printer admin = @group user printer admin = @adm root # This should work well for winbind: ; printer admin = @Domain Admins # 3. Logging Options: # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Set the log (verbosity) level (0 = log level = 10) ; log level = 3 # 4. Security and Domain Membership Options: # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the loopback interface. For more examples of the syntax see # the smb.conf man page. Do not enable this if (tcp/ip) name resolution does # not work for all the hosts in your network. hosts allow = 192.168.0. 127.0.0.1 # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user nobody is used guest account = guest # Allow users to map to guest: map to guest = bad user # Security mode. Most people will want user level security. See # security_level.txt for details. security = user # Use password server option only with security = server or security = domain # When using security = domain, you should use password server = * ; password server = NT-Server-Name ; password server = * # Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. password level = 8 username level = 8 # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents # Encrypted passwords are required for any use of samba in a Windows NT domain # The smbpasswd file is only required by a server doing authentication, thus # members of a domain do not need one. encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd # The following are needed to allow password changing from Windows to # also update the Linux system password. # NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above. # NOTE2: You do NOT need these to allow workstations to change only #the encrypted SMB passwords. They allow the Unix password #to be kept in sync with the SMB password. unix password sync = Yes # You either need to setup a passwd program and passwd chat, or # enable pam password change ; pam password change = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n*passwd:*all*authentication*tokens*updated*successfully* # Unix users can map to different SMB User names
[Samba] Unable to delete folders in samba shares
i am unable to delete folders in samba shares in linux clients. but the files in any folder can be deleted. from window clients , all delete operations whether files or folders works ok. i have been faced with this for a few months... any clues anyone? -- Regards, MList Mandrake 9.2 Kernel 2.4.22-21 KDE 3.2 OpenOffice 1.1 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares
Did u check the rights? Regards Sascha Am Freitag, 2. April 2004 10:50 schrieb [EMAIL PROTECTED]: i am unable to delete folders in samba shares in linux clients. but the files in any folder can be deleted. from window clients , all delete operations whether files or folders works ok. i have been faced with this for a few months... any clues anyone? -- Regards, MList Mandrake 9.2 Kernel 2.4.22-21 KDE 3.2 OpenOffice 1.1 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares
On Friday 02 April 2004 17:34, Radio Gong 2000 GmbH Co. KG [Technik] wrote: Did u check the rights? Regards Sascha Sascha, the relevant folder called samba has permissions 777 and all the subfolders below it ( such as drivers , personal , office) have permissions 777. from my windows computer , i can delete the subfolders in these folders but not from my linux client. The samba server is a separate machine. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares
Can u create folders from the mandrake box? Sascha Am Freitag, 2. April 2004 12:34 schrieb [EMAIL PROTECTED]: On Friday 02 April 2004 17:34, Radio Gong 2000 GmbH Co. KG [Technik] wrote: Did u check the rights? Regards Sascha Sascha, the relevant folder called samba has permissions 777 and all the subfolders below it ( such as drivers , personal , office) have permissions 777. from my windows computer , i can delete the subfolders in these folders but not from my linux client. The samba server is a separate machine. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares
yes, we can create subfolders and files in all the samba shares from the the linux clients or even the windows clients. On Friday 02 April 2004 18:50, Radio Gong 2000 GmbH Co. KG [Technik] wrote: Can u create folders from the mandrake box? Sascha -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable to delete folders in samba shares
Please send smb.conf... To many questions... Am Freitag, 2. April 2004 14:09 schrieb [EMAIL PROTECTED]: yes, we can create subfolders and files in all the samba shares from the the linux clients or even the windows clients. On Friday 02 April 2004 18:50, Radio Gong 2000 GmbH Co. KG [Technik] wrote: Can u create folders from the mandrake box? Sascha -- Mit freundlichen Grüssen Sascha Bieler ___ Radio Gong 2000 GmbH Co. KG Sascha Bieler Technischer Leiter Franz-Joseph-Strasse 14 80801 München Tel.: +49 89 38 166 181 Fax.: +49 89 38 166 180 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Unable to delete folders in samba shares
hello, i am unable to delete folders in samba shares in linux clients. but the files in any folder can be deleted. from window clients , all delete operations whether files or folders works ok. i have been faced with this for a few months... any clues ? -- Regards, MList Mandrake 9.2 Kernel 2.4.22-21 KDE 3.2 OpenOffice 1.1 Samba 2.2.8a -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba