[Samba] Permissions for share

Chris Boyd Chris.Boyd at usit.ie
Wed Apr 26 13:21:58 GMT 2006


Sorry here's the permissions. Notice the user robin after trying to edit an excel file. 


ls -la share/
total 5489
drwxrwsr-t   7 nobody users     960 Apr 26 14:14 .
drwxr-xr-x   7 root   root      152 Apr 25 16:29 ..
-rwxrwxr-x   1 nobody users      67 Jun 13  2005 .bat
-rwxrwxr-x+  1 nobody users  206336 Apr 26 12:42 09DC1000
-rwxrwxr-x+  1 nobody users  178176 Apr 26 12:22 35CA0000
-rwxrwxr-x+  1 nobody users  206336 Apr 26 13:18 35D58600
-rwxrwxr-x+  1 nobody users  206336 Apr 26 12:46 A0602000
-rwxrwxr-x+  1 nobody users  206336 Apr 26 13:31 ABE19600
drwxrwsr-t  92 nobody users    6512 Apr 26 10:45 ACCOMMOD (OLD)
-rwxrwxr-x+  1 nobody users  206336 Apr 26 13:33 B2A5B400
-rwxrwxr-x+  1 nobody users  206336 Apr 26 13:20 BA5AA400
-rwxrwxr-x   1 nobody users  131584 Dec 20 12:03 Christmas 05 slip.pub
-rwxrwxr-x+  1 nobody users  206336 Apr 26 13:17 DC358600
drwxrwsr-t   2 nobody users     424 Apr 25 14:12 Daniela's Copied Files (OLD)
-rwxrwxr-x+  1 robin  users  206336 Apr 26 14:14 E5317000
-rwxrwxr-x+  1 nobody users  206336 Apr 26 12:43 F0BD1000
-rwxrwxr-x+  1 nobody users  206336 Apr 26 13:32 F9C29600
drwxrwsr-t  13 nobody users     352 Apr 25 14:21 MRKTING (OLD)
-rwxrwxr-x   1 nobody users   27648 Apr 18  2005 Normal.dot
-rwxrwxr-x   1 nobody users    1489 Jun 21  2005 PROTEL.INI
-rwxrwxr-x   1 nobody users   24064 Apr 25 14:23 Robin test.doc
drwxrwsr-t   4 nobody users     208 Apr 26 13:24 Shared 2006
-rwxrwxr-x   1 nobody users  206336 Apr 26 13:55 UCD 2006 Daily Figures.xls
-rwxrwxr-x   1 nobody users  178176 Apr 26 10:39 UCD Village Daily Figures 2006.xls
-rwxrwxr-x   1 nobody users   19456 Jun 13  2005 XCOPY K.doc
-rwxrwxr-x   1 nobody users      12 Apr 25 15:52 aillinn.txt
-rwxrwxr-x   1 nobody users      19 Apr 21 15:09 bob.txt
-rwxrwxr-x   1 nobody users  544776 Apr  3 11:24 genplano.pdf
drwxrwsr-t   2 nobody users      80 Apr 25 14:12 ini file 200605
-rwxrwxr-x   1 nobody users 2171904 Apr 21 11:58 lj988en.exe
-rwxrwxr-x   1 nobody users       4 Apr 21 14:10 test2.txt
-rwxrwxr-x   1 nobody users       0 Apr 25 16:23 testfile

Here's the smb.conf

[share]
        comment = Shared Folder
        path = /data/share
#       drive = S:
        read only = no
        force create mode = 0660
        force directory mode = 0770


On 4/25/06, Chris Boyd <Chris.Boyd at usit.ie> wrote:
>
> opensuse 10/find / samba-3.0.20b-3.3
> I'm trying to change directory permissions on a share so all users can
> modify files in the share and when I do as suggested in Ch15 of Samba Howto
> the following happens
> $ find `directory_name' -type d -exec chown nobody:users {}\;
>
> find: missing argument to `-exec'
>
>
>
> Chris Boyd
> Systems Engineer
> USIT
> 19-21 Aston Quay
> Dublin 2
> Ireland
>
> Tel: +353 1 6021670
> Fax: +353 1 6771602
> www.usit.ie
>
> -----------------------------------------------------------------
> This email message is intended only for the addressee(s)
> and contains information that may be confidential and/or
> copyrighted.  If you are not the intended recipient please
> notify the sender by reply email and immediately delete
> this email. Use, disclosure or reproduction of this email
> by anyone other than the intended recipient(s) is strictly
> prohibited. USIT has scanned this email for viruses and
> dangerous content and believes it to be clean. However,
> virus scanning is ultimately the responsibility of the recipient.
> -----------------------------------------------------------------
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


Chris Boyd
Systems Engineer
USIT 
19-21 Aston Quay
Dublin 2
Ireland

Tel: +353 1 6021670
Fax: +353 1 6771602
www.usit.ie

-----------------------------------------------------------------
This email message is intended only for the addressee(s) 
and contains information that may be confidential and/or 
copyrighted.  If you are not the intended recipient please 
notify the sender by reply email and immediately delete 
this email. Use, disclosure or reproduction of this email 
by anyone other than the intended recipient(s) is strictly 
prohibited. USIT has scanned this email for viruses and 
dangerous content and believes it to be clean. However, 
virus scanning is ultimately the responsibility of the recipient.
-----------------------------------------------------------------



More information about the samba mailing list