Bug 4364 - Access denied when trying to overwrite hidden files
Summary: Access denied when trying to overwrite hidden files
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.23d
Hardware: All All
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2007-02-02 07:39 UTC by Henrik (dead mail address)
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 (dead mail address) 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".