[Samba] Newbie Question: smbmount and file attributes
Christopher Barry
cbarry at infiniconsys.com
Sun Jan 12 15:14:01 GMT 2003
use:
force create mode = 0600
force directory mode = 0700
-c
On Sat, 2003-01-11 at 19:26, Benno Stein wrote:
>
> Dear list members,
>
> perhaps this is a very simple question, but after several hours of searching
> and experimenting, I have no idea what to do.
>
> Situation: I have a Linux machine (RH 8.0, mount.smbf version 2.2.7) and use
> smbmount to import my home directory from a machine in another Unix-Network:
>
> smbmount //home5/$username /mnt/upb/$USER -o
> dmask=755,fmask=600,ip=xxx.yyy.zzz.aaa
>
>
> The import works fine and I can read and write on the mounted file system.
>
>
> Problem: Every file that I generate from my Linux machine in the
> share-directory
> has the attributes -rwxrw-r--. I played a lot with the dmask=755 and
> fmask=600
> parameters, which actually _show_ the shared files ony Linux machine
> with the specified
> attributes. However, if I login in at my home machine in the network,
> all new files got
> the attributes 764, which makes them writable for every group member.
>
> Question: What must I do such that files generated "from outside" get
> 600 (or 644)
> attributes? (I also experimented (without success) with guid, uid, and
> smb.conf settings)
>
> Thanks a lot for help,
>
> Benno
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list