Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Robert_W_Brandt Absent Member.
Absent Member.
3374 views

Windows 7 users unable to rename files/folders on root

Having a strange problem which seems to only affect Windows 7 users.

Say a user maps a drive to their home directory, when they try to rename a file or folder on the root of the mapped drive they get an error:
The action can't be completed because the folder or a file in it is open in another program)

But strangely enough they can write create and delete files without any problem.

Also this only happens are the root, if they create a folder and work within files under that folder they are fine.
And this error only happens in Windows 7, XP and command line (smbclient) do not have any problems.

At first I thought is was a permissions thing but all the permissions are fine and if I connect via the Novell Client everything is fine.

Then I thought it might be a locking issue, but none of the various smb options seem to make any difference:
acl check permissions = True or False
locking = No
oplocks = No
level2 oplocks = No
posix locking = No

Then I thought it might be a file ownership issue (Windows has a weird concept of a file owner) but none of these options made a difference:
profile acls = no
acl group control = no
dos filemode = no

I even thought it might be a SMB2 version thing, so I tried:
server max protocol = NT1

Nothing has worked so far.

We are running Samba 3.0.36-0.13.16.5-2573-SUSE-CODE10 on SLES10 (OES2) with a NSS backend
(I know this is an old version of samba, but upgrading isn't really an option right now and until now, everything has been working perfect)

Thanks
Bob
Labels (1)
0 Likes
5 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Windows 7 users unable to rename files/folders on root

robert,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://www.novell.com/support and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Forums Team
http://forums.novell.com


0 Likes
joharmon Absent Member.
Absent Member.

Re: Windows 7 users unable to rename files/folders on root

I think you are at the point where you would need to open a call with Novell support. They will have you LAN trace this from a windows 7 box, and an XP box for instance, and submit both traces. Perhaps windows 7 makes a different call than XP and Samba isn't handling it correctly (that is a guess).
0 Likes
Highlighted
Robert_W_Brandt Absent Member.
Absent Member.

Re: Windows 7 users unable to rename files/folders on root

Thanks for the reply.

I was thinking something alone the same lines, but in he end I just created a new folder and the problem went away. I never did find out why the problem hapened or was able to recreate it at different sites.

Bob


joharmon;2336324 wrote:
I think you are at the point where you would need to open a call with Novell support. They will have you LAN trace this from a windows 7 box, and an XP box for instance, and submit both traces. Perhaps windows 7 makes a different call than XP and Samba isn't handling it correctly (that is a guess).
0 Likes
Robert_W_Brandt Absent Member.
Absent Member.

Re: Windows 7 users unable to rename files/folders on root

This problem came up again! I was able to troubleshoot a little more and discovered that If I applied an ACL to the root of the shared directory to specifically give the user access everything worked.

But since I don't want to setup ACLs for everything, I tried removing all ACLs and low and behold, everything was still working??!!

No idea why this works but it seems to for a few directories I've visited.

Bob
0 Likes
karl31 Absent Member.
Absent Member.

Re: Windows 7 users unable to rename files/folders on root

robert_w_brandt;2408526 wrote:
This problem came up again! I was able to troubleshoot a little more and discovered that If I applied an ACL to the root of the shared directory to specifically give the user access everything worked.

But since I don't want to setup ACLs for everything, I tried removing all ACLs and low and behold, everything was still working??!!

No idea why this works but it seems to for a few directories I've visited.

Bob


https://www.novell.com/support/kb/doc.php?id=3796587
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.