file permissions chroot and chmod in linux
Page 1 of 1
file permissions chroot and chmod in linux
/var/www/apps/daddys_1st_host/secure $ sudo chmod 777 settings.dfh
command is
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
Re: file permissions chroot and chmod in linux
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 $
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 $
Similar topics
» setting chmod permissions for linux mint to directorys and subdirectorys works very well
» Add Execute Permissions To A File In Linux With A Script Or Function
» Raspberry Pi 3 Set File Permissions
» File Recovery Using Linux
» How to fix samba in linux file missing config file error
» Add Execute Permissions To A File In Linux With A Script Or Function
» Raspberry Pi 3 Set File Permissions
» File Recovery Using Linux
» How to fix samba in linux file missing config file error
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum