Pharthiphan Asokan
2019-Apr-29 10:56 UTC
[Samba] permission denied while compile linux kernel on samba share
Hi, 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 kernel/bpf/syscall.oarch/x86/entry/vdso/vma.o: 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. [global] workgroup = SAMBA security = user passdb backend = tdbsam printing = cups printcap name = cups load printers = yes cups options = raw [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @printadmin root force group = @printadmin create mask = 0664 directory mask = 0775 [cifs-share] comment=FUSE expotred over smb browsable=yes #path=/tmp/fuseMNT path=/tmp/test #path=/mnt/lustre_client/pasokan public=no valid users=@root write list=@root writeable=yes create mask=0770 force create mode=0770 # cat /proc/mounts | grep cifs //10.10.27.203/cifs-share /mnt/cifs cifs rw,relatime,vers=default,cache=strict,username=root,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=10.10.27.203,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,mfsymlinks,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1 0 0
Rowland Penny
2019-Apr-29 12:10 UTC
[Samba] permission denied while compile linux kernel on samba share
On Mon, 29 Apr 2019 16:26:06 +0530 Pharthiphan Asokan via samba <samba at lists.samba.org> wrote:> [cifs-share] > comment=FUSE expotred over smb > path=/tmp/test > valid users=@root > write list=@root > writeable=yes > create mask=0770 > force create mode=0770 > > > # cat /proc/mounts | grep cifs > //10.10.27.203/cifs-share /mnt/cifs cifs > rw,relatime,vers=default,cache=strict,username=root,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=10.10.27.203,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,mfsymlinks,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1 > 0 0is 'root' a samba user ? Are you logged in as 'root' ? What are the permissions on /tmp/test ? Rowland
Pharthiphan Asokan
2019-Apr-30 13:08 UTC
[Samba] permission denied while compile linux kernel on samba share
Hi, is 'root' a samba user ? yes Are you logged in as 'root' ? yes What are the permissions on /tmp/test ? # ls -ld /tmp/test drwxr-xr-x 2 root root 4096 Apr 30 09:07 /tmp/test Pharthiphan Asokan On Mon, Apr 29, 2019 at 4:26 PM Pharthiphan Asokan <pharthiphan at gmail.com> wrote:> Hi, > > 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 kernel/bpf/syscall.oarch/x86/entry/vdso/vma.o: > 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. > > [global] > workgroup = SAMBA > security = user > > passdb backend = tdbsam > > printing = cups > printcap name = cups > load printers = yes > cups options = raw > > [homes] > comment = Home Directories > valid users = %S, %D%w%S > browseable = No > read only = No > inherit acls = Yes > > [printers] > comment = All Printers > path = /var/tmp > printable = Yes > create mask = 0600 > browseable = No > > [print$] > comment = Printer Drivers > path = /var/lib/samba/drivers > write list = @printadmin root > force group = @printadmin > create mask = 0664 > directory mask = 0775 > > [cifs-share] > comment=FUSE expotred over smb > browsable=yes > #path=/tmp/fuseMNT > path=/tmp/test > #path=/mnt/lustre_client/pasokan > public=no > valid users=@root > write list=@root > writeable=yes > create mask=0770 > force create mode=0770 > > > # cat /proc/mounts | grep cifs > //10.10.27.203/cifs-share /mnt/cifs cifs > rw,relatime,vers=default,cache=strict,username=root,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=10.10.27.203,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,mfsymlinks,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1 > 0 0 > > >