[Samba] I want shares on demand
I have many shares in my fstab which look just like so... //machinename/sharename /mnt/foo smbfs credentials=credfile,rw,user,gid=sambawrites,fmask=0774,dmask=0774 0 0 And they work generally fine. But sometimes weird things happen, i.e. the power goes out, and the linux server comes up before the machines with the shares do, or one of the machines with the shares gets turned off for a couple days, or there's just weird network problems around the office. When this happens the shares are obviously no good. What I'm looking for, is the ability to have the share automatically remounted next time someone attempts to access it. So if I go to /mnt/foo and /mnt/foo is not mounted, I want it automounted. Is this possible, am I in the wrong forum? Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Permission problem
I have a share mounted using smbfs, rw I can access the share just fine. I can create files on it and modify them all I like. But if I create the file using windows, I can no longer modify it. i.e. I open the share on a windows box and make a directory then mv testdir testdir2 mv: cannot move `testdir' to `testdir2': Permission denied This is causing me a hge headache right now... does anyone know what's going on? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Permission problem (Retract)
More information Simple: I'm an idiot. Longer: I was using the wrong credentials file in my fstab :( Sorry to waste anyones time! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Brenart (TT) Sent: Thursday, January 13, 2005 11:35 AM To: 'samba@lists.samba.org' Subject: [Samba] Permission problem I have a share mounted using smbfs, rw I can access the share just fine. I can create files on it and modify them all I like. But if I create the file using windows, I can no longer modify it. i.e. I open the share on a windows box and make a directory then mv testdir testdir2 mv: cannot move `testdir' to `testdir2': Permission denied This is causing me a hge headache right now... does anyone know what's going on? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Other users to be able to write to a filesystem besides root
I have a filesystem mounted as such... //machine/share /mnt/machine/share smbfs credentials=/somedir/passwordfile/username,rw,user 0 0 When I'm logged in as root I can rw that filesystem perfectly fine. When I'm logged in as another user, I want the same ability... but am getting Permission denied errors... how can I let the other user also write to the file system? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] smbfs pc-netlink problem
I posted basically this problem yesterday with no response, but I have some new information so here's a rego. I mount a solaris box which is sharing files with pc-netlink I use the following line in my fstab //machinename/Share /mnt/machinename/share smbfs credentials=/etc/fstabpwds/username,ro,user 0 0 And it mounts fine, I can access all the directories, and most of the files. Some of the files however are problematic. Namely, I can't copy them or open them or use them in anyway. If I try to cp them, the process never ends and the resulting file grows until it takes up all the space on the destination drive. If it's a text file, and I try to cat it, the process hangs. An ls -l of the file does show the proper file size. I have smbfs 3.0.10-1 installed. I'm running Linux version 2.6.8-1-386 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-2)) #1 Connecting to the same share via a Smbclient //machinename/Share Allows me to navigate to, and get the files just fine. Accessing these shares from Windows boxes works just fine. I'm completely stumped, and this is a show stopper for rolling out a new server, so if anyone has any ideas, please let me know. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbfs pc-netlink problem
(Sorry Guenther, I accidentally replied to you personally early, my mistake) Adding the oldattr option did not work, adding the oldattr option and removing user from my fstab did do the trick. Thank you so much! -Original Message- From: Guenther Deschner [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 1:46 PM To: Rob Brenart (TT) Cc: 'samba@lists.samba.org' Subject: Re: [Samba] smbfs pc-netlink problem Hi Rob, On Wed, Jan 12, 2005 at 01:12:15PM -0600, Rob Brenart (TT) wrote: I posted basically this problem yesterday with no response, but I have some new information so here's a rego. I mount a solaris box which is sharing files with pc-netlink I use the following line in my fstab //machinename/Share /mnt/machinename/share smbfs credentials=/etc/fstabpwds/username,ro,user 0 0 And it mounts fine, I can access all the directories, and most of the files. Some of the files however are problematic. Namely, I can't copy them or open them or use them in anyway. If I try to cp them, the process never ends and the resulting file grows until it takes up all the space on the destination drive. This is a known issue. You can workaround it by using with the (undocumented) oldattr option. Please give use feedback if it that helps for you. Guenther -- Guenther Deschner Samba Team SerNet GmbH - Goettingen [EMAIL PROTECTED],org [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem reading a file from a share
I have a folder shared from a Solaris box (I believe using pc-net link, but I'm not sure of the details) My fstab line is //machinename/Share /mnt/machinename/share smbfs credientials=/etc/fstabpwds/username,ro,user 0 0 And it seems to work fine, I can access all the files I need without any difficulty. But there's one file on there, in a subfolder, which gets updated every 5 minutes. (I mention that because I'm wondering if I'm catching it while it's being written to?) If I try to cat this file, the process never ends. If I try to copy it, the copy never ends and the destination file takes up all the space on my system. (unless I kill it first). Once in a very rare while, the cat or copy will work to completion, but it's not something I can get to happen on purpose. Anyone know what's going on, or better yet, how to fix it? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba