XFCE/LXDE/MATE Desktops for ArchPup 13.2/13.2.1

A home for all kinds of Puppy related projects
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#61 Post by mavrothal »

stifiling wrote:
mavrothal wrote:I also noticed that some of the directories in your SFSs have 777 permissions!
i resolved this on the xfce and lxde desktops. i temporarily disabled the link on the kde one until i repair it.
Almost. But I'm guessing with a crude shortcut ("find . -type d -exec chmod 755 {} \;" or something...)
Now ALL the folders are 755 including /tmp that should be 777.
On the other hand ALL the files remain 777.
I'm afraid rebuilding the SFSs is the way to go here
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#62 Post by stifiling »

mavrothal wrote:Almost but I'm guessing with a crude shortcut!
Now ALL the folders are 755 including /tmp that should be 777.
On the other hand ALL the files remain 777.
I'm afraid rebuilding the SFSs is the way to go here
ok, so the folders should be 755, files 755, and /tmp 777?

or folders 755, files 777 and /tmp 777?

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#63 Post by mavrothal »

stifiling wrote:
mavrothal wrote:Almost but I'm guessing with a crude shortcut!
Now ALL the folders are 755 including /tmp that should be 777.
On the other hand ALL the files remain 777.
I'm afraid rebuilding the SFSs is the way to go here
ok, so the folders should be 755, files 755, and /tmp 777?

or folders 755, files 777 and /tmp 777?
folders: 755, /tmp: 777, files whatever is needed from 400 to 777.
Executables are usually 755, other files 644 or 664, symlinks 777 but there are more cases and files with other "sticky bits" etc. (crash course here :D )
That's why I said "rebuild", starting from the arch packages and arch2sfs
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#64 Post by simargl »

So that was causing wrong file permissions someone reported. It thought
problematic was some crappy pet package and mavrothal's script, and we
almost start a fight about this... :o

Someone could say "who cares for file/folder permission?" in root only system,
on the other side I very much disagree. It is major problem and big
annoyance, although it's easier to fix in Archpup than in a standard full install
linux, Stifiling please correct that, when you find time.

Not just NTFS, also FAT32 formatted disk sets all permissions to 777, but
this wouldn't have happened if you recreated sfs inside your savefile.
I would recommend resizing NTFS and making new ext4 partition, that would
be the best option. BTW, correct permissions for /tmp are 1777.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#65 Post by mavrothal »

simargl wrote:BTW, correct permissions for /tmp are 1777.
It is in the link I provided but sticky bits is the least of the problem and in a single user, root system, almost irrelevant.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#66 Post by simargl »

You forget about unprivileged user called arch :wink: , but np mav I know what you mean

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#67 Post by stifiling »

i just uploaded an updated xfce.sfs. could you guys give it a quick test drive, so i can be certain it's on par with the rest of the system...

i totally reinstalled all the packages, this time working from an ext3 partition.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#68 Post by mavrothal »

Can not for the next few hours.
If you want mount it and

Code: Select all

ls -lR /initrd/pup_a/* > dir_tree.txt
and attach it here or in a PM to take a look.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#69 Post by stifiling »

mavrothal wrote:Can not for the next few hours.
If you want mount it and

Code: Select all

ls -lR /initrd/pup_a/* > dir_tree.txt
and attach it here or in a PM to take a look.
the file is abt 1mb. had to use datafilehost..

dir_tree.txt

simargl

#70 Post by simargl »

I think it's fine now. To make sure just install some random package, and then remove it. If something is wrong pacman will complain.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#71 Post by mavrothal »

stifiling wrote:Can not for the next few hours.
If you want mount it and

Code: Select all

ls -lR /initrd/pup_a/* > dir_tree.txt
and attach it here or in a PM to take a look.
There are some minor issues (I think from older files you added) like desktop directories, images in the themes, filemnt, freememapplet_tray, rc.local some udev rules, xdg menus etc. The most important is /usr/bin/thunar. Should be 755.
stifiling wrote:the file is abt 1mb. had to use datafilehost..

dir_tree.txt
Gzipped is only 128K :wink:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#72 Post by stifiling »

mavrothal wrote:There are some minor issues (I think from older files you added) like desktop directories, images in the themes, filemnt, freememapplet_tray, rc.local some udev rules, xdg menus etc. The most important is /usr/bin/thunar. Should be 755.
should all the ones you've listed/all the ones i've manually added...be 755? how do you know what's suppose to be what? i looked at the page you linked to...but that's like an 'essay' worth of information.

simargl

#73 Post by simargl »

How did you manage to check all that so fast? I'm now on xp uploading
smaller (80Mb) iso image, so I just quickly looked and it seemed ok.

I like your attention to details, actually you're the reason why I returned to
this forum and released 13.2.1 version (planned to quit after 13.2)

New plan is, I'll make it until it's fun. And fun is to discover something where
mav was wrong like 1777 on /tmp, makes me feel good :lol: :lol:

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#74 Post by stifiling »

simargl wrote:And fun is to discover something where
mav was wrong like 1777 on /tmp, makes me feel good :lol: :lol:
lol..it's a rare occasion. i guess enjoy it while u've got the chance.

simargl

#75 Post by simargl »

I'm just fooling around while this thing uploads. mav is cool guy, do you know
where is he from, i thought first usa but he's name is greek. although maybe he wants to stay anonymous.
And stif where are you from, you cand send Pm if you want to
OMG upload crashed at 70% WITHOUT any reason :evil: :x .

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#76 Post by mavrothal »

simargl wrote:How did you manage to check all that so fast?

Code: Select all

cat dir_tree.txt | grep '-wrxwrxwrx' 
But the "find" in your text editor will do too :D
stifiling wrote: how do you know what's suppose to be what?
You can look at the other files in the directory :wink:
but executables (in .../(s)bin) 755, .png, .desktop etc 644
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#77 Post by stifiling »

simargl wrote:I'm just fooling around while this thing uploads. mav is cool guy, do you know
where is he from, i thought first usa but he's name is greek. although maybe he wants to stay anonymous.
And stif where are you from, you cand send Pm if you want to
From Detroit, MI, US
If you've ever seen Eminem's movie '8 Mile'...i'm from 6.
simargl wrote:OMG upload crashed at 70% WITHOUT any reason :evil: :x .
bad news, especially knowing how long it takes to upload them.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#78 Post by stifiling »

mavrothal wrote:You can look at the other files in the directory :wink:
but executables (in .../(s)bin) 755, .png, .desktop etc 644
ok i'm going to make the adjustments and upload again. i want it to be perfect as far as permissions go. i'll work on size after.

simargl

#79 Post by simargl »

stifiling wrote:bad news, especially knowing how long it takes to upload them.
Yeah, two more hours I guess (currently 14%). But then no more so frequent
updates.. because it is now very stable and mature .. right? Some addition may be provided as separate package,

I'm thinking about a control center - not just to set system language
and time zone, but also for panel setup like to choose horizontal/vertical
and changing panel launchers
Last edited by simargl on Tue 12 Feb 2013, 12:52, edited 1 time in total.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#80 Post by stifiling »

simargl wrote:Yeah, two more hours I guess (currently 14%). But then no more so frequent
updates.. because it is now very stable and mature .. right?
I agree, the system has advanced by a significant margin, from day one. When IcyOS does another review...i'm thinking the introduction won't be "Proceed with caution!" like it is on the current video.

Post Reply