2 msgtwo questions
1 msggot stuck in setting up samba to linux box thro...
9 msgSamba and Win98
4 msgProblems with simple samba setup
1 msgRE: MBoyle - Email found in subject - RE: Files...
1 msgRestrict AD Users
2 msg'DNS update failed' during ads join
4 msgCan't get 3.0.23d from SuSE RPM to be a member ...
4 msgRE: Files over 4GB not listing properly. Cannot...
6 msgUsers SID problem
2 msgmounting Windows NTFS drives on CENTOS 5.1
4 msg'Must Change Password at Next Login' does not work
6 msgmachine being dropped from ads
5 msgCan I mount an NFS volume and re-export via SAMBA?
2 msgmachine profiles?
1 msgFiles over 4GB not listing properly. Cannot get...
4 msgSamba on Virtual Machines
1 msgWeird behaviour concerning send-speed (Debian E...

Add permission? (was How to create a write-only...
\ Ash Gosh (5 May 2008)
. \ Ash Gosh (6 May 2008)
. . \ L.P.H. van Belle (6 May 2008)
. . . \ Ash Gosh (6 May 2008)
. . . . \ L.P.H. van Belle (7 May 2008)
. . . . \ Alex Harrington (7 May 2008)
. . . . . \ Ash Gosh (7 May 2008)
. . . . . . \ L.P.H. van Belle (8 May 2008)
. . . . . . \ Alex Harrington (8 May 2008)

2 msgSamba 3.0.28a and win 98 no access on shares,no...
Subject:RE: Fwd: Add permission? (was How to create awrite-onlyshare?)
Group:Samba
From:Alex Harrington
Date:8 May 2008


 
> In this case I still can't add a file from Windows machine into the
share append...
> Seems it can't be done with Samba and posix permissions?

Try this:

[root@fs home]# chown -R michael.office append
[root@fs home]# chmod -R 770 append

smb.conf:
[append]
path = /home/append
valid users = +office
writeable = yes
write list = +office
admin users = michael
hide unreadable = yes
create mode = 200
directory mode = 770
force group = office

I can't see any reason why that config won't do exactly what you want it
to.

If it still doesn't work, you need to start narrowing the problem down -
so logon to the console of the server first as michael. Can you cd in to
/home/append? If so, can you touch a new file? Repeat the process for a
different user in the office group. What is the result? As root, what is
the contents of that folder now? If that all works, the POSIX
permissions are working fine so it makes it a Samba problem. Visa versa
then the POSIX permissions are the ones to look at.

Alex

--
Alex Harrington - Network Manager, Longhill High School

t: 01273 304086 | e: alex
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba


© 2004-2008 readlist.com