[Samba] Cannot copy files to samba share. (A little off-topic)

Nick Ruth nruth at mail.regionalradio.com
Thu Jul 18 07:53:02 GMT 2002


I'll withhold the explitives....

I changed which folder I was storing everthing in, and had (correctly)
modified the permissions for the old folder.....

Duh.

Nick Ruth

> -----Original Message-----
> From: Michiel_Lange at actuera.nl [mailto:Michiel_Lange at actuera.nl]
> Sent: Thursday, July 18, 2002 9:39 AM
> To: Nick Ruth
> Subject: Re: [Samba] Cannot copy files to samba share. (A little
> off-topic)
>
>
>
> Assuming that the user that logs on also exists on linux, I see the access
> permissions are
> rwxr-xr-x user root, group root.
> This means that any non-root user cannot write in the directory.
> change the group and make it rwxrwx--- (770) or rwxrwxrwx (777)
> if you wish
> it to be world-readable/ world writeable.
>
> A question runs up in my mind, and mabybe someone can answer this:
> if I install ACL's on the filesystem (and the ACL tools) how will this
> affect samba?
> can file security be set to more than one group and more than one user?
> It is one of the weaknesses of linux in my opinion: the lack of different
> groups. It would be very good if you could set rights on a file like:
> group readers: read-only
> group writers : read/write
> group guests: no access
>
> in my past experience I have not been able to set rights like this with
> samba, but then, I only used windows 9x...
>
> Michiel Lange
>
>
>
>
>
>                     "Nick Ruth"
>
>                     <nruth at mail.regional       To:
> <samba at lists.samba.org>
>                     radio.com>                 cc:
>
>                     Sent by:                   Fax to:
>
>                     samba-admin at lists.sa       Subject:
> [Samba] Cannot copy files to samba share. (A little
>                     mba.org                     off-topic)
>
>
>
>
>
>                     18-07-2002 16:28
>
>
>
>
>
>
>
>
>
> I've created a share in Samba (2.2.3a) and cannot copy or create files in
> it. I know I've missed something, but am unable to find the
> error. Any help
> is appreciated.
>
> I'm logged on with username nick (correctly as I can add files to my Home
> directory...)
>
> smb.conf
> [global]
> workgroup = kbnn
> server string = Business Linux/Samba Server
> hosts allow = 10.0.4. 127.
> remote announce = 10.0.4.255
> security = user
> socket options = TCP_NODELAY
> #os level = 33
> #domain master = yes
> #preferred master = yes
> domain logons = yes
> #wins support = yes
> encrypt passwords = yes
> smb passwd file = /usr/local/samba/private/smbpasswd
> username map = /usr/local/samba/lib/smbusers
> #name resolve order = host wins bcast
> dns proxy = no
>
> [homes]
> comment = Home Directories
> browseable = no
> read only = no
>
> [wire]
> comment = WireReady folder
> path = /usr/wire
> writable = yes
> printable = no
> read only = no
> directory mask = 0777
> create mask = 0777
> public = yes
> ---snip---
>
> here's the output of ls -l
> ---snip---
> drwxr-xr-x   48 root     root         8192 Jul  3 16:44 include
> drwxrwxrwx    2 root     nick         4096 Jul 17 11:11 kbnn
> drwxr-xr-x    8 root     root         4096 Jul  3 16:42 kerberos
> drwxr-xr-x   35 root     root        16384 Jul  3 16:44 lib
> ---snip---
>
> I have access to another RH server that I did not put together that has
> priv
> in place of nick on this ls.  That server gives access to the files, and
> ability to write. How do I change the ownership to priv?
>
> Thanks a ton!
>
> Nick Ruth
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002





More information about the samba mailing list