Re: [Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Chris Smith
On Wednesday 13 February 2008, Michael Lueck wrote: I get the idea from man smbmount that smbmount is merely a wrapper invoking mount -t cifs. Would you expect different results if I were using the smbmount binary instead? In the sense that it would invoke the deprecated mount -t smbfs

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Scott Lovenberg
Michael Lueck wrote: Scott Lovenberg wrote: What are the samba server side settings(smb.conf) for the share you are mounting? [data] comment = Shared Application Data Files path = /srv/shares/data guest ok = no read only = no create mask = 0666 directory mask = 0777 Do you

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Michael Lueck
Chris Smith wrote: In the sense that it would invoke the deprecated mount -t smbfs instead of mount -t cifs, but I wouldn't recommend it. Aaahhh, so smbclient from the Samba developers is hard coded to not use current smb protocol code? Confusing! So mount -t cifs would be the most correct

Re: [Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Chris Smith
On Thursday 14 February 2008, Michael Lueck wrote: Aaahhh, so smbclient from the Samba developers is hard coded to not use current smb protocol code? Confusing! Smbclient is new to the conversation, which until now has been about smbmount which So mount -t cifs would be the most correct way

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Michael Lueck
Scott Lovenberg wrote: Drats, it looks like you're setup fine. I was hoping it would just be a bad configuration. I don't know what else it could be. Thanks for at least checking everything is configured correctly. -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ -- To

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-14 Thread Michael Lueck
Chris Smith wrote: Smbclient is new to the conversation, which until now has been about smbmount which My error. Yes, I meant smbmount and not smbclient. So mount -t cifs would be the most correct way to make a connection? It is considered the best way under the vast majority of

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Scott Lovenberg
Michael Lueck wrote: Greetings- I am working through coming up with a Linux client integration to Samba PDC's. I mount several shares with this sort of syntax: /bin/mount -t cifs -o credentials=/home/userid/.smbcredentials,uid=userid,gid=userid,dmask=0777,fmask=0666 //ldslnx01/data

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Scott Lovenberg
Michael Lueck wrote: Scott Lovenberg wrote: Could it be that '/' is mounted with an explicit permission setting that is shadowing your mount settings? I do not think so, but have a look. This share happens to be on the /srv partition. /dev/sda1 / xfs defaults

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Michael Lueck
Scott Lovenberg wrote: Could it be that '/' is mounted with an explicit permission setting that is shadowing your mount settings? I do not think so, but have a look. This share happens to be on the /srv partition. /dev/sda1 / xfs defaults0 1 /dev/sda9

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Michael Lueck
Chris Smith wrote: On Wednesday 13 February 2008, Michael Lueck wrote: I mount several shares with this sort of syntax: /bin/mount -t cifs Subject line is misleading: smbmount != cifs. I get the idea from man smbmount that smbmount is merely a wrapper invoking mount -t cifs. Would you

[Samba] Re: Wrong perms on new files/dirs using smbmount

2008-02-13 Thread Michael Lueck
Scott Lovenberg wrote: What are the samba server side settings(smb.conf) for the share you are mounting? [data] comment = Shared Application Data Files path = /srv/shares/data guest ok = no read only = no create mask = 0666 directory mask = 0777 Do you have inherit