Giter Site home page Giter Site logo

Comments (15)

jaromil avatar jaromil commented on May 22, 2024

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.

boyska avatar boyska commented on May 22, 2024

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.

jaromil avatar jaromil commented on May 22, 2024

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.

boyska avatar boyska commented on May 22, 2024

oops, it was -R sorry for the typo

from tomb.

jaromil avatar jaromil commented on May 22, 2024

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.

boyska avatar boyska commented on May 22, 2024

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.

jaromil avatar jaromil commented on May 22, 2024

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.

boyska avatar boyska commented on May 22, 2024

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.

jaromil avatar jaromil commented on May 22, 2024

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.

boyska avatar boyska commented on May 22, 2024

however i think the default should stay currently used ext3

of course it should

from tomb.

boyska avatar boyska commented on May 22, 2024

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.

jaromil avatar jaromil commented on May 22, 2024

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.

boyska avatar boyska commented on May 22, 2024

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.

boyska avatar boyska commented on May 22, 2024

957e820 seems to fix this. @jaromil can you confirm?

from tomb.

jaromil avatar jaromil commented on May 22, 2024

yes indeed, it was coded with this discussion in mind. thanks for your argumenting :^)

from tomb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.