Bug 12789 - OSX Client is not able to change the "Locked" Attribute in Get Info dialog
Summary: OSX Client is not able to change the "Locked" Attribute in Get Info dialog
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Ralph Böhme
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-12 11:09 UTC by Ralph Böhme
Modified: 2018-07-07 14:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Böhme 2017-05-12 11:09:51 UTC
Samba 4.5.7 with fruit module enabled

Config Flags in smb.conf:

    vfs objects   = shadow_copy2 fruit streams_xattr syncops gpfs fileid
    fruit:copyfile = yes
    fruit:resource = file
    fruit:metadata = stream

Steps to replicate:

- in Finder, copy a file to the share
- in Finder, choose "Get Info" for the file
- turn on Attribute "Locked"
- Icon immediately gets the little Lock in its Icon and item is locked
- click Attribute "Locked" to turn it off again
- nothing happens or the lock disappears and then reappears

Workaround:
Click Attribute "Locked" to turn it off a second time, the lock disappears and stays unlocked.
Comment 1 Ralph Böhme 2018-07-07 14:03:00 UTC
Likely a client side bug: the client sends a setinfo request with DOS attributes == 0. Samba as well as Windows ignore this request.