@ macbri,
The folder in which the files reside which I'm trying to access via PHP, "osm", is a Share Point which has a windows network share mounted on it (via SMB).
I'm not sure where the problems are in permissions, because while mounting,
I'm allowing full read/write permissions to...