Bluehost.com Web Hosting $6.95

Re: [Samba] Problems with create and directory mode if mounted

This is a discussion on Re: [Samba] Problems with create and directory mode if mounted within the Samba forums, part of the Networking and Network Related category; Volker Lendecke wrote: > On Tue, Sep 23, 2008 at 03:36:21PM +0200, Lukas Grässlin wrote: >> ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-24-2008
Lukas Grässlin
 
Posts: n/a
Default Re: [Samba] Problems with create and directory mode if mounted

Volker Lendecke wrote:
> On Tue, Sep 23, 2008 at 03:36:21PM +0200, Lukas Grässlin wrote:
>> I have a problem: I set up samba on my home server to share some

files. In my smb.conf I set to the shares "directory mode = 0775" and
"create mode = 0664". So new files will have 664 permissions and new
dirs 775 permissions. If I access to the smb shares over my file
explorer and create files an dirs, they get the permissions on the
server I set in the smb.conf. So it works!
>> Now the problem: If I mount the share and create there files and

dirs, they _DO NOT_ get the permissions on the server they should have
(The perimssions I set in the smb.conf)
>> My mount command:
>>
>> mount -t cifs -o username=user,password=pass,iocharset=utf8

//home-server/share /share
>> (mount -t smbfs doesn't work)
>>
>> I hope you're able to understand my (probably) english ;-)

>
> You're seeing cifs/samba unix extension. The client
> determines the mask according to the local umask. If you
> really don't want this, try "unix extensions = no".
>
> Volker


Hm, "unix extensions = no" doesn't really work. Maybe I do something wrong?
The main problem ist that I habe three Samba Users on the Server. And if
userA creates a file, which has the rights rw-r--r-- userB can't edit
this file, but he should be able to do. Thats my problem. So I need e.g.
that new files automatically get the rights I set in my smb.conf. And
that's not the case if I mount the share.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 09-24-2008
Volker Lendecke
 
Posts: n/a
Default Re: [Samba] Problems with create and directory mode if mounted

On Wed, Sep 24, 2008 at 07:10:46PM +0200, Lukas Grässlin wrote:
> Hm, "unix extensions = no" doesn't really work. Maybe I do something wrong?
> The main problem ist that I habe three Samba Users on the Server. And if
> userA creates a file, which has the rights rw-r--r-- userB can't edit
> this file, but he should be able to do. Thats my problem. So I need e.g.
> that new files automatically get the rights I set in my smb.conf. And
> that's not the case if I mount the share.


Did you remount the share after setting "unix extensions = no"?

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFI2nh+UzqjrWwMRl0RAh4ZAJ9ymxnPqPKoi0AkhucwQ6 Y20+AAXQCferMY
eSlaH2P1AVDUb0g9y0OwKC4=
=Ejdz
-----END PGP SIGNATURE-----

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0