Bug 35082 - Deletetion of logon script causes traceback
Deletetion of logon script causes traceback
Status: RESOLVED DUPLICATE of bug 31539
Product: UCS@school
Classification: Unclassified
Component: Netlogon scripts
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-10 11:40 CEST by Jan Christoph Ebersbach
Modified: 2014-06-10 11:44 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2014-06-10 11:40:58 CEST
I deleted a user account and saw the following error in /var/log/univention/listener.log.  The listener doesn't request the required rights to delete the file at this stage.

Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/ucs-school-user-logonscript.py", line 514, in handler
    userchange(dn, new, old)
  File "/usr/lib/univention-directory-listener/system/ucs-school-user-logonscript.py", line 504, in userchange
    os.remove("%s/%s.vbs" % (path, old['uid'][0]))
OSError: [Errno 13] Permission denied: '/var/lib/samba/netlogon/user/aproflehrer.vbs'
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-06-10 11:44:29 CEST

*** This bug has been marked as a duplicate of bug 31539 ***