Results 1 to 9 of 9
I created a [homes] section in my samba config. I created a user on the Linux system, as well as a password using smbpasswd.
When I connect to the samba ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-17-2003 #1Just Joined!
- Join Date
- Dec 2003
- Posts
- 41
Samba share is readonly?
I created a [homes] section in my samba config. I created a user on the Linux system, as well as a password using smbpasswd.
When I connect to the samba share I am able to see the contents of the home directory, but am unable to modify or delete.
I have not placed any file permissions values in the [global] section of the conf that should cause the connection to be readonly.
Any quick hints as to my problem?
- 12-17-2003 #2Linux Engineer
- Join Date
- Mar 2003
- Location
- U.S.A.
- Posts
- 1,025
If you post your samba.conf we may be able to see the issue. Could be the order in which you located your resistrictions and the read only page.
Dan
\"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"
- 12-17-2003 #3Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
would it be the permissions on the actual directory?
the path that the mapped drive physically is on will need to have write permissions for that user i would assume.
Jason
- 12-18-2003 #4Just Joined!
- Join Date
- Dec 2003
- Posts
- 6
Change permissions
If you set the user at a permission of 777 then it will work, I had the same problem earlier on, and this sorted it!
Tyrone
- 12-18-2003 #5Just Joined!
- Join Date
- Dec 2003
- Posts
- 6
write permissions,,,,,,
If your home dir is for example /home/user/xxx , then set the permissions for dir xxx to 777.
chmod 777 /home/user/xxx
Regards,
Tyrone Clark.
- 12-18-2003 #6
I wouldn't necessarily chmod my home directory to 777, though. This would be a little safer:
Code:chmod -R 755 /home/username
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 12-18-2003 #7Just Joined!
- Join Date
- Dec 2003
- Posts
- 6
This was an EXAMPLE,,,,basically, the problem you are having is that the user that you logging in as on Samba when you perform you mapping is not allowed to write to the directory specified by samba as your home.
If joe was the login name, and the dirs and files were owned by joe, you could use 755 [(user Read/Write/Execute) (group Read NoWrite Execute) (Others Read NoWrite Execute)], otherwise, back to 777 to allow 'Others' to write to the dir !!!!!!
In short, you need to be the owner of the dir to be safe !
Hope this makes this a little clearer.
- 12-19-2003 #8Just Joined!
- Join Date
- Dec 2003
- Posts
- 41
Thanks guys. I was able to figure it out ... well, actually I stumbled all over it before the light bulb came on. Only took me 2 days to find it, too!
- 12-19-2003 #9
Could you post the solution, so that we all may benefit from your discovery?
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy


Reply With Quote
