Jump to content

rw file attributes


Guest tuzgu05
 Share

Recommended Posts

Guest tuzgu05

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...