Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
blacklisted
n00b
n00b


Joined: 23 May 2006
Posts: 65

PostPosted: Thu Jun 01, 2006 9:02 pm    Post subject: Samba problem Reply with quote

I have a user named killer which i always use to login gentoo . Now i have setup a Samba server so that all computers inside my university can access files(download and upload from my Samba server ) .
my share inside samba.conf looks like this:
[public]
comment = Public Files
browseable = yes
readonly = no
writeable = yes
public = yes
force create mode = 777
force directory mode = 777
guest account = killer
guest ok = yes
path = /home/killer/public

I have created a guest user by using useradd command . Now every1 can access my public folder , and they r able to write there , but the problem is that no one can download files from this folder . It says access denied , make sure the file is not in use . I have set chmod 777 for public folder and also given full access to all files inside the public folder , then why cant people download files .
Back to top
View user's profile Send private message
cibonato
Apprentice
Apprentice


Joined: 25 Apr 2006
Posts: 200
Location: Macross City

PostPosted: Thu Jul 13, 2006 6:42 pm    Post subject: Reply with quote

Is the directory /home/killer/public readable by all users? Why don't you move this folder to another place?

This is not the problem, but the correct way to use the following options is:

Code:

force create mode = 0777
force directory mode = 0777


The numbers are the octal representation of the bits controlling permisions.
_________________
64 Bits, good good!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum