Bug 2030 - Problem with writeable mount points but non-writeable subdirectories under it
Summary: Problem with writeable mount points but non-writeable subdirectories under it
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbmount (unmaintained) (show other bugs)
Version: 3.0.8
Hardware: All Linux
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 05:58 UTC by Zaki
Modified: 2005-02-08 06:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zaki 2004-11-12 05:58:11 UTC
The past 2 weeks I've been trying to figure out what was wrong with my samba.
Jerome Tygate also posted in this months samba mailing list.

I did on a linux client:
smbmount //DORIYAKI/Audio_Visual /home/hotplainrice/smb4k/DORIYAKI/Audio_Visual/
-o
username=hotplainrice,password=whatever,uid=hotplainrice,gid=users,workgroup=DORAEMON

Then I proceded to the mount point and tried some commands. 

hotplainrice@1[Audio_Visual]$ touch ehy
hotplainrice@1[Audio_Visual]$ rm ehy
hotplainrice@1[Audio_Visual]$ mkdir temp
hotplainrice@1[Audio_Visual]$ touch temp/ehy
touch: cannot touch `temp/ehy': Permission denied
hotplainrice@1[Audio_Visual]$ rmdir temp
hotplainrice@1[Audio_Visual]$

So thinking its a permission problem, I did:

hotplainrice@1[Audio_Visual]$ ls -l | grep temp
drwxr-xr-x  1 9000 9000         0 2004-11-11 07:36 temp
hotplainrice@1[Audio_Visual]$

On the samba server, smb.conf:
Code:
[global]
workgroup = DORAEMON
netbios name = DORIYAKI
security = user

....

[Audio_Visual]
comment = HBO sucks!
path = /smb/shares/movies
read only = no
guest ok = Yes 

It worked fine in Windows.
After a few trial and error, nothing came up until I read the logs. Bill had the
same problem and posted on samba mailing list June 2004. He states the problem
and workaround.

http://lists.samba.org/archive/samba/2004-June/087651.html
http://lists.samba.org/archive/samba/2004-June/087676.html
http://lists.samba.org/archive/samba/2004-June/087680.html
http://lists.samba.org/archive/samba/2004-June/087690.html

and he continued on:
http://lists.samba.org/archive/samba/2004-June/087712.html
http://lists.samba.org/archive/samba/2004-June/087735.html
http://lists.samba.org/archive/samba/2004-June/087850.html
http://lists.samba.org/archive/samba/2004-June/087854.html
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 06:19:30 UTC
for smbfs issues, you'll need to talk to the smbfs 
kernel module maintainer.  Or you can try the cifs file 
system support in the Linux 2.6 kernel.

http://us2.samba.org/samba/Linux_CIFS_client.html