This is a discussion on RE: [Samba] Fwd: Add permission? (was How to create awrite-onlyshare?) within the Samba forums, part of the Networking and Network Related category; > In this case I still can't add a file from Windows machine into the share append... > Seems ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> 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?=20 Try this: [root@fs home]# chown -R michael.office append [root@fs home]# chmod -R 770 append smb.conf: [append] path =3D /home/append valid users =3D +office writeable =3D yes write list =3D +office admin users =3D michael hide unreadable =3D yes create mode =3D 200 directory mode =3D 770 force group =3D 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 --=20 Alex Harrington - Network Manager, Longhill High School t: 01273 304086 | e: alex@longhill.org.uk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba |