Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7880649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:11:36+00:00 2026-06-03T04:11:36+00:00

I mounted network drive (running Windows Server 2008) on Ubuntu by adding command //10.10.101.54/docflow

  • 0

I mounted network drive (running Windows Server 2008) on Ubuntu by adding command

//10.10.101.54/docflow /opt/lampp/htdocs/mount cifs user=administrator,password=wbaZaja43ik,rwx,user,auto,file_mode=6777,dir_mode=6777,uid=1000,gid=1000

in /etc/fstab but have troubles using PHP functions is_file() or is_dir() on files and directories on that mapped drive. These functions both return FALSE when called on existing files or directories – correct paths checked by file_exists() function which works correctly. PHP is running under ‘administrator’ user and have all privileges needed for manipulation.

Any idea how to solve this?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:11:38+00:00Added an answer on June 3, 2026 at 4:11 am

    Quoting from digitalaudiorock at gmail dot com’s comments in the php manual:

    Just a note for anyone who encounters is_dir() returning false on CIFS
    mount points or directories within those mount points on 2.6.31 and
    newer kernels: Apparently in new kernels they’ve started using the
    CIFS serverino option by default. With Windows shares this causes
    huge inode numbers and which apparently can cause is_dir() to return
    false. Adding the noserverino option to the CIFS mount will prevent
    this. This may only occur on 32 systems but I don’t have a 64 bit
    install to test against.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can open files from a mounted network drive, but not from an unmounted
Here's what I'm trying to do: using cmd.exe, go to a mounted windows network
The same setup works on Windows 7 / 64 Bit and Windows Server 2008
We are currently running vmware esx server in our office network. Our vmware guest
I am not able to see mounted drive using WNetAddConnection2W in Windows Service written
I have a pyinotify instance watching a mounted network drive (mounted with CIFS) for
I have two folders, for arguments sake /Volumes/A and /Volumes/B. They are mounted network
I'm trying to get the network file page e.g. smb://server.local/tech/file.pdf You can see this
I have issue running cmake on a package residing in a mounted folder. I
I've mounted an afp directory, afp://ServerName/Foo/, with Finder->Go->Connect to Server to /Volumes/Foo, now I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.