It appears you have not registered with our community. To register please click here ...

Author Topic: Question on Linux/Samba 3.0 and C++/Apache  (Read 2136 times)

Joncamp

  • Newbie
  • *
  • Posts: 14
  • Karma: +10/-0
    • View Profile
    • Email
Question on Linux/Samba 3.0 and C++/Apache
« on: June 06, 2006, 11:32:09 AM »
I have two questions which I would appreciate any help...
(1) I\'ve installed Samba 3.0 on Linux, but on Windows XP clients I can only read/browse shares on Samba server, I cant write files to the shares.  I was told check "writeable=yes" smb.conf setting, and make sure the shares have write permissions per chmod.  I\'ve done this, still cant write to shares, only read.????
:D

(2) Apache running on Linux... I\'ve written a c++ cgi-bin program which works with Apache, it acquires form-post data, and returns stdout html data.  But the c++ program can\'t open files in the cgi-bin directory or any directory for that matter, in fact it doesn\'t even have access to the file system, there is no path when you check the current path within the c++ program.?????
:D

zelo

  • Super Moderator
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 264
  • Karma: +10/-0
    • ICQ Messenger - 233717
    • MSN Messenger - webmaster@zelo.com
    • Yahoo Instant Messenger - zelo@yahoo.com
    • View Profile
    • http://www.zelo.com
    • Email
Question on Linux/Samba 3.0 and C++/Apache
« Reply #1 on: June 07, 2006, 12:53:28 PM »
As far as I am aware Windows and Linux cannot swap files. The partitions for each are completely different. It is like Fat(32) and NTFS files in Windows environment.

As for the C++ I would have to see the script that you wrote. There are numerous reasons why that would not be working.

dynaweb

  • <b>Canine Deamon</b>
  • Administrator
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +10/-0
  • Generic personal text here ...
    • MSN Messenger - danno_d_manno@yahoo.com
    • View Profile
    • DynaWeb Designs
    • Email
Question on Linux/Samba 3.0 and C++/Apache
« Reply #2 on: June 10, 2006, 01:28:45 PM »
1) Have you set the writable to the global stanza or just a user?
2) Hard to say without providing the source.  Maybe try chown the dir to apache:apache?
Those who cannot learn from history are doomed to repeat it. -- Linux learns.

 

Related Topics

  Subject / Started by Replies Last post
11 Replies
4724 Views
Last post January 15, 2007, 08:10:29 AM
by zelo
1 Replies
2416 Views
Last post September 05, 2006, 12:11:09 PM
by ctwjr
0 Replies
173 Views
Last post December 14, 2005, 06:25:22 AM
by Linux News
1 Replies
1484 Views
Last post July 29, 2006, 07:53:00 PM
by dynaweb
1 Replies
2208 Views
Last post April 03, 2008, 11:49:44 AM
by dynaweb