User(s) browsing this thread: 1 Guest(s)
|
Problem reading network dir
|
|
06-13-2010, 10:25 AM
|
|||
|
|||
|
Hi,
I just have the following problem: I'm currently busy writing a script that reads my film collection stored on my computer. The network drive is shared on the network and does not use a password. When I use the NMT and use the network browser everything works and I see all the directories. I also create a link to the network dir. PHP Code: #!/mnt/syb8634/server/php5-cgigives: drwxr-xr-x 4 531 500 0 May 27 2009 .. drwxrwxrwx 2 root root 0 Jun 13 08:22 muziek drwxrwxrwx 2 root root 0 Jun 13 08:22 films drwxrwxrwx 2 root root 0 Jun 13 08:22 NETWORK_BROWSER drwxr-xr-x 5 root root 0 Jun 13 08:22 . However when I do PHP Code: #!/mnt/syb8634/server/php5-cgiI get drwxr-xr-x 5 root root 0 Jun 13 08:22 .. drwxrwxrwx 2 root root 0 Jun 13 08:22 . and I don't see any other directories. It drives my crazy, it sounds like something with premissions, however running in 8883 mode I should have full root access. How do I get to my files using php? |
|||
|
06-13-2010, 10:41 AM
|
|||
|
|||
|
RE: Problem reading network dir
-l only shows information like permissions, owners, size, and when last modified
try with no switch or -a if you want to show all folders (06-13-2010 10:25 AM)jaccoswart Wrote: Hi, All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit. ![]() http://trakt.tv/downloads/popcorn-hour |
|||
|
06-13-2010, 11:00 AM
(This post was last modified: 06-13-2010 11:09 AM by jaccoswart.)
|
|||
|
|||
|
RE: Problem reading network dir
Sorry, I copy pasted the code wrongly I already used the -lart.
Some extra info, I'm trying to get to a Vista share. If I go map the public folder on Vista I can get the directory listing using PHP. Is the normal browser of NMT using samba to get to the windows share and is that the reason that I can't get to my other shared directories when using php? UPDATE: I just found out why it didn't work..... Somehow you need to add everybody to the permission list in Vista to get PHP the correct privileges to see the directory listing, although it already works before in the normal NMT browser. Thread can be closed.
|
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| On-Demand network share mounting | journey4712 | 347 | 120,527 |
04-20-2012 05:32 PM Last Post: Waspoeder |
|
| Streaming from PCH to network | naight | 9 | 3,429 |
02-11-2011 05:26 PM Last Post: naight |
|
| Stream movie audio over network | Irri | 0 | 1,454 |
11-06-2010 11:52 AM Last Post: Irri |
|
| NAS Mount problem | sampras | 0 | 1,169 |
11-04-2010 04:05 PM Last Post: sampras |
|
| Transmission and network hd | hairball | 3 | 1,811 |
07-08-2010 10:26 AM Last Post: hairball |
|
| edit network share from within a100 | graf | 7 | 2,242 |
07-08-2010 01:08 AM Last Post: graf |
|
| Problem with Mac and HDD | laurasirco | 18 | 3,515 |
07-04-2010 06:19 PM Last Post: laurasirco |
|
| Problem mounting windows shares after reset | kruuth | 0 | 1,181 |
06-22-2010 06:14 AM Last Post: kruuth |
|
| HTML problem: ol + img | nexushoratio | 7 | 4,388 |
06-02-2010 03:08 PM Last Post: excal |
|
| Re-enable the network share from command line? | glorifyday | 0 | 1,842 |
03-04-2010 05:06 PM Last Post: glorifyday |
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




![[+]](images/collapse_collapsed.gif)

![[Image: watched-fanart.jpg]](http://trakt.tv/user/zombiehunter/widget/watched-fanart.jpg)