ClearFoundation Tracker - ClearOS
View Issue Details
0000145ClearOSapp-web-server - Web Serverpublic2010-09-16 22:342010-10-06 15:50
kbrault 
user2 
normalmajoralways
closedfixed 
5.2 
5.2-SP15.2-SP1 
0000145: File server access to web root not working (hidden)
Hello everyone,

When I enable "Allow File Server Upload" I am not able to access the web root folder "/var/www/html" from a Windows client with the "winadmin" or any other user.

===== Original Report below - please read entire thread =====

When I check "/etc/samba/smb.conf" I do not ahve any text "/var/www/html". When I add:

[webroot]
comment = Web Root Directories
path = /var/www/html
read only = No
browseable = No
available = Yes


I can now see the folder by using "\\<server name>\webroot
No tags attached.
Issue History
2010-09-16 22:34kbraultNew Issue
2010-09-20 15:57timb80Note Added: 0000274
2010-09-20 17:05kbraultNote Added: 0000277
2010-09-20 17:07kbraultResolutionopen => no change required
2010-09-24 12:10user2Note Added: 0000281
2010-09-24 12:10user2Statusnew => assigned
2010-09-24 12:10user2Assigned To => user2
2010-09-24 12:20user2Checkin
2010-09-24 12:20user2Note Added: 0000282
2010-09-24 12:22user2Additional Information Updated
2010-09-24 12:24user2Fixed in Version => 5.2-SP
2010-09-24 12:24user2Target Version => 5.2-SP
2010-09-24 12:24user2SummaryFile server access to web root not working => File server access to web root not working (hidden)
2010-09-24 12:30user2Statusassigned => resolved
2010-09-24 12:30user2Resolutionno change required => fixed
2010-10-06 15:50user2Note Added: 0000291
2010-10-06 15:50user2Statusresolved => closed
2010-10-06 15:54user2Note Edited: 0000291

Notes
(0000274)
timb80   
2010-09-20 15:57   
Hi - you are better off getting support from the forums than posting questions here

When you enable file server upload it is in fact stored in /etc/samba/flexshare.conf not smb.conf

Note that the share is hidden by default (browseable = no). You can navigate there by using \\servername\mywebsite.com and login with the right user credentials
(0000277)
kbrault   
2010-09-20 17:05   
Thanks for your help.

I will hit the forums first from now on.
(0000281)
user2   
2010-09-24 12:10   
Why is browseable set to "No"? That's not right.
(0000282)
user2   
2010-09-24 12:20   
Source Code Changelog
---------------------------------------------------
- Make web share browseable in Samba (again) [tracker 0000145]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=97 [^]
U legacy/webconfig/branches/5.2/api/Httpd.class.php
(0000291)
user2   
2010-10-06 15:50   
(edited on: 2010-10-06 15:54)
ClearCenter Errata CCBA-2010:096
http://clearsdn.clearcenter.com/software/detail.php?aid=96 [^]