Hi all, I've got a share called [ACCOUNTING] with the following share definition: [ACCOUNTING] path = /data/samba/shares/Accounting valid users = @acct @"Domain Admins" browseable = yes public = no read only = no force group = acct Here is the permissions on the directory: oink:/data/samba/shares # ls -ld /data/samba/shares/Accounting drwxrwxr-x 9 root acct 4096 Nov 29 09:30 /data/samba/shares/Accounting Here is the permissions on a file in the directory: -rwxrwxrwx 1 root acct 904192 Nov 29 09:48 /data/samba/shares/Accounting/Invoice Recap.xls The permissions on this file look fine from within Windows Explorer \ properties \ Security. They look fine on the UNIX side. But in Excel, this file is always opened as read-only. I have verified that the user in question is in the acct group. Also the 'fuser' command does not report anyone using the file. I would appreciate any help in figure out what has gone wrong here. Thanks, Misty
On Monday 29 November 2004 10:03, Misty Stanley-Jones wrote:> Hi all, > > I've got a share called [ACCOUNTING] with the following share definition: > [ACCOUNTING] > path = /data/samba/shares/Accounting > valid users = @acct @"Domain Admins" > browseable = yes > public = no > read only = no > force group = acct > > Here is the permissions on the directory: > oink:/data/samba/shares # ls -ld /data/samba/shares/Accounting > drwxrwxr-x 9 root acct 4096 Nov 29 09:30 /data/samba/shares/Accounting > > Here is the permissions on a file in the directory: > -rwxrwxrwx 1 root acct 904192 Nov 29 > 09:48 /data/samba/shares/Accounting/Invoice Recap.xls > > The permissions on this file look fine from within Windows Explorer \ > properties \ Security. They look fine on the UNIX side. But in Excel, > this file is always opened as read-only. I have verified that the user in > question is in the acct group. Also the 'fuser' command does not report > anyone using the file. I would appreciate any help in figure out what has > gone wrong here. >New info to add: If I access the share as \\corpsrv\accounting, I can write to the files. If I access it via its drive letter I cannot. I've just mapped it via the command: net use m: \\corpsrv\accounting Also it is not just Excel. I've tried to open a text file with Notepad and I get the same results. Any ideas? Thanks, Misty> Thanks, > Misty
Welcome to the club.... This I believe is a bug that affected Samba 3.0.4 and 3.0.5 for me whereas if the effective permissions on the Win2K workstation were Administrator level these odd "access denied" errors would come up but UNC could get around it, etc... Samba 3.0.6 was the answer for us. I still have that level on the production servers, and at this time evaluating 3.0.9 as the next upgrade step. You might put more environment details such as OS/distro and version numbers in future postings. I hope it helps... unlike previous administrations I can honestly say "I feel your pain" on this one! ;-) -- Michael Lueck Lueck Data Systems Remove the upper case letters NOSPAM to contact me directly.