
Untitled
By: a guest on
May 4th, 2012 | syntax:
None | size: 1.02 KB | hits: 12 | expires: Never
"thedigitalmachine" mounts "dune" using this...
//dune/spiceflow /spiceflow/dune cifs credentials=/root/samba_credentials,uid=1000,gid=100,file_mode=0774,dir_mode=0775,auto 0 0
here are the permissions...
thedigitalmachine ~ # ls -ld /spiceflow
drwxrwxr-x 7 m apache 4096 Aug 28 2011 /spiceflow
thedigitalmachine ~ # ls -ld /spiceflow/dune
drwxrwxr-x 12 m users 0 Mar 23 11:54 /spiceflow/dune
thedigitalmachine ~ # ls -ld /spiceflow/dune/raid
drwxrwxr-x 12 m users 0 Apr 22 21:56 /spiceflow/dune/raid
thedigitalmachine ~ #
and here's the test script - has me baffled...
m@thedigitalmachine ~/development/Reusable/PHP/scrap $ cat test.php
<?php
echo realpath('/spiceflow/dune'); echo "\n";
echo realpath('/spiceflow/dune/raid'); echo "\n";
if (!is_readable('/spiceflow/dune' )){ echo "nodune\n"; }
if (!is_readable('/spiceflow/dune/raid' )){ echo "noraid\n"; }
?>
m@thedigitalmachine ~/development/Reusable/PHP/scrap $ php test.php
/spiceflow/dune
noraid