Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-14-2020, 04:11 AM   #1
Registered: Jun 2004
Location: Italy
Distribution: Slack x64 current
Posts: 140

Rep: Reputation: 26
can't write files to an SMB share from Kate/Kwrite/Kdevelop after latest -current updates

Hi all, I'm facing this strange problem

I'm using Slackware64-current on my PC. I work on a SMB share (shared by a Slackware system) mounted locally

The share is mounted RW, and was working for months. But now (I don't have notice of when exactly started this problem, but for sure in last days) I can't write on text files on the share from Kate/Kwrite/Kdevelop.

I have full write access to the same files on the share with any other tool (libreoffice, vi, nano, calligra..)

I think this may be a bug of integrated KDE text editors, which (I suppose) shares the same engine. All of them wasn't having this problem since few days ago..

I tried to use strace to debug (with kwrite), I report here the part that I think relevant

lstat("/mnt", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
lstat("/mnt/public", {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
lstat("/mnt/public/ametis", {st_mode=S_IFREG|0777, st_size=955, ...}) = 0
getpid()                                = 17039
openat(AT_FDCWD, "/mnt/public/", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 19
fcntl(19, F_SETFD, FD_CLOEXEC)          = 0
stat("/mnt/public/ametis", {st_mode=S_IFREG|0777, st_size=955, ...}) = 0
fchown(19, 1005, 100)                   = -1 EPERM (Operation not permitted)
fchown(19, -1, 100)                     = -1 EPERM (Operation not permitted)
stat("/mnt/public/ametis", {st_mode=S_IFREG|0777, st_size=955, ...}) = 0
access("/mnt/public/ametis", R_OK)      = 0
access("/mnt/public/ametis", W_OK)      = 0
access("/mnt/public/ametis", X_OK)      = 0
chmod("/mnt/public/", 0777) = -1 EPERM (Operation not permitted)
openat(AT_FDCWD, "/mnt/public/", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 21
fcntl(21, F_SETFD, FD_CLOEXEC)          = 0
lseek(19, 0, SEEK_SET)                  = 0
close(19)                               = 0
"ametis" is the files I tried to open and save from kwrite

I try to ask for help here because I don't know how to manage this error

Last edited by Barx; 07-14-2020 at 04:13 AM. Reason: Added last row asking for help
Old 07-15-2020, 12:10 AM   #2
Senior Member
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS
Posts: 1,637

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
Samba was updated in Current July 2. Is the Slackware (samba) server also running Current?
Old 07-15-2020, 06:10 AM   #3
Registered: Jun 2004
Location: Italy
Distribution: Slack x64 current
Posts: 140

Original Poster
Rep: Reputation: 26
The problem I think is not related to Samba. I have problems only with Kate/Kwrite/Kdevelop. Any other program on my PC has full R/W access to every file on the samba share


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kate/KDevelop October Sprint: What's new in Kate LXer Syndicated Linux News 0 11-24-2012 10:20 PM
Kwrite and Kate mess up Windows type files! Linux - Software 5 12-08-2006 07:46 PM
Plugins for KDE- Kwrite Kate etc saurya_s Linux - Software 0 04-19-2004 03:50 PM
install kwrite/kate without kde wm? matthewchng Linux - Software 2 02-25-2004 03:34 PM
Kate/KWrite sourcecode editing with folding alex.e.c Linux - Software 0 09-10-2003 11:39 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration