Rob_Dingen Posted July 21, 2011 Share Posted July 21, 2011 Hi I setup sftp according this topic http://lime-technology.com/forum/index.php?topic=6048.0 sleep 30 mkdir -p /var/ftproot/Movie mkdir -p /var/ftproot/TV mkdir -p /var/ftproot/Music echo 'anon_umask=0022' >> /etc/vsftpd.conf echo 'local_root=/var/ftproot' >> /etc/vsftpd.conf mount --bind /mnt/user/Media/Video/Movie /var/ftproot/Movie mount --bind /mnt/user/Media/Video/TV /var/ftproot/TV mount --bind /mnt/user/Media/Music /var/ftproot/Music It works and I can access those folders and nothing else. But I have 2 problems. Visibility of the files on the server and I know to use the following commands for directories visibility use: find /mnt/user -type d -exec chmod 755 {} \; and for files within a directory use: find /mnt/user -type f -exec chmod 700 {} \; But I have to do that every time after copying to the server. Is there a fix? And with fillezila I can only upload a file not download? Rob Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.