• Resolved garrisonlutz

    (@garrisonlutz)


    The File Manager has, for several months, now been telling us that the folder that it manages and all of its subfolders are read-only, and all of the buttons having to do with altering the filesystem in any way are greyed out.

    Our WordPress installation is on a Debian server, and the Debian server mounts the folder and subfolders in question, which are on a NAS, via cifs and SMB 3.11 with ntmsspi security, using the following line in /etc/fstab, where [IP] is the IP address of the NAS, [username] is the appropriate username on the NAS, [password] is the appropriate password on the NAS, and [domain] is the domain of the NAS.

    //[IP]/Users/Media/Uploads /mnt/Uploads cifs username=[username],password=[password],vers=3.11,domain=[domain],sec=ntlmsspi 0 0

    Neither the aforementioned line in /etc/fstab, nor the permissions on the share on the NAS (i.e. “/Users/Media/Uploads”), nor the permissions for [username] have changed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author modalweb

    (@modalweb)

    @garrisonlutz , you need to update your file permissioms from your server to 0755.

    Thread Starter garrisonlutz

    (@garrisonlutz)

    Every folder, subfolder and file that the plugin manages already has/had its permissions set to 0755. But, happily, we found out what the cause of our difficulties was nevertheless, and we fixed the problem, and all of the folders and files in question are now no longer read-only.

    Apparently, the plugin executes its activity under the Debian “www-data” username, but the /mnt/Uploads folder, which is created by the aforementioned line in /etc/fstab, is owned by “root”. It turned out that what we had to do was, in the aforementioned line in /etc/fstab, explicitly specify, by adding a “file_mode” parameter and a “directory_mode” parameter, that all file permissions and the directory permissions should be 0777 rather than 0755.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.