Linux-Noob Forums
Linux Folder Permissions for /var/lib/php/session - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html)
+--- Thread: Linux Folder Permissions for /var/lib/php/session (/thread-998.html)



Linux Folder Permissions for /var/lib/php/session - abhishek77 - 2008-03-16


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?




Linux Folder Permissions for /var/lib/php/session - znx - 2008-03-17


You might not want to have permissions like 777 but:

 



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




 

Or:

 



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