Comments (15)
related to #45
last discussion on mailinglist set forward the option to make FAT a default filesystem
downsides: tomb will be slower and less reliable, filenames can get scrambled
from tomb.
Another solution could be just using
chown user $mountpoint -T
when mounting the tomb. It could be a post-hook, but an option is maybe more appropriate. I'm not really sure on what to do.
EDIT: it was
chown user $mountpoint -R
from tomb.
On Thu, 27 Oct 2011, BoySka wrote:
Another solution could be just using
chown user $mountpoint -T
can you explain? i don't find any -T on the chown manual in debian 6
from tomb.
oops, it was -R
sorry for the typo
from tomb.
On Fri, 28 Oct 2011, BoySka wrote:
oops, it was
-R
sorry for the typo
ack. yea then i'm definitely in favour of this solution.
maybe it should be done in background.
also worth looking inside the chown command if it does i/o on every
file even is the permission is already set...
from tomb.
maybe it should be done in background.
No, it should not be automatically done. Because you may like to use a tomb on a single machine where the owner is not always the user who is mounting it. For example, a crazy man could use a tomb for /tmp
or who knows what.
also worth looking inside the chown command if it does i/o on every file even is the permission > is already set...
I suppose it does a stat and, if necessary, it changes it. Otherwise, the -c
option of chown could not work.
from tomb.
On Fri, 28 Oct 2011, BoySka wrote:
maybe it should be done in background.
No, it should not be automatically done. Because you may like to use
a tomb on a single machine where the owner is not always the user
who is mounting it. For example, a crazy man could use a tomb for
/tmp
or who knows what.
well yes, any use of tomb as a shared directory among many users, like
mounting tomb as /home, should preserve the configured
ownerships. actually is not that crazy to consider tomb can be used
into initrd scripts, or call me crazy while i do it :)
so good point. but then should that be also an optional flag?
and most importantly, are you giving up on VFAT? :) if yes, thanks! :D
I suppose it does a stat and, if necessary, it changes
it. Otherwise, the-c
option of chown could not work.
indeed.
from tomb.
and most importantly, are you giving up on VFAT? :) if yes, thanks! :D
No way! :P
Well, I'm trying to make tomb versatile. I'd like to add a --fs= to tomb, so that I could create my tombs with vfat. Often, it's just good that way.
But sometimes you can't/don't want, while like to make data moving easy. I want to address ALL that situations, because I need it ;)
from tomb.
On Sun, 30 Oct 2011, BoySka wrote:
and most importantly, are you giving up on VFAT? :) if yes, thanks! :D
No way! :P
eheh
Well, I'm trying to make tomb versatile. I'd like to add a
--fs= to tomb, so that I could create my tombs with
vfat. Often, it's just good that way.
ok, i'm also in favour of --filesystem
however i think the default should stay currently used ext3
from tomb.
however i think the default should stay currently used ext3
of course it should
from tomb.
btw, I've said "it could be a post-hook". I was wrong, it couldn't, because it needs sudo.
I propose a "permission-hook", so that tomb will automatically chown the tomb IF that file is present.
from tomb.
On Sat, 12 Nov 2011, BoySka wrote:
I propose a "permission-hook", so that tomb will automatically chown
the tomb IF that file is present.
why a hook rather than an option?
OK I answer myself: because is more of a tomb-dependent option, rather
than an environment dependent.
then the next question is:
why not a config file where such "hook switches" are configured?
and... any ideas for a tombish name for them ? :^)
ciao
from tomb.
why a hook rather than an option?
OK I answer myself: because is more of a tomb-dependent option, rather
than an environment dependent.
exactly.
why not a config file where such "hook switches" are configured?
Because we are lazy :P
I agree, but this will mean keeping retrocompatibility AND providing a
brand new way of doing things. If someone wants to create a simple way
for a (possibly complex) configuration file (.tombrc ? ), kudos. But
it's not my priority right now :)
and... any ideas for a tombish name for them ? :^)
I suggest "options" :P is it tombish enough?
ahah, you are the creative one. I am too nerd to give funny names.
from tomb.
957e820 seems to fix this. @jaromil can you confirm?
from tomb.
yes indeed, it was coded with this discussion in mind. thanks for your argumenting :^)
from tomb.
Related Issues (20)
- tomb complains about zramswap HOT 3
- btrfs on small tombs HOT 2
- Tomb 2.9.0 as root with smartcard [Bug? + Workaround] HOT 3
- Tomb `online / offline` command for LAN sharing via samba
- Question: How secure is storing the secret.tomb file along with they key file relying only on password?
- Support .wav file in bury/exhume mode which `steghide` already support HOT 3
- age support for key encryption
- mountpoint `/run/media/$USER` always with root ownership HOT 10
- `ctrl+c` not working to cancel `sudo` prompt
- Duplicate password prompt when `udiskie` was installed. HOT 1
- tomb index / search and mlocate HOT 2
- portable tomb on osx with fuse-t HOT 1
- How to properly avoid dozens of password prompt when using `--sudo doas`? HOT 10
- What is the purpose of `tomb-kdb-hexencode`? HOT 7
- Privilege Escalation HOT 9
- Could you add Portuguese (Brazilian) to Weblate for localization? HOT 1
- cloakify support: update to python3 HOT 4
- Translations help - perl or shell script? HOT 2
- tomb --version and tomb-kdb-pbkdf2 HOT 7
- I got error message "is_valid_tomb:local:57: not valid in this context: " when I ran the command "tomb lock -k secrets.tomb.key secrets.tomb" for testing. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tomb.