Disallow chmod and chown
This commit is contained in:
parent
b23765b998
commit
2fe82ddf6f
|
@ -116,10 +116,12 @@ class StandardNotesFUSE(LoggingMixIn, Operations):
|
|||
return 0
|
||||
|
||||
def chmod(self, path, mode):
|
||||
return 0
|
||||
logging.error('chmod is disabled.')
|
||||
raise FuseOSError(errno.EPERM)
|
||||
|
||||
def chown(self, path, uid, gid):
|
||||
return 0
|
||||
logging.error('chown is disabled.')
|
||||
raise FuseOSError(errno.EPERM)
|
||||
|
||||
def destroy(self, path):
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user