LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-06-2005, 09:13 AM   #1
aeproberts
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!!!!!

[aeproberts]
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, 10:03 AM   #2
brainiac
Member
 
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, 11:05 AM   #3
aeproberts
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, 07:06 PM   #4
stimpsonjcat
Member
 
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):

[homes]
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.
stimpy
 
  


Reply


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 05:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
Samba problem MichaelHall Slackware 0 03-03-2004 03:31 AM
Problem with Samba monowar Linux - Newbie 1 07-05-2002 06:56 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 06:19 AM.

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