Skip to content
Tcl Source Code Artifact [3482f4c537]
Login

Artifact [3482f4c537]

Artifact 3482f4c5376afc1506377e94e8f4ee8781d490e7:

Ticket change [3482f4c537] - Ticket [1613456fffffffff|1613456fff] <i>file readable lies with samba shared folder or file</i> status still Open with 4 other changes by fvogelnew1 on 2007-01-05 04:45:41.
D 2007-01-05T04:45:41
J icomment Logged\sIn:\sYES\s\nuser_id=1245417\nOriginator:\sYES\n\nHi,\n\nI\stracked\sthe\sproblem\sto\sthe\sfollowing\snarrower\sissue.\n\nIn\ssome\sLinux\sdirectory\sshared\swith\sSamba,\screate\sany\sfile\smyfile.txt.\n\nThen\splay\swith\sthe\saccess\srigths\sand\ssee\sthe\sresults:\n\nchmod\s0600\smyfile.txt\n\s\sThen\sfile\sreadable\s$thefile\sanswers:\n\s\s\s\s\s1\sin\swish\srun\son\sthe\sLinux\smachine\n\s\s\s\s\s0\sin\swish\srun\son\sthe\sWindows\smachine\n\s\sAnd\sfile\swritable\s$thefile\sanswers:\n\s\s\s\s\s1\sin\swish\srun\son\sthe\sLinux\smachine\n\s\s\s\s\s0\sin\swish\srun\son\sthe\sWindows\smachine\n\nchmod\s0606\smyfile.txt\n\s\sThen\sfile\sreadable\s$thefile\sanswers:\n\s\s\s\s\s1\sin\swish\srun\son\sthe\sLinux\smachine\n\s\s\s\s\s1\sin\swish\srun\son\sthe\sWindows\smachine\n\s\sAnd\sfile\swritable\s$thefile\sanswers:\n\s\s\s\s\s1\sin\swish\srun\son\sthe\sLinux\smachine\n\s\s\s\s\s1\sin\swish\srun\son\sthe\sWindows\smachine\n\ni.e.\sthe\sfile\smust\sbe\sgranted\saccess\srights\sfor\sthe\s"Others"\susers\sgroup,\sotherwise\sit\sis\sneither\sreadable\snor\swritable,\seven\sby\sthe\suser\swho\screated\sit.\n\nThe\ssmb.conf\shas\n\s\smap\sto\sguest\s=\snever\nand\sI\screated\sa\sLinux\suser\swith\sthe\ssame\sname\sand\spassword\sas\sthe\sWindows\suser,\sso\sthat\sthere\sis\sno\slogin\sdialog\swhen\sthe\sWindows\smachine\sconnects\sto\sthe\sLinux\ssamba\sshare.\sThe\sWindows\slogin\sand\spasswords\sare\ssent\sby\sWindows\sto\sSamba,\sand\sSamba\shas\sthis\suser\sincluded\sin\sits\ssmbpasswd\sfile.\n\n\nTo\ssum\sup:\n\n\s\sIt\sseems\sthat\sa\sfile\sonce\sreadable\sand\swritable\sby\ssome\suser\son\sLinux\sis\snot\sreadable\snor\swritable\slater\sby\sthis\ssame\suser\sif\sthis\suser\sconnects\sthrough\sthe\ssamba\sshare.\n\n\s\sWhen\srun\sthrough\sa\sSamba\sshare,\sfile\sreadable/writable\sappears\sto\scheck\snot\sonly\sthe\suser\srights\sbut\salso\sthe\s"others"\saccess\srights,\sand\sthis\sis\sodd.\n\nFrancois\n\n
J login fvogelnew1
J mimetype text/plain
J username fvogelnew1
K 1613456fffffffffffffffffffffffffffffffff
U fvogelnew1
Z bbc79fd9e645c0e84e9335ac3140a7ac