Hello, ls -ld tmp gives me this...
drwxrwxr-x 2 wbchmura wbchmura 4096 Jun 15 00:10 tmp ls -ld on the directory about above it (the one I can create in) gives me this... drwx--x--x 31 wbchmura wbchmura 4096 Jun 15 01:25 wbchmura/ Even less rights This part of the log file had me wondering: > >> call_trans2qfilepathinfo: SMB_VFS_LSTAT of testdir/newtest failed > >> (No such file or directory) On Tuesday 15 June 2004 10:19 am, Daniel Ramaley wrote: > My guess is that you have permission to modify the parent directory, > which would be sufficient to change the timestamp. But you do not have > permission to modify the directory that you can't create a file in. > What does "ld -ld <dir>" give you, where <dir> is the directory in > question? > > On Tuesday 15 June 2004 08:31 am, Bill Chmura wrote: > >I just noticed that even though I can go into a subdirectory and not > > create a file, I can update it with touch... Does that make sense? > > I would think I would need write permission to do that... in that > > case, why can't I create? > > > >Arrrrggggg > > > >On Tuesday 15 June 2004 02:31 am, Bill Chmura wrote: > >> I've battled this one for a few days now and its costing my sanity > >> so I am hoping that someone here has an answer > >> > >> I am running the samba server 3.0.4 on a linux 2.4.25 server. > >> > >> I can connect to my share point and authenticate fine > >> > >> I can create files or directories in the root of the sharepoint fine > >> > >> I can go into subdirectories and look at all the files... > >> > >> But I cannot create in any directories below the sharepoint! If I > >> do a touch filename I get a Permission Denied. But I can do it in > >> the root of my sharepoint. I have several like this. > >> > >> Here is my fstab entry on my client box: > >> ------------------------------------ > >> //modok/wbchmura /home/wbchmura/mnt/wbchmura smbfs > >> rw,users,owner,noauto,username=wbchmura,password=xxxx,uid=500,gid=50 > >>0 0 0 > >> ----------------------------------- > >> And a chunk of my smb.conf file > >> > >> [wbchmura] > >> comment = Bill's directory > >> path = /home/wbchmura > >> valid users = wbchmura > >> public = no > >> writable = yes > >> read only = no > >> printable = no > >> > >> The uid and gif match the wbchmura uid and gid on the file server. > >> In the sharepoint all of the files and directories are set > >> accordingly. > >> > >> drwxr-xr-x 2 wbchmura wbchmura 4096 Jun 15 01:17 testdir > >> drwxrwxr-x 2 wbchmura wbchmura 4096 Jun 15 00:10 tmp > >> > >> If I change the rights on a directory to 777 it works fine. > >> > >> Do symlinks affect anyting? The path to my share is a symlink of > >> /home -> /raid1/home > >> > >> I tried coding in /raid1/home and it seemed to not change anything > >> > >> Here are some log files. > >> Let me know if I forgot anything... > >> > >> Thanks > >> > >> ########Logon########## > >> > >> [2004/06/15 01:24:17, 3] smbd/oplock.c:init_oplocks(1226) > >> open_oplock_ipc: opening loopback UDP socket. > >> [2004/06/15 01:24:17, 3] > >> smbd/oplock_linux.c:linux_init_kernel_oplocks(303) Linux kernel > >> oplocks enabled > >> [2004/06/15 01:24:17, 3] smbd/oplock.c:init_oplocks(1257) > >> open_oplock ipc: pid = 22982, global_oplock_port = 32907 > >> [2004/06/15 01:24:17, 3] lib/access.c:check_access(313) > >> check_access: no hostnames in host allow/deny list. > >> [2004/06/15 01:24:17, 2] lib/access.c:check_access(324) > >> Allowed connection from (192.168.0.99) > >> [2004/06/15 01:24:17, 3] smbd/process.c:process_smb(890) > >> Transaction 0 of length 183 > >> [2004/06/15 01:24:17, 3] smbd/process.c:switch_message(685) > >> switch message SMBnegprot (pid 22982) > >> [2004/06/15 01:24:17, 3] smbd/sec_ctx.c:set_sec_ctx(288) > >> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 > >> [2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455) > >> Requested protocol [PC NETWORK PROGRAM 1.0] > >> [2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455) > >> Requested protocol [MICROSOFT NETWORKS 1.03] > >> [2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455) > >> Requested protocol [MICROSOFT NETWORKS 3.0] > >> [2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455) > >> Requested protocol [LANMAN1.0] > >> [2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455) > >> Requested protocol [LM1.2X002] > >> [2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455) > >> Requested protocol [DOS LANMAN2.1] > >> [2004/06/15 01:24:17, 3] smbd/negprot.c:reply_negprot(455) > >> Requested protocol [Samba] > >> > >> ######## cd into sharepoint and testdir and touch "newtest"######### > >> [2004/06/15 01:26:29, 3] smbd/process.c:process_smb(890) > >> Transaction 36 of length 80 > >> [2004/06/15 01:26:29, 3] smbd/process.c:switch_message(685) > >> switch message SMBtrans2 (pid 22982) > >> [2004/06/15 01:26:29, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2331) > >> call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512 > >> [2004/06/15 01:26:29, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2362) > >> call_trans2qfilepathinfo . (fnum = -1) level=512 call=5 total_data=0 > >> [2004/06/15 01:26:31, 3] smbd/process.c:process_smb(890) > >> Transaction 37 of length 80 > >> [2004/06/15 01:26:31, 3] smbd/process.c:switch_message(685) > >> switch message SMBtrans2 (pid 22982) > >> [2004/06/15 01:26:31, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2331) > >> call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512 > >> [2004/06/15 01:26:31, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2362) > >> call_trans2qfilepathinfo . (fnum = -1) level=512 call=5 total_data=0 > >> [2004/06/15 01:26:31, 3] smbd/process.c:process_smb(890) > >> Transaction 38 of length 87 > >> [2004/06/15 01:26:31, 3] smbd/process.c:switch_message(685) > >> switch message SMBtrans2 (pid 22982) > >> [2004/06/15 01:26:31, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2331) > >> call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512 > >> [2004/06/15 01:26:31, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2362) > >> call_trans2qfilepathinfo testdir (fnum = -1) level=512 call=5 > >> total_data=0 [2004/06/15 01:26:37, 3] > >> smbd/process.c:process_smb(890) Transaction 39 of length 95 > >> [2004/06/15 01:26:37, 3] smbd/process.c:switch_message(685) > >> switch message SMBtrans2 (pid 22982) > >> [2004/06/15 01:26:37, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2331) > >> call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512 > >> [2004/06/15 01:26:37, 3] > >> smbd/trans2.c:call_trans2qfilepathinfo(2349) > >> call_trans2qfilepathinfo: SMB_VFS_LSTAT of testdir/newtest failed > >> (No such file or directory) > >> [2004/06/15 01:26:37, 3] smbd/error.c:error_packet(94) > >> error string = No such file or directory > >> [2004/06/15 01:26:37, 3] smbd/error.c:error_packet(134) > >> error packet at smbd/trans2.c(2219) cmd=50 (SMBtrans2) eclass=1 > >> ecode=2 > >> > >> > >> -- > >> > >> Bill Chmura > >> > >> w. http://www.fistfullofcode.com > >> w. http://www.explosivo.com > >> > >> ------------------------------------------------------ > >> Without good motivation, science and technology, instead of helping, > >> bring more fear and threaten global destruction. Compassionate > >> thought is very important for humankind. > >> -His Holiness the Dalai Lama > >> > >> Wisdom does not mean knowledge but experiential understanding. > >> Wisdom helps you to change radically your habits and perceptions, as > >> you discover the constantly changing, interconnected nature of the > >> whole of existence. -Martine Batchelor, "Meditation For Life" > >> ------------------------------------------------------- > > > >-- > > > >Bill Chmura > > > >w. http://www.fistfullofcode.com > >w. http://www.explosivo.com > > > >------------------------------------------------------ > >Without good motivation, science and technology, instead of helping, > > bring more fear and threaten global destruction. Compassionate > > thought is very important for humankind. > >-His Holiness the Dalai Lama > > > >Wisdom does not mean knowledge but experiential understanding. Wisdom > > helps you to change radically your habits and perceptions, as you > > discover the constantly changing, interconnected nature of the whole > > of existence. -Martine Batchelor, "Meditation For Life" > >------------------------------------------------------- > > -- > ------------------------------------------------------------------------ > Dan Ramaley > Digital Media Library Specialist > (515) 271-1934 > Cowles Library 140, Drake University -- Bill Chmura Director of Internet Technology Explosivo ITG Wolcott, CT p: 888.560.YWEB (9932) e: [EMAIL PROTECTED] w. http://www.explosivo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
