Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filesystem of the keys #1

Open
Rafiot opened this issue Aug 2, 2013 · 0 comments
Open

Filesystem of the keys #1

Rafiot opened this issue Aug 2, 2013 · 0 comments
Labels

Comments

@Rafiot
Copy link
Owner

Rafiot commented Aug 2, 2013

Source key

Whatever the format of the key, the script needs the read rights (and only those one) for the copy. We might have to change the permissions as root.

Destination key

The copy only works if the destination key is formatted in vfat (fat32).

To support other file systems, we have to make sure the permissions are correct and the script has the proper rights to write on the stick.

The clean way to support it is to run different mount options based on the FS type, and if needed to run chown on the key.
Important thing there: making sure everybody can R/W all the documents on the output key: the user needs full right on thie key, whatever his uid/gid on his computer is: "other" on ext* has to be rw.

A nice to have is making sure the execution rights are removed from everything (except directories).

@Rafiot Rafiot mentioned this issue Aug 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant