[NCLUG] SAMBA, Apache and permissions

C.J. Keist cjay at engr.colostate.edu
Thu Jun 27 16:45:36 MDT 2002


This isn't a direct question about Linux, but I figure most of you out 
there have worked with Apache and SAMBA.
Anyway I have a strange problem when changing permissions on a file (ex. 
index.html) through Windows on a SAMBA share.
For example: All user files are accessed through SAMBA
Through W2K, I set the permission on my index.html file so that only the 
user has read/write and nothing for group and Everyone.
Now this should break my web page, but to my surprise it still loads!!!  I 
check the permission of the file on the UNIX server, sure enough the 
index.html file shows mode 600. Hmmmm, next I check the to see what the 
perms look like on the Web server.  Sure enough it shows mode 600 
too?!?!?!?!  And yet the page still loads in my browser.  So I restart 
Apache, the page still loads; I restart the nfs daemons on the web server, 
the page still loads; I make sure and empty my memory cache and disk cache 
on my browser, the page still loads!!!!
Its only after I do a "chmod 600 index.html" (in UNIX) again, that the page 
finally breaks and I get the 403 error.

Has anyone else seen this behavior? This happens on SAMBA shares for both 
Linux and Solaris.

Apache version: 1.3.19
SAMBA version: 2.2.4
Linux: RH 7.2
Solaris 8


I just want the chance to prove 'Money can't buy Happiness'" - a bumper sticker

C. J. Keist                     Email: cjay at engr.colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nclug.org/pipermail/nclug/attachments/20020627/b30bf6e6/attachment.html>


More information about the NCLUG mailing list