Menu

Permissions Problems???

Help
2019-02-02
2019-02-04
  • David Graham

    David Graham - 2019-02-02

    I installed PFM on Mint18. Set it up to look at my Plex directories and it looks great, until I try to use it. I try to delete something and it won't delete.

    Permissions in PFM constantly show 755.
    I look at the permissions w/PFM and it shows 755, my permissions at this point in the shell are 774.
    The group user has had www-data added at this point, so RWX for group user, still doesn't delete. permissions in PFM still show 755! www-data is in the group and the group has a 7 as above!
    If I set the "others" permission to 7, now I can delete. Not using webbrowser permissions from www-data?

    PFM deletes files other than what are tagged.
    I tag 1 file I want to get rid of name.nfo, there is also name.mkv, I only mark the .nfo file hit the delete above for tagged files and it deletes BOTH files!
    I really like the speed of this program and how it is layed out BUT it's not doing what I want it to do. What could be going on here?
    Thanks.

    PHP logo
    PHP Version 5.5.9-1ubuntu4.26

    System Linux vb-plex 3.13.0-164-generic #214-Ubuntu SMP Wed Dec 5 10:42:33 UTC 2018 x86_64
    Build Date Sep 17 2018 13:46:12
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /etc/php5/apache2
    Loaded Configuration File /etc/php5/apache2/php.ini
    Scan this dir for additional .ini files /etc/php5/apache2/conf.d
    Additional .ini files parsed /etc/php5/apache2/conf.d/05-opcache.ini, /etc/php5/apache2/conf.d/10-pdo.ini, /etc/php5/apache2/conf.d/20-curl.ini, /etc/php5/apache2/conf.d/20-json.ini, /etc/php5/apache2/conf.d/20-mysql.ini, /etc/php5/apache2/conf.d/20-mysqli.ini, /etc/php5/apache2/conf.d/20-pdo_mysql.ini, /etc/php5/apache2/conf.d/20-readline.ini, /etc/php5/apache2/conf.d/20-xcache.ini, /etc/php5/apache2/conf.d/20-xsl.ini
    PHP API 20121113
    PHP Extension 20121212
    Zend Extension 220121212
    Zend Extension Build API220121212,NTS
    PHP Extension Build API20121212,NTS
    Debug Build no
    Thread Safety disabled
    Zend Signal Handling disabled
    Zend Memory Manager enabled
    Zend Multibyte Support provided by mbstring
    IPv6 Support enabled
    DTrace Support enabled
    Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, tls
    Registered Stream Filters zlib., bzip2., convert.iconv., string.rot13, string.toupper, string.tolower, string.strip_tags, convert., consumed, dechunk

    Zend logo This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
    with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo

    Configuration
    apache2handler
    Apache Version Apache/2.4.7 (Ubuntu)
    Apache API Version 20120211
    Server Administrator webmaster@localhost
    Hostname:Port 127.0.1.1:80
    User/Group www-data(33)/33
    Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
    Timeouts Connection: 300 - Keep-Alive: 5
    Virtual Server Yes
    Server Root /etc/apache2
    Loaded Modules core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_mime prefork mod_negotiation mod_php5 mod_setenvif mod_status

    Directive Local Value Master Value
    engine 1 1
    last_modified 0 0
    xbithack 0 0

    Apache Environment
    Variable Value
    HTTP_HOST vb-plex
    HTTP_CONNECTION keep-alive
    HTTP_UPGRADE_INSECURE_REQUESTS 1
    HTTP_DNT 1
    HTTP_USER_AGENT Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
    HTTP_REFERER http://vb-plex/here/index.php?frame=3&action=8&cmd_arg=Million%20Dollar%20Arm%20(2014)&fm_current_dir=/var/plex/movies/
    HTTP_ACCEPT_ENCODING gzip, deflate
    HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9
    HTTP_COOKIE portscan_ip_range=192.168.0.110; portscan_port_range=21%2C22%2C23%2C25%2C80%2C110%2C137%2C143%2C161%2C1433%2C1521%2C3306%2C3389%2C5900%2C8080; resolve_ids=1; order_dir_list_by=1A; loggedon=c2ac0dbe71838e29fa6b920fd63ea13c
    PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    SERVER_SIGNATURE

    Apache/2.4.7 (Ubuntu) Server at vb-plex Port 80

    SERVER_SOFTWARE Apache/2.4.7 (Ubuntu)
    SERVER_NAME vb-plex
    SERVER_ADDR 192.168.0.110
    SERVER_PORT 80
    REMOTE_ADDR 192.168.0.146
    DOCUMENT_ROOT /var/www/html
    REQUEST_SCHEME http
    CONTEXT_PREFIX no value
    CONTEXT_DOCUMENT_ROOT /var/www/html
    SERVER_ADMIN webmaster@localhost
    SCRIPT_FILENAME /var/www/html/here/index.php
    REMOTE_PORT 53757
    GATEWAY_INTERFACE CGI/1.1
    SERVER_PROTOCOL HTTP/1.1
    REQUEST_METHOD GET
    QUERY_STRING action=5
    REQUEST_URI /here/index.php?action=5
    SCRIPT_NAME /here/index.php

    HTTP Headers Information
    HTTP Request Headers
    HTTP Request GET /here/index.php?action=5 HTTP/1.1
    Host vb-plex
    Connection keep-alive
    Upgrade-Insecure-Requests 1
    DNT 1
    User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
    Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
    Referer http://vb-plex/here/index.php?frame=3&action=8&cmd_arg=Million%20Dollar%20Arm%20(2014)&fm_current_dir=/var/plex/movies/
    Accept-Encoding gzip, deflate
    Accept-Language en-US,en;q=0.9
    Cookie portscan_ip_range=192.168.0.110; portscan_port_range=21%2C22%2C23%2C25%2C80%2C110%2C137%2C143%2C161%2C1433%2C1521%2C3306%2C3389%2C5900%2C8080; resolve_ids=1; order_dir_list_by=1A; loggedon=c2ac0dbe71838e29fa6b920fd63ea13c
    HTTP Response Headers
    X-Powered-By PHP/5.5.9-1ubuntu4.26
    Cache-Control no-store, no-cache, must-revalidate, max-age=0
    Cache-Control post-check=0, pre-check=0
    Pragma no-cache

     

    Last edit: David Graham 2019-02-02
  • Fabrício Seger Kolling

    Thanks for the notice. Since i changed the script to use a different directory separator on windows, i expected some bugs to appear. But the bug on the delete action is severe, i will run some tests and fix this asap. About the file permition, phpfm shows what php gets with fileperms() function. If its different from the terminal, the issue must be on your system.

     
  • Fabrício Seger Kolling

    Could not find the bug. Now i saw you posted this comment 2 days ago. I released version 1.7.3 yesterday with a fix for a selection problem. I think this issue is solved. Please confirm.

     

Log in to post a comment.