[Samba] Share name and file rights

Bengt Nilsson bengt.nilsson11 at spray.se
Thu Sep 25 09:11:05 GMT 2008


24 sep 2008 kl. 22.43 skrev Aaron Maley:

> For the first, what OS are you using for a client?

I am using MacOSX.
Sorry about that.
On Windows, the server name is displayed by default, while on Mac it  
is not.
If there is a setting on Mac to display server name, I am not aware of  
it.

>
>
> In terms of the second, you should be able to do what you're trying  
> to do using the "directory mask" , "force create mode" and "force  
> directory mode" on the shares in question. Check the manpage for  
> further details.

This is now solved by the help of you and others.
>
>
> Bengt Nilsson wrote:
>> A question about share names:
>>
>> When we open a samba share, I want the symbol on my desktop to have  
>> the name "johndoe at sambaserver1", not just "johndoe".
>> This is because we have a number of different "sambaservers" that  
>> johndoe can log on to, and it will be a mess on his desktop if he  
>> uses several connections at the same time.
>>
>> i cannot find this feature in the docs (if I did i would't be here)  
>> but I am sure it must exist.
>>
>> What entry should I add/modify in smb.conf to control this?
>>
>> A question about creation rights:
>>
>> Directories should have x-rights, and text files should not,  
>> otherwise they will be regarded as like programs  or shell scripts  
>> in unix environment.
>> If I use create = 0700 directories are ok, but text files becomes  
>> shell scripts, which I do not like. I cannot double-click on them  
>> in CDE to popen them as documents.
>> If I use create 0600 I cannot access my folders.
>> Am I right or have I misunderstood someting?
>> Is there a way to keep correct directory access and still handle  
>> documents with -rw------?
>>
>> BN
>
> -- 
> Aaron Maley
> Network/Desktop Support
> Edgewater Computer Systems, Inc.
> 1125 Innovation Drive
> Kanata ON, K2K 3G6, Canada
> Tel:  1 (613) 271-1101 ext 3309
> Fax: 1 (613) 271-1152
> _______________________________________________________________________
>
> This e-mail may be privileged and/or confidential, and the sender  
> does not waive any related rights and obligations.
> Any distribution, use or copying of this e-mail or the information  
> it contains by other than an intended recipient is unauthorized.
> If you are not the intended recipient, please notify me at the  
> telephone number shown above or by return e-mail and immediately  
> delete this communication and any copy.
> Thank you.
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list