Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: chown in persistent home, seems to happen every boot< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 22 2008,17:33 QUOTE

I don't think you're following me, though. The issue is not who it's being chowned to, regardless of whether it's numeric or not.  The problem I'm having is that chown is being done at all. Once a persistent home is created, the chown should not ever be done after that, for that particular home directory.  So there is something else that needs to be fixed.  Whether it be in dsl-config or if there is something I need to change on my end I don't yet know, but as far as I can tell this has been happening only since DSL 4.something (maybe just 4.2).

I'll study dsl-config more closely and compare to older versions and see if I can find something.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 22 2008,19:12 QUOTE

I've gone through dsl-config several times, and it tells me I'm crazy.  The chown command shouldn't be running. The persistent home gets mounted properly, so the chown should never come into play.

I give up.
I'm just going to mount my persistent home from bootlocal like I used to until I find out what's going on. Considering I share a /home partition with another distro, doing it that way is more convenient anyway...I can set it up to mount hda4 to /home instead of binding hda4/home/dsl to /home/dsl


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 22 2008,22:40 QUOTE

When additional user support was added, additional scripts run at boot time in the rc level including /etc/init.d.desktop.lua and /etc/init.d/adduser_final.sh. Likely it is there that I need to check if a persistent home is used and then bail out.
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 23 2008,11:51 QUOTE

That information definitely helps =O)

There is a chown in desktop.lua, but it applies only to /opt/.mydsl_menu/

adduser_final.sh is the culprit. It chowns the home directory indiscriminately.

Sorry about the misplaced thread, by the way. It was originally a suggestion thread until I realized that I had misread dsl-config.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
florian Offline





Group: Members
Posts: 66
Joined: Dec. 2006
Posted: April 23 2008,14:18 QUOTE

Quote

To me this looks like chown occurs only if the home directory does not already exist, but for some reason it seems to happen every time I boot.  I had a suspicion this was happening, but never actually looked into it until this morning.  Everything in my home directory is dsl.staff, even though I know positively that yesterday it wasn't.


Just to confirm that I noticed a similar thing one or two months ago. On an old computer on which I used to boot a HD frugal DSL with a persistent home, I used to see everytime a few chown error message at start up before I could even login. Even though I was wondering what was going on, I didn't have a close look at the problem then.
Back to top
Profile PM WEB 
14 replies since April 22 2008,12:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: chown in persistent home

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code