Re: [ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread Mac
Mac wrote: > James Dalley wrote: >> I saw a similar setup the other >> day but the fileMode and DirMOde hade no 0 at the start just >> 777.May help, may not! > So 777 worth a try - at least it has powerful magical connotations! Sadly, magic or no magic, the adjustment makes no difference. Only

Re: [ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread Mac
James Dalley wrote: Mac> I saw a similar setup the other >> day but the fileMode and DirMOde hade no 0 at the start just >> 777.May help, may not! (1 , 99 % betting)Jay Yes, that's similar to the format for smbfs: dmask=777,fmask=777. The use of dmask and fmask is deprecated with cifs, and as I

Re: [ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread James Dalley
> Date: Fri, 10 Aug 2007 21:48:06 +0100> From: [EMAIL PROTECTED]> To: > ubuntu-uk@lists.ubuntu.com> Subject: Re: [ubuntu-uk] help with cifs > permissions, please> > Mac wrote:> snip>> > > I guess I'm right in> > > thinking I should ed

Re: [ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread Mac
Mac wrote: snip> > I guess I'm right in > thinking I should edit the line in /etc/fstab to > > //serverIP/public /media/nas cifs > credentials=/root/.smbcredentials,uid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777 > > 0 0 > > Sadly, this doesn't solve the problem: still when I mak

Re: [ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread Mac
Darren Mansell wrote: > On Fri, 2007-08-10 at 14:26 +0100, Neil Greenwood wrote: >> Try adding a uid option to that line. I haven't tried it to see if it >> helps, since I don't have any CIFS shares. > CIFS should work in just the same was as SMB shares. The uid=1000 thing > should work, I always

Re: [ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread Darren Mansell
On Fri, 2007-08-10 at 14:26 +0100, Neil Greenwood wrote: > On 10/08/07, Mac <[EMAIL PROTECTED]> wrote: > > I now have /etc/fstab thus: > > > > //serverIP/public /media/nas cifs > > credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 > > 0 0 > > > > (all on one line, of co

Re: [ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread Neil Greenwood
On 10/08/07, Mac <[EMAIL PROTECTED]> wrote: > I now have /etc/fstab thus: > > //serverIP/public /media/nas cifs > credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 > 0 0 > > (all on one line, of course; and the correct credentials file exists in > /root/ and is chmoded 7

[ubuntu-uk] help with cifs permissions, please

2007-08-10 Thread Mac
I'd be grateful for advice with a problem that's a bit beyond my level of expertise. I've been mounting a network drive using the following in /etc/fstab (commands all on a single line), as per the Ubuntu smbfs HowTo: //severIP/public /media/nas smbfs guest,uid=1000,iocharset=utf8,codepage=unico