@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40



Comments:

<0> and the perms become drwxrwxrwt
<0> for /tmp
<1> k
<0> so what am i missing here
<1> nothing apparent, test it
<0> i did
<1> and?
<0> i already did a reboot
<0> it's drwxrwxrwt
<1> k
<1> can you exec a bin in /tmp?
<0> let's see
<1> as a non-root
<1> then as root
<0> permission denied
<0> not as root



<0> and with root as well
<1> excellent
<1> move on
<0> i don't get that
<0> but don't the perms need to be changed?
<1> it's the ,noexec
<1> nop, they're correct
<1> 777+t
<0> drwxrwxrwt?
<1> yep
<0> oh i see
<1> woohoo
<0> so /root and /home is the problem
<2> sshfs? sounds nice
<0> they're mounted with noatime,nodev only
<1> and the other options
<0> yea
<3> mount via ssh
<1> no{atime,dev,exec...etc}
<0> i have to do the mode now
<1> mode for what?
<4> me
<0> ok maybe i'm not understanding file perms
<0> but all i know is
<1> i think so
<4> ups, wrong window nerver mind
<1> me me me
<0> drwxrwxrwt = not good for /root and /home but good for /tmp
<0> right?
<1> chron, correct
<0> so these modes must be changed
<1> what are they?
<0> drwxrwxrwt
<0> i didn't change anything yet
<1> chron what is the porpose of what you're doin?
<0> nmode wise
<0> making sure the fileperms are correct
<0> default*
<1> is it a new dist?
<0> what it should be
<0> yes
<1> ok
<0> all my tmpfs mounts are looking this way
<1> what is the porpose of the dist?
<0> i can't say what the purpose is for now
<0> it's gentoo
<1> a temporary, non-invasive, no memory dist?
<1> no-storage
<0> yea
<1> ok
<0> but i still want the default perms
<0> it's supposed to be
<1> then /root and /home are on rd too?
<0> yea
<1> ok, root=750 (good practice), home=755
<0> alright cool
<0> and /var/log and /var/run and /var/tmp?
<0> they're all the same with the other folders in var right?
<0> or are they different?
<1> chown home to users



<1> root.users
<0> you know what i'm just going to
<0> extract the gentoo stage
<0> and then see the perms
<0> on another comp
<1> all of mine in /var are root.root
<0> yea same here
<1> most of /var/* is 755
<0> except that they're drwxrwxrwt
<0> ok i'm seeing what it looks like righ tnow
<5> 1775 ?
<0> exact default perms
<1> see, you have to consider that your setup is rd-temp -- that's a significant factor
<0> so basically chmod is changing the ------------ with triple numeric value
<0> right?
<1> is the dist a small or tiny dist?
<0> if you use a number instead of + -
<1> right {---]{3} == 0
<1> which means locked-out
<0> ok i need to read up on this
<1> chmod.1, and
<1> i'd review man7
<1> and chown.1 too
<1> chron, is the dist a small or tiny dist?
<0> for now since this is kinda urgent can you atleast tell me what drwx------- translates to?
<1> 700
<0> it's pretty small
<1> k
<1> so then there are going to be var/dirs that you can rmdir too
<1> and in usr possibly
<3> chmod: 4=(r)read, 2=(w)write, 1=execute(x)
<0> oh
<0> that easy
<1> heh
<3> just add them up...
<1> duh! heh
<0> and t?
<3> 0777 = read/write/execute all users
<0> i have to +t all the time?
<1> 1xxx
<1> chmod +t works
<0> whats the 0 in front?
<3> i've never really had to mess with the first chmod bit
<0> what is the d and t
<1> no {s{uid,gid,t}}
<1> d=dir
<6> whee, the Lyttle Lyyton contest deadline is coming up.
<0> ah so d gets set no matter what for dir's?
<7> the wha?
<3> so i always just use 0 for the first bit
<1> right
<5> s - sticky bit ?
<6> bronze: http://adamcadre.ac/lyttle.html
<0> so 0 for the first bit is more exact?
<7> infi_: whats that?
<1> yes, in part TestMonkey
<7> ok
<0> 0777 = 777
<1> yes
<0> ?
<0> ok i see
<3> yea, i'd have to read man chmod to remember what the first bit is
<3> but i do believe 0777 is 'more proper' than 777
<6> bronze: it's a fiction writing contest, where you write the first sentence to a novel. it is supposed to be the worst opening sentence for a book you could possibly imagine. some of the past winners are so excellently bad they make me cry.
<3> both work
<0> but why is it that only with tmpfs
<0> it changes these perms
<1> why what?
<1> "it" undefined
<5> the Linux kernel ignores the sticky bit on files
<5> hehe
<1> on scripts it's ignored
<1> and suid bins
<1> i think


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linux
or
Go to some related logs:

#lisp
#perl
paligamy
gobject io_add_watch fd
Inconsistency detected by ld.so: Assertion `page != ((void *) -1)' failed!
script windows 2000 mounted drive -network
Das machine is nicht fur gerfingerpoken
#physics
FC5 VFS cannot open root device VolGroup00
parsing a touple



Home  |  disclaimer  |  contact  |  submit quotes