Hi, for config files etc... it can make life easier for people to read them if you put them in CODE tags (Use the '#' button on the tool bar when editing posts).
This only shows me four directories... Also the permissions for the first three aren't shown properly.
Have you modified the output? or perhaps I just need to wait for my morning coffee to take effect.
Code:
user@server:~$ ls -h
drwx-xr-x 2 user user 4.0K 2009-12-14 16:30 Desktop
drwx-xr-x 2 user user 4.0K 2009-12-18 16:48 Documents
drwx-xr-x 2 user user 4.0K 2009-12-21 09:44 Downloads
drwxrwxrwx 8 user users 4.oK 2010-2-5 19:25 ACP
It may help you to look at one of these:
The part of your smb.conf that we are interested in is the
Share Definitions This is where shared directories are defined. The comments are very useful.
I have pruned the file to show what I think will be the useful parts. Mostly to do with the file/directory masks (Explained
here). These may be the issue.
Code:
#======================= Share Definitions =======================
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700
[ACP]
comment = ACP
path = /home/user/ACP
public = yes
writeable = yes
valid users = user
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
I assume that APC is the directory you are sharing. In which case can you run the
ls -lh command within that directory.
The file writing changing the group is due to there not being a default group. More information on it can be found here:
Creating a Samba Shared Workspace
In short I think you will need to change the config for that share to something like:
Code:
[ACP]
comment = ACP
path = /home/user/ACP
public = yes
writeable = yes
valid users = user
create mask = 0777
directory mask = 0777
force user = user
force group = user
This is a bit of a general disclaimer/warning: If this network is shared with people you don't trust 100% it may be worth you checking the samba documents for security.