Koozali.org: home of the SME Server

Assigning write permissions.

Stone Linton

Assigning write permissions.
« on: March 03, 2001, 08:19:59 AM »
I want to be able to be able to write to these two folders: product and vendor

drwxr-xr-x    3 root     www          4096 Mar  2 15:28 product
drwxr-xr-x    3 root     www          4096 Mar  2 19:19 vendor

What do I need to enter at the command line?

A little background. Installed phpShop, it tries to upload a custom logo and place it in the vendor folder, product images are placed in the product folder, but when I attempt to upload these I get an error, as follows:

ERROR: Cannot write to full image destination directory.
/home/e-smith/files/ibays/webshop/html/shop_image/vendor/

Help.

Darrell May

Re: Assigning write permissions.
« Reply #1 on: March 03, 2001, 03:27:45 PM »
Stone Linton wrote:
>
> I want to be able to be able to write to these two folders:
> product and vendor
>
> drwxr-xr-x    3 root     www          4096 Mar  2 15:28 product
> drwxr-xr-x    3 root     www          4096 Mar  2 19:19 vendor
>

If you are unfamiliar with Linux, drwxr-xr-x means:

d = directory | rwx = user rights | r-x = group rights | r-x = everyone

r = read
w = write
x = execute

As you show it, only the user root has 'w'rite access.

Stone Linton

Re: Assigning write permissions.
« Reply #2 on: March 03, 2001, 06:11:30 PM »
Okay.  So how do I assign rights so that my phpStop or whomever can write to the directories?

Yes, unfamiliar with linux/unix.