Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, on my pc with a share "raid5" I have trouble to create directorys, or to copy files to the root (or some directorys under the root) of the raid5 ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    13

    Samba Right problems

    Hi,
    on my pc with a share "raid5" I have trouble to create directorys, or to copy files to the root (or some directorys under the root) of the raid5 share.
    If I login in xp and map a share to the OpenSuse10.2 to the share raid5, I want to do everything (read,write,copy,delete,create dir)
    On same directorys I can't.
    A other user should have access on raid5 directory "daten" (rw,create,delete the own file, but not delete other files, if possible..)

    How can I setup this? How to change the smb.conf? Do I need on all Linux-directorys to give rights 777? (theres a lot!)

    Thanks a lot!

  2. #2
    Just Joined!
    Join Date
    Apr 2008
    Location
    Southern California
    Posts
    6
    Do you have the following in your smb.conf file under the specific share?

    [some_share]
    path = /some/dir
    read only = no
    create mask = 0770
    directory mask = 0770
    directory security mask = 0770
    valid users = "@domain_name+domain users"

    This will give all users full rights to all files on the share, including newly created files.

    To give specific users right add

    read list = "@domain_name+some.group"
    write list = "@domain_name+some.group"


    Of course you need to make sure on the fs the domain users have rwx rights to the folders in question.

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    13
    Hi Thronh,
    Thanks a lot !!!!
    I will try soon.
    Regards from Switzerland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...