On Tue, 2006-02-07 at 18:12 -0600, Nathaniel Hall wrote: > I am having problems with getting permissions correct using my fstab. > I am mounting to a Windows file server from a Core 4 box. I am able > to connect to the share and mess with files, but permissions are not > correct. I do not run as a root user, so when I write a file it is > owned by root. I would like it to be owned by my username so that I > do not have to change the owner when I want to edit the file. > > Here is my /etc/fstab > //server/share /media/server/share cifs > credentials=/home/user/.smbcredentials/user.cred,rw,user 0 0 > > Does anybody have any suggestions? I don't know what's in your credentials file, or whether it can be done there, but the usual way to assign ownership to someone with a Samba mount it to include uid and gid values in the fstab options. e.g. //server/share /mountpoint cifs uid=tim,gid=tim,rw And so on... -- Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists.