[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I cannot write file onto samba share



On Fri, Jun 4, 2010 at 11:43 AM, Andrea Ganduglia <nonews.org@gmail.com> wrote:
> On Fri, Jun 4, 2010 at 2:29 AM, Rob Owens <rowens@ptd.net> wrote:
>> Or is this a share on a Windows machine that you're accessing through
>> your Debian box?
>
> It's a USB pen drive attached onto my router. Maybe I can set `umask`
> from `mount` parameters... (?). But, which is it the right?
>
You can try  using chmod g+s <groupname> && chown -R root:<groupname>
on the directory. Then all newly created files will have the same
group. See also:

http://www.samba.org/samba/docs/using_samba/ch08.html

http://oreilly.com/catalog/samba/chapter/book/ch05_03.html


Reply to: