USB mass storage devices are mounted with unsafe permissions
Bug #157094 reported by
GreatBunzinni
This bug report is a duplicate of:
Bug #14335: nautilus wants to execute all text files on vfat and ntfs drives.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
When a USB mass storage device (USB flash drive, USB external HD) is plugged in, the default file permissions of the files stored in those devices are (rwxr-xr-x), which apparently means that any file contained in an USB mass storage device may be executed in that system without a single problem. That doesn't sound very safe. Moreover, the "disk and filesystems" option from "System Settings" does not offer a single option to correct it.
It would be nice if the USB mass storage devices could be accessed without worrying about safety and system integrity
To post a comment you must log in.
Hi there
Which filesystem do you use on your external media to test this issue?, which version of Ubuntu are you using?
about the executable property, vfat and ntfs probably won't ever support unix permissions, so it always have the "x" permission, about the read and execute by the group and others, here i test with an ipod and usb external HD, both USB, and mount with permission "700" for the files and directories, not 755 like in your case.
Thanks in advance.