Announcement

Collapse
No announcement yet.

Folder Permissions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Folder Permissions

    Hi,

    I am a newbie at this Linux stuff. I installed my Apache2, PHP, MySQL (Trying to get my LAMP environment). When trying to save files to /var/www/, where the server is, I receive this message:
    The document could not be saved, as it was not possible to write to file:///var/www/info.php.
    Check that you have write access to this file or that enough disk space is available.
    I try to change the permissions by: right-click (at www folder) > Properties > Permissions; but can't do it.

    Thanks, Luis Diego.
    Attached Files

    #2
    Re: Folder Permissions

    You need root privileges to change permissions on root-owned folders.
    Start konqueror with
    Code:
    kdesu konqueror
    to gain root privileges.

    NOTE: rather than changing the permissions, you can just perform file operations 'as root'

    Comment


      #3
      Re: Folder Permissions

      Thanks kubicle,

      I run the command in Konsole and received this message:
      root@Kunbuntu-Laptop1:~# kdesu konqueror
      Xlib: connection to ":0.0" refused by server
      Xlib: No protocol specified

      kdesu: cannot connect to X server :0.0

      Comment


        #4
        Re: Folder Permissions

        Originally posted by luisdiego
        root@Kunbuntu-Laptop1:~# kdesu konqueror
        That's tautologous with a full-fledged root account, you won't need "[kde]sudoism" - just go ahead:

        Code:
        ROOT@FREYJA # konqueror

        Comment


          #5
          Re: Folder Permissions

          Originally posted by UnicornRider
          Originally posted by luisdiego
          root@Kunbuntu-Laptop1:~# kdesu konqueror
          That's tautologous with a full-fledged root account, you won't need "[kde]sudoism" - just go ahead:

          Code:
          ROOT@FREYJA # konqueror
          True enough, but as I recall, by default the x-server doesn't allow connections from root, I might be wrong of course (so you'll probably get an error with just 'konqueror' as well :P)

          The trick is to use 'kdesu konqueror' from your normal user account, not root. (unless you wish to tinker with X-server)

          Comment


            #6
            Re: Folder Permissions

            Originally posted by kubicle
            True enough, but as I recall, by default the x-server doesn't allow connections from root
            Use sux (instead of su -) to become root, and everything is going to be alright (further reading)

            Comment

            Working...
            X