How to make a folder and its subfolders writable

i have a wiki that install in opensuse 11.1. sometime when i upload files, my wiki will prompt a message say cannot create a folder at /public/archive/d/7 or cannot create a folder at say public/e/e1.

The things that i’ll do is go to konsole and chmod 777 to /wiki directory path/images/archieve/d or /wiki directory path/images/e.

Because this thing is occurs too often, so i want to ask is there any command or anything can make all the content in my image folder writable forever?

You can change the owner of the wiki. If just one person is doing changes in it.

chown username /path to directory/

Just an idea.

eveckc wrote:

> i have a wiki that install in opensuse 11.1. sometime when i upload
> files, my wiki will prompt a message say cannot create a folder at
> /public/archive/d/7 or cannot create a folder at say public/e/e1.
>
> The things that i’ll do is go to konsole and chmod 777 to /wiki
> directory path/images/archieve/d or /wiki directory path/images/e.
>
> Because this thing is occurs too often, so i want to ask is there any
> command or anything can make all the content in my image folder writable
> forever?

I’d guess using ACL (man ACL) could help :slight_smile:

Greetings,


Camaleón