Koozali.org: home of the SME Server

permissions in Primary\Files

Mark

permissions in Primary\Files
« on: March 05, 2003, 02:39:37 AM »
I copied some folders & files into the Files directory of the Primary directory. Each of these files has a link in a web page so the user can download them from the web page. In this particular case, I want to allow the download without restriction or commercial interruption.

The directory tree is:
Primary
  Files
    FreeStuff_A
      abc.zip
      def.zip
    FreeStuff_B
      ghi.zip
      jkl.zip

Depending on the settings in the server manager, the server denies the request for passive data transfer or requests a user name and password when the user attempts a download from the web page.

I checked the permissions on the "FreeStuff" directories and the enclosed files. Each is set to rwxr-x--- (750)

I thought changing the permission to rwxr-xr-x (755) might solve the download problem. However, I can't find a way to do this with the Newbie level tools I learned thus far. I am very green with Linux, and as a result I approach the root level commands with great caution.

Perhaps someone can guide me to a useful url or doc that will enlighten me, alviate my fears and with some study help me avoid trashing my server while getting the html links to work as desired.

TIA,

 - Mark

Bob Todd

Re: permissions in Primary\Files
« Reply #1 on: March 05, 2003, 12:50:37 PM »
chmod 0755 /home/e-smith/files/primary/files/FreeStuff_A/abc.zip

should change the permissions on that particular file but dont know if thats going to solve the problem you are having. Maybe someone else can advise if it doesnt.

Mark

Re: permissions in Primary\Files
« Reply #2 on: March 05, 2003, 07:22:50 PM »
Thanks, Bob. Your suspicion was correct. Changing the file permission did not change the behavior. I checked the logs and the server is denying PASV transfer requests.

I have seen any reference to passive data transfer in the documentation. What I have I overlooked?