Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-16-2013, 05:57 AM
|
#1
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Rep:
|
Samba - Can't give WinXP write access to Debian
Fresh Debian install (no GUI) to use for Apache, PHP and MySQL. All I need is read and write permission to Apache's www folder from XP Home computers without having to enter a user/pass for access.
Samba gives me access to the folder and I can open the files, but I can't save files to it. That gives me this error:
File operation failed.
\\Debian\Apache\index.html
Access is denied.
My Samba config file is unchanged from install aside from this stuff I've seen in various tutorials and added:
[global]
security = share
guest account = nobody
hosts allow = 127.0.0.1 192.168.1.0/24
[Apache]
comment = Apache folder
path = /var/www
read only = no
guest ok = yes
public = yes
browsable = yes
Again, I'm able to access the files on Debian using WinXP Home, but I don't have write access.
|
|
|
02-16-2013, 08:01 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,930
|
What are the permissions on Apache directory itself?
The directory you want to share not only must be be specified in smb.conf, it must also be set to be shared in the directory permissions.
|
|
|
02-17-2013, 02:01 AM
|
#3
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Original Poster
Rep:
|
Thanks! The tutorials I read didn't exactly make it clear that I had to do this.
chmod -R 0777 /var/www
That allows folder access, read and save files from the XP machine.
|
|
|
02-17-2013, 07:49 PM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,930
|
Cool. (Experience is a great teacher.)
Last edited by frankbell; 02-17-2013 at 07:53 PM.
|
|
|
All times are GMT -5. The time now is 12:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|