Definite weirdness. Same issue on the non-raided disks, so suspicion wrong.
Will copy list as the tests below show some more info.

I put in

ln -s /home/john/Downloads downloads

and the link popped up in the browser right away and I can see files etc.

I can also

ln -s /etc etc

and see those files, and I suspect the ownership ain't john or www-data.
Didn't do anything but set up the link to do that.

So it is something about jumping across a filesystem boundary. My guess
now is some setting in Apache.

JN



On 2019-03-20 7:55 p.m., Scott Murphy wrote:
> Check and see if the directory is 755 all the way down.
> 
> chmod -R 755 /media/john/J6R
> 
> If it is mounting a FAT based disk, it may have issues understanding the 
> permissions, as the FAT file system doesn’t
> have permissions as we understand them.
> 
> -- 
> Scott Murphy, CISSP
> Principal Consultant  | Arrow-Eye Consulting Inc.
> 112 Springcreek Cres. | Kanata | ON | K2M 2K8 | Canada
> C: 613-769-9363       | GPG: A8DC6128C3A0E110
> 
> email: [email protected] <mailto:[email protected]> | web: 
> http://www.arrow-eye.com <http://www.arrow-eye.com/> 
> 
> 
> 
> 
>> On Mar 20, 2019, at 4:03 PM, J C Nash <[email protected] 
>> <mailto:[email protected]>> wrote:
>>
>> To facilitate some genealogy work at home, I've found it helpful to point 
>> local apache2
>> server at some of my files. This seemed to work fine by just putting a 
>> symlink to directories
>> in my /home/john area. However, today I tried a symlink to a directory on a 
>> RAID1 disk (/dev/md0
>> in my system, mounted at /media/john/J6R).
>>
>> For some reason I've had no success. Read lots of "help" pages, but no joy.
>>
>> Things I've played with (possibly incorrectly):
>>
>> - user and group ownership of various objects
>> - (re)mount disk with gid for www-date and uid for me
>> - restarts of Apache2
>> - apache2.conf adjustment for directory, available  and enabled (symlink),
>>  adding FollowSymLinks etc.
>>
>> I've a sneaking suspicion that mdadm disks may need some special setting, or 
>> else I'm
>> missing something very simple that is staring me in the face.
>>
>> This isn't terribly urgent or necessary, but it would be nice to know what 
>> is going on.
>>
>> Probably not something that is easy to sort out by the list, so maybe 
>> offline until worked
>> out.
>>
>> JN
>>
>> To unsubscribe send a blank message to [email protected] 
>> <mailto:[email protected]>
>> To get help send a blank message to [email protected] 
>> <mailto:[email protected]>
>> To visit the archives: https://lists.linux-ottawa.org
>>
> 

To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org

Reply via email to