Project

General

Profile

Idea #7831

Updated by Tom Clegg over 8 years ago

h2. Background 

 arv-mount uses mode 0777 for files and directories. This is a bad combination when combined used together with @--allow-other@. 

 h2. Fix 

 arv-mount should accept a --mode argument as an octal number, with default 0755. 
 * Files should have this specified mode. 
 * Directories should have this specified mode, but with "x" added everywhere "r" exists. 

 For example, with --mode=0640, Maybe apply the user's umask to writable files will have mode 0640 and directories will have mode 0750. 

 h2. Optional/future work 

 Accept a --dir-mode argument, for cases where "same as --mode, but adding x wherever r exists" (which would still be the default) is not satisfactory. 
 directories?

Back