Results 1 to 7 of 7
Hi people,
Ive finally got my old p200 up and running, its running slack 8.1 and apache 1.3 (cant be bother updating ighter atm). I am sharing the /var/www/htdocs folder ...
- 05-18-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 15
Samba or user??
Hi people,
Ive finally got my old p200 up and running, its running slack 8.1 and apache 1.3 (cant be bother updating ighter atm). I am sharing the /var/www/htdocs folder on my network.. i am accessing this folder through windows xp.. The problem is that i cannot write to it and cannot delete files etc.
My Samba File:
I think the problem may be to do with "dan" not "owning" this folder or something.. but im not clear on how all that stuff works, any help??Code:[global] blah blah [WebSite] path = /var/www/htdocs browseable = yes public = no write list = dan
I would also like to be able to create folders in this directory from my windows box.. (dont know if that possible, but then again i dont see why it souldnt be)
Thanks very much,
Dan
- 05-19-2005 #2Just Joined!
- Join Date
- May 2005
- Posts
- 15
*bump*
Anyone hav any ideas ??
- 05-19-2005 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 88
Samba Error
Greetings,
Try this:
create mask = 0644
directory mask = 0755
Regards
- 05-19-2005 #4Just Joined!
- Join Date
- May 2005
- Posts
- 15
Thanks for the reply,
i tryed adding those line to the samba config file, however the problem is still the same
Wheneva i try to do anything to the directory from the windows xp box i always get "Access Is Denied" ...
Thanks
- 05-19-2005 #5
Re: Samba or user??
take the write list = dan out
Originally Posted by Unfit_Elf
put writable = yes
change the file chmod -R 775 htdocsas stated earlier
cd /var/www then do a ls -la makesure that htdocs
dxwrxwrr-x root dan blah blab htdocs
-R == recusive so any directory mad in there will be the same permissions
here is the thing if your directony looks like this it wont work
dxwrxwrr-x root root blah blah
will not work
need to have a username in the group spot meaning dan
here is how to do that
chgrp -R dan htdocs
this will change to look like
dxwrxwrxr-x root dan <-----this is what you want
let me know if you need further assistance
Mike
PS if you get this working right you will be able to create and delete folders from your windows box.Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 05-19-2005 #6Just Joined!
- Join Date
- May 2005
- Posts
- 15
Hi Mike
I folowed your instructions and when i got to doing ls -la the output was:
so i did chgrp -R dan htdocs and it said "invalid group name 'dan'"??Code:drwxrwxr-x 3 root root blah blah htdocs
Regards
Dan
- 05-22-2005 #7Just Joined!
- Join Date
- May 2005
- Posts
- 15
Got it all sussed

Thanks very much for your help


Reply With Quote