Bug 4364 - Access denied when trying to overwrite hidden files
Access denied when trying to overwrite hidden files
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
All All
: P3 enhancement
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-02-02 07:39 UTC by Henrik
Modified: 2007-02-02 07:51 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Henrik 2007-02-02 07:39:47 UTC
I can't overwrite a file on a windows share which is hidden even though I got access rights to the file. Removing hidden attribute resolves the problem.

1) Create smb.txt file on Winbox C:\
2) Connect to winbox from Linux with smbclient
3) get smb.txt works
4) put smb.txt produces -> NT_STATUS_ACCESS_DENIED opening remote file \smb.txt
5) Remove hidden attribute and I can put the file.
Comment 1 Volker Lendecke 2007-02-02 07:51:07 UTC
Just checked: This is not a bug on our side, at least not a major one. This is just how Windows behaves, there's nothing we can do about it. XP as a client and W2k3 as a Server exhibits the same behaviour. It's only that XP provides a fallback and sets the attribute to non-hidden after it has received the NT_STATUS_ACCESS_DENIED.

Downgrading the bug to "feature enhancement".