看板 DFBSD_bugs 關於我們 聯絡資訊
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闣