Syntax Error When Setting Umask
First off, I'm very new to Linux (Fedora13). I'm trying to setup a server environment for testing and learning.
I'm trying to apply a umask to a non shell account. I created an ftp account and the user uploads files to a shared directory and the files are in his name and under the right group, I tried forcing ownership in the vsftpd.conf file to:
chown_uploads=NO
chown_username=ftp-user (uncommented them too)
always shows up as the ftp-user account in the right group, but my other accounts can't touch the files as they are -rw-r--r-- and I need -rwxrwxr-x.
Thus the idea of umask is being pursued. I found this thread and your code above to apply rules to uid and gid but I get syntax errors on shell login indicating something is wrong:
bash: /home/myUserAccount/.bashrc: line 17: syntax error near unexpected token `('
bash: /home/myUserAccount/.bashrc: line 17: `uid=503(ftp-user) gid=501(www-group)'
CAn you help me debug? I tried Googling .bashrc syntax help but it's not clear and it's complicated.
Thanks in advance...
|