• Portada
    • Recientes
    • Usuarios
    • Registrarse
    • Conectarse

    Web server issues

    Programado Fijo Cerrado Movido Sistemas operativos
    3 Mensajes 2 Posters 907 Visitas 1 Watching
    Cargando más mensajes
    • Más antiguo a más nuevo
    • Más nuevo a más antiguo
    • Mayor número de Votos
    Responder
    • Responder como tema
    Accede para responder
    Este tema ha sido borrado. Solo los usuarios que tengan privilegios de administración de temas pueden verlo.
    • YorusY Desconectado
      Yorus Veteranos HL
      Última edición por

      Hello!

      First of all, I should say that I have this problem with a Synology NAS, but it is still a machine with Linux that I can connect to with SSH, and besides, it is a topic that has never been entirely clear to me when installing web servers on Debian or Ubuntu.

      To the point. In this case, I wanted to set up a blog on my NAS through the web server it has, which is also nothing more than Apache. The web is set up here at:

      /var/services/web/ 

      In order to complete the CMS installation wizard, I had to make the http user the owner of the folders and files, and at the same time, I had to make two specific folders have the permissions set to 775. From there, I completed it and it already works. The problem is that since I am not a normal user to upload files (whether by SSH, SFTP, SMB…) I have to do it with a user from the NAS, and this makes the uploaded files belong to this user and not to http, so every time I have to enter as root and fix it.

      What is wrong with my way of working? How should I do it? You can explain it to me as you would in any more common Linux.

      Thanks!

      Mi centro de operaciones
      Mi blog en HL

      hlbm signature

      1 Respuesta Última respuesta Responder Citar 0
      • cobitoC Desconectado
        cobito Administrador
        Última edición por

        Well, it's something that happens to me and I've never thought about how to solve it. In my case, every time I upload something, I have to do a chown -R www-data:www-data /carpeta_web/.

        But since it's something I do very occasionally (in fact, almost never), I haven't stopped to think about how to do it another way.

        Toda la actualidad en la portada de Hardlimit
        Mis cacharros

        hlbm signature

        YorusY 1 Respuesta Última respuesta Responder Citar 0
        • YorusY Desconectado
          Yorus Veteranos HL @cobito
          Última edición por

          The same is that there really isn't a clean and direct way to do it, hehe. I'll keep looking and if I find a better way to do it I'll mention it here.

          Mi centro de operaciones
          Mi blog en HL

          hlbm signature

          1 Respuesta Última respuesta Responder Citar 0
          • 1 / 1
          • First post
            Last post

          Foreros conectados [Conectados hoy]

          1 usuarios activos (1 miembros y 0 invitados).
          febesin, pAtO,

          Estadísticas de Hardlimit

          Los hardlimitianos han creado un total de 543.5k posts en 62.9k hilos.
          Somos un total de 34.9k miembros registrados.
          roymendez ha sido nuestro último fichaje.
          El récord de usuarios en linea fue de 123 y se produjo el Thu Jan 15 2026.