Ask Your Question

Revision history [back]

To allow your normal user to work with files in /var/www, you should use a group, but leave the user ownership alone.

  1. addgroup wwwusers
  2. usermod -a -G wwwusers Santosh
  3. chown -R wwwusers:root /var/www

If you are using a live image, you generally don't expect any changes to be persistent across reboots. If you are going to use Fedora regularly instead of just previewing it, you should actually install Fedora.

To allow your normal user to work with files in /var/www, you should use a group, but leave the user ownership alone.

  1. addgroup wwwusers
  2. usermod -a -G wwwusers Santosh
  3. chown -R wwwusers:root root:wwwusers /var/www

If you are using a live image, you generally don't expect any changes to be persistent across reboots. If you are going to use Fedora regularly instead of just previewing it, you should actually install Fedora.

To allow your normal user to work with files in /var/www, you should use a group, but leave the user ownership alone.

  1. addgroup groupadd wwwusers
  2. usermod -a -G wwwusers Santosh
  3. chown -R root:wwwusers /var/www

If you are using a live image, you generally don't expect any changes to be persistent across reboots. If you are going to use Fedora regularly instead of just previewing it, you should actually install Fedora.