SHOW:
|
|
- or go back to the newest paste.
| 1 | "thedigitalmachine" mounts "dune" using this... | |
| 2 | ||
| 3 | //dune/spiceflow /spiceflow/dune cifs credentials=/root/samba_credentials,uid=1000,gid=100,file_mode=0774,dir_mode=0775,auto 0 0 | |
| 4 | ||
| 5 | here are the permissions... | |
| 6 | ||
| 7 | thedigitalmachine ~ # ls -ld /spiceflow | |
| 8 | drwxrwxr-x 7 m apache 4096 Aug 28 2011 /spiceflow | |
| 9 | thedigitalmachine ~ # ls -ld /spiceflow/dune | |
| 10 | drwxrwxr-x 12 m users 0 Mar 23 11:54 /spiceflow/dune | |
| 11 | thedigitalmachine ~ # ls -ld /spiceflow/dune/raid | |
| 12 | drwxrwxr-x 12 m users 0 Apr 22 21:56 /spiceflow/dune/raid | |
| 13 | thedigitalmachine ~ # | |
| 14 | ||
| 15 | and here's the test script - has me baffled... | |
| 16 | ||
| 17 | m@thedigitalmachine ~/development/Reusable/PHP/scrap $ cat test.php | |
| 18 | <?php | |
| 19 | ||
| 20 | echo realpath('/spiceflow/dune'); echo "\n";
| |
| 21 | echo realpath('/spiceflow/dune/raid'); echo "\n";
| |
| 22 | ||
| 23 | if (!is_readable('/spiceflow/dune' )){ echo "nodune\n"; }
| |
| 24 | if (!is_readable('/spiceflow/dune/raid' )){ echo "noraid\n"; }
| |
| 25 | ||
| 26 | ?> | |
| 27 | m@thedigitalmachine ~/development/Reusable/PHP/scrap $ php test.php | |
| 28 | /spiceflow/dune | |
| 29 | ||
| 30 | noraid |