Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Stone Linton on March 03, 2001, 08:19:59 AM

Title: Assigning write permissions.
Post by: Stone Linton 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.
Title: Re: Assigning write permissions.
Post by: Darrell May 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.
Title: Re: Assigning write permissions.
Post by: Stone Linton 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.