Menu

#940 PERMISSION INCORRECT FOR SMB SCRIPTS AFTER WEBMIN UPGRADE

open
5
2003-01-16
2003-01-16
No

Under RedHat 7.2 (I have not tested other versions).
The files in /etc/webmin/lpadmin/drivers end up with
permissions of 711. since they are scripts, they need at
least 755 for the printer subsystem to be able to print to
the printers. I keep manually setting the permissions
back to 755 and the printers come back online.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2003-01-17

    Logged In: YES
    user_id=129364

    What does the iface_perms= line in
    /etc/webmin/lpadmin/config say? It should be like
    iface_perms=755 . This is the default, and works on my system ..

     
  • Andrew Frielink

    Andrew Frielink - 2003-01-20

    Logged In: YES
    user_id=353061

    I checked the /etc/webmin/lpadmin/config fiel and
    iface_perms is set to 755.

    Here is a copy of the entire config file.

    sort_mode=0
    printcap_file=/etc/printcap.local
    model_path=
    show_jobs=0
    start_cmd=
    print_style=lprng
    iface_perms=755
    gs_path=gs
    gs_fontpath=
    stop_cmd=
    display_mode=0
    iface_owner=lp:lp
    gs_lib=
    queue_refresh=
    show_status=0
    smbclient_path=smbclient
    spool_dir=/var/spool/lpd
    driver_style=
    hpnp_path=
    iface_arg=
    apply_cmd=/etc/rc.d/init.d/lpd restart

     
  • Jamie Cameron

    Jamie Cameron - 2003-01-20

    Logged In: YES
    user_id=129364

    Try this - go to the Webmin Configuration module, click on
    Logging and turn on both 'Enable logging' and 'Log changes
    made to files by each action'. Uuse the Printer
    Administration module to create a printer, then go to the
    Webmin Actions log module and find the log entry that this
    just created. When you click on it, all the commands
    executed (including any chmod commands) will be shown, so
    that you can see what is really happening ..

     

Log in to post a comment.

Auth0 Logo