problems with script writing to network share
This has probably been answered adequately elsewhere in the forum, but I can't seem to find the answer I need.
I have a linux server which is set to load 3 windows shares on developer's machines through /etc/fstab with the following options:
//dev1/projects /var/www/dev1/projects smb auto,user,exec,rw,async 0 0
When they load, they've only got write access to the root user. I have a script which updates these shares, but its unable to run as root. chmod/chown'ing the directory with permissions doesn't seem to help.
Is there any way I can get my script to write to these shares?