PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

file permissions chroot and chmod in linux

Go down

file permissions chroot and chmod in linux Empty file permissions chroot and chmod in linux

Post by jamied_uk 18th March 2011, 14:07

/var/www/apps/daddys_1st_host/secure $ sudo chmod 777 settings.dfh


command is

sudo chmod 777 settings.dfh


Last edited by jamied_uk on 9th January 2012, 12:48; edited 1 time in total
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

file permissions chroot and chmod in linux Empty Re: file permissions chroot and chmod in linux

Post by jamied_uk 18th March 2011, 14:47

here is advanced detailed command input / output examples for advanced site requirements
jay@linuxmint /var/www/apps/daddys_1st_host/secure $ cd /var/www/apps/
jay@linuxmint /var/www/apps $ sudo chmod 777 /shop/
[sudo] password for jay:
chmod: cannot access `/shop/': No such file or directory
jay@linuxmint /var/www/apps $ sudo chmod 777 shop
jay@linuxmint /var/www/apps $ cd /var/www/apps/shop
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 *.*
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 /config/
chmod: cannot access `/config/': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 config
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 /tools/smarty/compile
chmod: cannot access `/tools/smarty/compile': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools/smarty/compile
chmod: cannot access `tools/smarty/compile': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools/
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 img
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 /img
chmod: cannot access `/img': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 /img/
chmod: cannot access `/img/': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 *
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools/smarty/compile
chmod: cannot access `tools/smarty/compile': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools/smarty/cache
chmod: cannot access `tools/smarty/cache': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 /tools/smarty/cache
chmod: cannot access `/tools/smarty/cache': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools/smarty/cache/
chmod: cannot access `tools/smarty/cache/': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 tools/smarty/cache
chmod: cannot access `tools/smarty/cache': No such file or directory
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 /smarty/cache
chmod: cannot access `/smarty/cache': No such file or directory
jay@linuxmint /var/www/apps/shop $ cd /var/www/apps/shop/tools
jay@linuxmint /var/www/apps/shop/tools $ sudo chmod 777 smarty/compile
chmod: cannot access `smarty/compile': No such file or directory
jay@linuxmint /var/www/apps/shop/tools $ sudo chmod 777 smarty/compile/
chmod: cannot access `smarty/compile/': No such file or directory
jay@linuxmint /var/www/apps/shop/tools $ sudo chmod 777 /smarty/compile
chmod: cannot access `/smarty/compile': No such file or directory
jay@linuxmint /var/www/apps/shop/tools $ sudo chmod 777 tools/smarty/compile
chmod: cannot access `tools/smarty/compile': No such file or directory
jay@linuxmint /var/www/apps/shop/tools $ cd /var/www/apps/shop/tools/smarty
jay@linuxmint /var/www/apps/shop/tools/smarty $ sudo chmod 777 compilechmod: cannot access `compile': No such file or directory
jay@linuxmint /var/www/apps/shop/tools/smarty $ sudo chmod 777 compile
jay@linuxmint /var/www/apps/shop/tools/smarty $ sudo chmod 777 cache
jay@linuxmint /var/www/apps/shop/tools/smarty $ cd /var/www/apps/shop/tools/smarty_v2
jay@linuxmint /var/www/apps/shop/tools/smarty_v2 $ sudo chmod 777 cachejay@linuxmint /var/www/apps/shop/tools/smarty_v2 $ sudo chmod 777 compile
jay@linuxmint /var/www/apps/shop/tools/smarty_v2 $ cd /var/www/apps/shop/
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 img
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 mails
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 modules
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 themes
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 translations
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 img
jay@linuxmint /var/www/apps/shop $ sudo chmod 777 img*
jay@linuxmint /var/www/apps/shop $ cd /var/www/apps/shop/img
jay@linuxmint /var/www/apps/shop/img $ sudo chmod 777 img
chmod: cannot access `img': No such file or directory
jay@linuxmint /var/www/apps/shop/img $ sudo chmod 777 *
jay@linuxmint /var/www/apps/shop/img $ cd /var/www/apps/shop/mails
jay@linuxmint /var/www/apps/shop/mails $ sudo chmod 777 *
jay@linuxmint /var/www/apps/shop/mails $ cd /var/www/apps/shop/modules
jay@linuxmint /var/www/apps/shop/modules $ sudo chmod 777 *
jay@linuxmint /var/www/apps/shop/modules $ cd /var/www/apps/shop/themes
jay@linuxmint /var/www/apps/shop/themes $ sudo chmod 777 *
jay@linuxmint /var/www/apps/shop/themes $ cd /var/www/apps/shop/themes/prestashop
jay@linuxmint /var/www/apps/shop/themes/prestashop $ sudo chmod 777 *jay@linuxmint /var/www/apps/shop/themes/prestashop $ cd /var/www/apps/shop/themes/prestashop/lang
jay@linuxmint /var/www/apps/shop/themes/prestashop/lang $ sudo chmod 777 *jay@linuxmint /var/www/apps/shop/themes/prestashop/lang $ cd /var/www/apps/shop/translations
jay@linuxmint /var/www/apps/shop/translations $ sudo chmod 777 *jay@linuxmint /var/www/apps/shop/translations $
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum