msdosfs permissions

看板DFBSD_bugs作者時間21年前 (2005/04/09 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
Not sure if this is a bug or a feature, but I thing it's wrong. When mounting a msdos-slice the permissions, owner and ownergroup is set to the same as the directory it is mounted on. This means that all files will have execute-permissions for at least the owner of the directory (since a directory needs this permission for the user to be able to cd into it). All these properties can be overridden with options to mount_msdos, however if passing a permission-maks of 644 all this applies to both files and directories on the slice, and also on the directory the slice is mounted on됬 whit the result that all non-root users can't cd into that directory or any of the sub-directories. The more logical thing would be to have either two permission-masks, one for files and another for directories, or to give directories execution-permission by default regardless of the mask. -- Erik Wikstr闣
文章代碼(AID): #12Liuh00 (DFBSD_bugs)
文章代碼(AID): #12Liuh00 (DFBSD_bugs)