Find the answer to your Linux question:
Results 1 to 2 of 2
How can I share a resource (a directory) with permissions such that anyone can mount the directory, and such that anyone can delete ANY file or directory and also create ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2007
    Posts
    111

    Samba, permissions.


    How can I share a resource (a directory) with permissions such that anyone can mount the directory, and such that anyone can delete ANY file or directory and also create any file and directory within the resource?

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    Here's what I have for my home movie server

    Code:
    [global]
    
       workgroup = home
    
       netbios name = kirby
    
       server string = shared files
    
       security = share
    
       browseable = yes
    
       hosts allow = 192.168.15. 127.0.0.1 127.0.1.1
    
       client plaintext auth = yes
    
       client lanman auth = yes   
    
    [common]
    
       path = /home/rcgreen/common
    
       comment = movies
    
       read only = No
    
       guest ok = Yes
    
    [archive]
    
       path = /home/rcgreen/archive
    
       comment = media
    
       read only = No
    
       guest ok = Yes
    
    [shared]
    
       path = /home/shared
    
       comment = stuff
    
       read only = No
    
       guest ok = Yes
    Edit as appropriate. The directories I have shared are read write
    and execute for everyone 777
    Obviously it would be insecure, if any of your users
    are hostile or irresponsible.

Posting Permissions

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