Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with sharing subdirectories 1

Status
Not open for further replies.

aeproberts

IS-IT--Management
Oct 6, 2005
1
US
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.
 
You may try to add this line:
inherit permissions = yes

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top