DOS Archive Attribute Defaults to True

Status
Not open for further replies.
Joined
Jul 27, 2017
Messages
16
I'm trying to use the Archive attribute on my FreeNAS system. I want people to be able to set the archive attribute, and a script will go through and change permissions for backups...blah blah.

The reason doesn't matter.

The point is, when creating a new file over CIFS/SAMBA, the new file has the Archive attribute set to true by default.

Is this normal behavior? Is it possible to set it to false by default?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I'm trying to use the Archive attribute on my FreeNAS system. I want people to be able to set the archive attribute, and a script will go through and change permissions for backups...blah blah.

The reason doesn't matter.

The point is, when creating a new file over CIFS/SAMBA, the new file has the Archive attribute set to true by default.

Is this normal behavior? Is it possible to set it to false by default?

The archive bit basically means "this file needs to be backed up". When a backup application goes through and backs it up, the bit gets cleared. When the file is modified, the bit gets set again.
 
Status
Not open for further replies.
Top