Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Workgroup and SAMBA 1

Status
Not open for further replies.

shrubble

MIS
Joined
Jul 23, 2003
Messages
300
Location
US
I have a Windows Workgroup in my home, part of which is a RedHat Enterprise 3 workstation.

The machines usually play together very nicely in terms of shared directories and such, but I have one problem I was hoping to get some assistance with.

I'm running an Apache web server on the Linux machine, but would like to be able to edit the contents of the with my current Windows HTML editor, so I built a SAMBA share to that directory with either 711 or 755 permissions (I forget which one, but the results are the same with either).

My problem is that because of the required my workgroup authentication only allows me to read (not edit) the contents of the I suspect that I am missing something here, but don't know where to look.

Any ideas?

deletion mistake
no I can't recover that
you didn't save it

-Shrubble
 
You may consider using ftp to work with a local copy of the on your Windows PC and upload the changes when the edit is performed.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
This is exactly what I do and it's an excellent use for a samba share. You need to chown the files in the so that you are the owner. Then with the permissions of 755 you can edit the files.

For plain vanilla html files, the apache user (apache, nobody, or however it's set-up) only needs to be able to read, so the files will still work with you as the owner. The only place you'll need to be careful is for active content. There could be occasions with scripts and such where the apache user will need write permissions.
 
AHHHHH I see...

Both great advice!

I really only want to use the SAMBA share for the html portions of the site, I'll probably write any CGI and php scripts in emacs or vim directly on the machine, so I shouldn't need to mess with the ownership of those directorys/files.

Thanks again!

deletion mistake
no I can't recover that
you didn't save it

-Shrubble
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top