RE: [Samba] Fwd: Add permission? (was How to create awrite-onlyshare?)

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 ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-08-2008
Alex Harrington
 
Posts: n/a
Default RE: [Samba] Fwd: Add permission? (was How to create awrite-onlyshare?)

> 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0