[linux-cifs-client] CIFS home mount won't allow KDE to run
Paul Waldo
pwaldo at waldoware.com
Fri Jun 15 19:27:41 GMT 2007
Paul Waldo wrote:
> Wilhelm Meier wrote:
>> Am Freitag, 15. Juni 2007 15:06 schrieb Paul Waldo:
>>
>>> Hi all,
>>>
>>> I have a Linux client that has my home dir mounted from a
>>> fileserver. I
>>> mount with this line in /etc/fstab:
>>> //alexandria/paul /home/pwaldo cifs
>>> credentials=/etc/thecus_credentials.txt 0 0
>>>
>>> When I try to start KDE, it hangs very quickly into the process,
>>> with no
>>> information in .xsession-errors. I moved ~/.kde out of the way to
>>> start
>>> fresh, and I get this:
>>> WARNING: Problem deleting stale lockfile
>>> /home/pwaldo/.kde/share/config/kpersonalizerrc.lock
>>>
>>
>> this is a known problem. Be sure to use the serverino option for
>> mount.cifs / mounting.
>>
>
> Thanks for the reply, Wilhelm. That seemed to do the trick--I can now
> start KDE. I have two more questions:
> 1. You say this is a known problem. Is it documented anywhere? I
> googled (what I thought was) appropriately, but didn't find anything.
> If there is a list of known issues, I'd like to become aware of them.
>
> 2. Are there any ramifications or gotcha's I need to know about using
> the serverino option?
>
> Thanks again!
>
> Paul
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
>
OK, I spoke too soon. I'm having some permission problems. When I
create files, they end up with a UID and GID of 99, which is not defined
on the client nor the server!
pwaldo at office /camera
$ mount |grep /camera
//alexandria/test/camera on /camera type cifs (rw,mand)
pwaldo at office /camera
$ umask
0022
pwaldo at office /camera
$ id
uid=1002(pwaldo) gid=1002(pwaldo)
groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),102(smbusers),103(smbwaldoware),104(smbpicture_viewers),105(smbmusic_listeners),106(smbsoftware_developer),504(scanner),512(netdev),513(lpadmin),515(powerdev),517(admin),1002(pwaldo)
pwaldo at office /camera
$ touch fred
pwaldo at office /camera
$ ls -l fred
-rw-rw-rw- 1 99 99 0 2007-06-15 15:22 fred
How did it get 99 for the GID and UID?
More information about the linux-cifs-client
mailing list