Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-06-2005, 08:13 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Problem with SAMBA ... Please Help

I am new to linux and SAMBA. I am using Linux as a file server and as a back up machine to interface with my 2 windows xp computers.

I created a shared directory, and am able to access and create new directories in it without any problems. The problem is that I am not able to do anything with the subdirectories that I have created. I can see them and read them, but I can not copy any files over to them or even create another directory inside of them.

For example.
The first directory is called aeproberts. I have created two folders in there called Music and Photos. I can't write to either the Music or the Photos folders.

I can access and write to aeproberts directory, but I am unable to write to any subdirectories that I create. It is killing me. Isn't there a command that will give me access to the aeproberts folder and every directory underneath it.

Here is my smb.conf code. PLEASE HELP A NEWBIE OUT!!!!!

comment = Backup Files
path = /home/aeproberts/
browseable = yes
write list = aeproberts
writeable = yes
valid users = aeproberts
public = yes
preserve permissions = yes
directory mode = 0770
create mode = 0660

Thanks to anyone who can help.
Old 10-06-2005, 09:03 AM   #2
Registered: Jan 2005
Location: middle of a cornfield, IL
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145

Rep: Reputation: 15
I don't know if there is an easy way, but I had to setup each subdirectory under my home directory individually, just as you did your parent directory.
Old 10-06-2005, 10:05 AM   #3
LQ Newbie
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Really??? That seems like such a pain in the ass. Is there no easier way??
Old 10-06-2005, 06:06 PM   #4
Registered: Apr 2005
Location: switzerland
Distribution: debian etch
Posts: 99

Rep: Reputation: 15
Re: Problem with SAMBA ... Please Help

I'm not a samba pro. but if you want to share all home directories there is a very easy way to do it. This is my smb.conf (the [homes] part only):

comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700
browseable = No

looking at your setup, I'd say you need to set the 'directory mask = 700'. I don't think that 'directory mode = 0770' will do anything useful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba problem MichaelHall Slackware 0 03-03-2004 02:31 AM
Problem with Samba monowar Linux - Newbie 1 07-05-2002 05:56 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration