+ Post New Thread
Results 1 to 10 of 10
*nix Thread, Samba Shares! in Technical; Hi, Does anyone know how on EARTH I can make a share that guests are read only for and only ...
  1. #1

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Samba Shares!

    Hi,

    Does anyone know how on EARTH I can make a share that guests are read only for and only my login (rob) can write to?

    No matter what I do I seem to end up with no access for anyone, read-only access for everyone or write for everyone!

    Is it even possible?!

    Thanks

    Rob

  2. #2

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,427
    Thank Post
    1,532
    Thanked 1,066 Times in 931 Posts
    Rep Power
    305

    Re: Samba Shares!

    The share permissions should be full control to everybody then do specific file permissions on it so its your Guest account / guest group read only, list contents and execute and specify your user account as full control over it.

  3. #3

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Samba Shares!

    Quote Originally Posted by john
    The share permissions should be full control to everybody then do specific file permissions on it so its your Guest account / guest group read only, list contents and execute and specify your user account as full control over it.
    so I have to chmod the directory so only rob can write?

    EDIT:

    I just made a group called smbwrite, added rob to it then:
    Code:
    sudo chgrp smbwrite testdir
    sudo chmod u=rw,g=rw,o=r testdir
    but now no-one can access the directory over the shares, I just get 'network access denied' errors :/

    EDIT.EDIT:

    just noticed I forgot the x's on those permissions!
    think thats got it now

    cheers

  4. #4

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,427
    Thank Post
    1,532
    Thanked 1,066 Times in 931 Posts
    Rep Power
    305

    Re: Samba Shares!

    Wow I only just realised I answered a *nix question with a Windows answer as I find nix pointless

  5. #5

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,417
    Thank Post
    644
    Thanked 965 Times in 665 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Samba Shares!

    Narrow-minded Ballmer fan-boy

  6. #6
    Joedetic's Avatar
    Join Date
    Jan 2006
    Location
    Walsall
    Posts
    1,316
    Thank Post
    6
    Thanked 13 Times in 13 Posts
    Rep Power
    22

    Re: Samba Shares!

    You find *nix pointless....a VAST majority of the internet is run by *nix...BSD and UNIX...

    So in essence you find this site pointless? Without *nix/BSD/UNIX you wouldn't be able to get here.

    Shame on you john

  7. #7

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,348
    Thank Post
    678
    Thanked 2,273 Times in 1,048 Posts
    Blog Entries
    23
    Rep Power
    673

    Re: Samba Shares!

    Indeed. We do live on a Fedora distro.

  8. #8

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,427
    Thank Post
    1,532
    Thanked 1,066 Times in 931 Posts
    Rep Power
    305

    Re: Samba Shares!

    Quote Originally Posted by Dos_Box
    Indeed. We do live on a Fedora distro.
    No wonder were so sluggish at times and then spent time down

    Sry that wasnt fair, but I find that my Windows Hosting Boxes never go wrong, never go down and are darned good and reliable, so just never found the need for anything other than Windows.

  9. #9

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,417
    Thank Post
    644
    Thanked 965 Times in 665 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Samba Shares!

    Lol. Your loss :P

  10. #10


    Join Date
    Oct 2006
    Posts
    3,414
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149

    Re: Samba Shares!

    Quote Originally Posted by Mintsoft
    Hi,

    Does anyone know how on EARTH I can make a share that guests are read only for and only my login (rob) can write to?

    No matter what I do I seem to end up with no access for anyone, read-only access for everyone or write for everyone!

    Is it even possible?!

    Thanks

    Rob
    You not tried using Webmin to manage it?

    With us being a school which will most likely never have anyone experianced in *nix again i always like tyo have a web interface even if i prefer to use CLI.
    Also nice to be able to check between the 2 so you can see how the syntax works.



SHARE:
+ Post New Thread

Similar Threads

  1. Samba Tip
    By Geoff in forum *nix
    Replies: 3
    Last Post: 28th November 2007, 03:23 PM
  2. Samba 4
    By FN-GM in forum *nix
    Replies: 8
    Last Post: 9th October 2007, 01:28 AM
  3. Samba
    By Jackd in forum Wireless Networks
    Replies: 2
    Last Post: 28th June 2007, 07:25 AM
  4. Samba (the joy of)
    By ZeroHour in forum *nix
    Replies: 1
    Last Post: 23rd January 2007, 01:21 AM
  5. Samba config
    By Dos_Box in forum *nix
    Replies: 7
    Last Post: 19th October 2005, 10:21 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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