Change File and Directory Mask
From WL-HDD Wiki
| WL-HDD Contents |
|---|
| What is the WL-HDD |
| Features |
| Pro's/con's |
| Reviews |
| Hacking |
| Inserting the HDD |
| Hacking Guides |
| Basic setup guides |
| Packages guides |
| Requests |
| Troubleshooting |
| This Wiki |
| Credits |
| Editing help |
| Contact Me |
[edit] Prerequisites
To complete this guide, the following is assumed:
| You are running Oleg's firmware (1.9.2.7-6b or later) |
| You have harddisk partitions up and running with an extended filesystem mounted to /opt |
| You have installed the Ipkg package system. |
| You have configured your partitions to automount. |
You have setup and successfully run Samba on your LAN (using the guest account) and you have some shares already setup in smb.conf. |
| You have created a new user called 'share' using the Adding Users Guide. |
| You have already completed the Samba with Users guide |
[edit] Change the mask
Open your samba configuration file
nano /opt/etc/samba/smb.conf
Add the following lines below each share that you want to change the permissions on.
[<your 1st sharename e.g. Share1>] path=/opt/share/shared1 writeable = yes browseable = yes
create mode = 0664
directory mode = 0775
Change the chmod permissions to suit your individual needs.
