gencache_init: Failed to create directory: /var/www/.cache/samba - Permission denied
Bug #1960754 reported by
Andrea Xheli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Fedora) |
Unknown
|
Unknown
|
|||
samba (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Getting the following error
gencache_init: Failed to create directory: /var/www/
I seen this was also an issue in redhat
https:/
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Thanks for reporting this issue and flagging the related bug report. That report details these steps to reproduce on redhat:
- Steps to Reproduce:
1. Create a share on Windows AD server.
2. Join a system to AD domain via realmd (samba + winbind)
3. Try to access the share hosted on Windows system via smbclient
- Actual results: 1/.cache/ samba - No such file or directory
'smbclient' command shows an error/warning while accessing the share as non-privileged user e.g. local linux user.
---
gencache_init: Failed to create directory: /home/localuser
---
- Expected results:
'smbclient' command shouldn't throw any error while accessing the share as non-privileged user.
Do these exact steps reproduce the issue for you on Ubuntu 20.04? Did you use the workaround of doing 'mkdir ~/.cache' to resolve things locally, or did you take a different approach?