Linux-Noob Forums

Full Version: Linux Folder Permissions for /var/lib/php/session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I am trying to change folder permission and i wondering if i am doing it right.

The first thing i do is updatedb followed by cd /var/lib/php/session


I then want to change permissions to this session folder.

I type in chmod + rwx \session or chmod 777 \session


could anyone correct me?

You might not want to have permissions like 777 but:


# cd /var/lib/php
# chmod ugo+rwx session




# cd /var/lib/php
# chmod 777 session