Guest tuzgu05 Posted February 10, 2006 Report Share Posted February 10, 2006 Hello, I have a linux mandrake 8.0 distribution instalated on a pc, and work like a server database. When I want to make a file transfer from a remote pc using a ftp client, the file that I transfer are received only with -rw-r----- attribute, and in the original location are -rw-rw-rw-. In the target directory I setup rwx atributes for all users, but not work. Where are the problems and what change I must make because I need the transfer files to be with the same attributes like originals. Thank you Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 10, 2006 Report Share Posted February 10, 2006 I have just done this using gftp as my ftp client. In the options, there is a setting to preserve file permissions when the file is sent across. This worked, and kept the permissions as -rw-rw-rw-. What ftp client are you using? You need to find this option and enable it. If your using the cli ftp client, then you need to type "umask 0" before sending the file. Then it will keep the permissions. Quote Link to comment Share on other sites More sharing options...
Guest tuzgu05 Posted February 10, 2006 Report Share Posted February 10, 2006 I use total commander 5.50 for transfer. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 10, 2006 Report Share Posted February 10, 2006 OK, you need to find an option then to preserve the file permissions, or be able to find an option to set the "umask 0" option. If you can't, then you need to change application and use something else to send the files. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted February 10, 2006 Report Share Posted February 10, 2006 Sorry, but Total Commander is a windows application (admittedly a superb one), which cannot handle unix permissions. Quote Link to comment Share on other sites More sharing options...
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.