[Samba] permission denied while compile linux kernel on samba share

Pharthiphan Asokan pharthiphan at gmail.com
Mon Apr 29 10:56:06 UTC 2019


I have no issues uncompressing Linux kernel tarball on the samba share but
getting Permission denied while compilation. What could cause this issue?

init/calibrate.o: Permission deniedinit/calibrate.o: failedmake[1]: ***
[init/calibrate.o] Error 1make[1]: *** Waiting for unfinished jobs....  CC
    fs/autofs/inode.ofs/autofs/init.o: Permission deniedfs/autofs/init.o:
failedmake[2]: *** [fs/autofs/init.o] Error 1make[2]: *** Waiting for
unfinished jobs....  EXTRACT_CERTS     CC
Permission deniedarch/x86/entry/vdso/vma.o: failedmake[3]: ***
[arch/x86/entry/vdso/vma.o] Error 1make[2]: *** [arch/x86/entry/vdso] Error
2make[1]: *** [arch/x86/entry] Error 2make[1]: *** Waiting for unfinished
jobs....  CC      kernel/bpf/verifier.ocerts/system_keyring.o: Permission
deniedcerts/system_keyring.o: failedmake[1]: *** [certs/system_keyring.o]
Error 1make: *** [certs] Error 2

cat /etc/samba/smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

workgroup = SAMBA
security = user

passdb backend = tdbsam

printing = cups
printcap name = cups
load printers = yes
cups options = raw

comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes

comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775

comment=FUSE expotred over smb
valid users=@root
write list=@root
create mask=0770
force create mode=0770

# cat /proc/mounts | grep cifs
// /mnt/cifs cifs
0 0

More information about the samba mailing list