Re: Setting up reportbug

2016-11-21 Thread Joe
On Sun, 20 Nov 2016 14:07:08 -0800
Gary Roach  wrote:

> I have tried several times to set up debians reportbug. I do not have
> an MTA installed and further I don't whant an MTA installed. I use
> Mozilla firebird (icedove) mail client and am a happy camper. But
> every time I try to report a bug, reportbug starts wanting an MTA.
> How do I get around this problem. Can I get around this problem. This
> account with verizon.net (aol now) is what I wish to use for all of
> my technical email.
> 

Give it the same MTA you gave Thunderbird. It doesn't have to be local.

-- 
Joe



Re: Setting up reportbug

2016-11-21 Thread Lisi Reisz
On Monday 21 November 2016 00:03:53 David Christensen wrote:
> If you answer the prompts in the right way, 'reportbug' will connect to
> a Debian mail server.

That gets entered during initial set-up.  Perhaps the OP could purge, making 
sure to get rid of all conf files, and then install again, and be careful to 
chose the Debian server.

Lisi



Re: imapsync and Debian. Yes we can!

2016-11-21 Thread Gilles LAMIRAL

Hi Daniel and everybody,

It's a reply for the Daniel's message
https://lists.debian.org/debian-user/2016/10/msg00481.html

I encounter the topic sometimes, how about imapsync back into Debian?

As the author of imapsync, my quick answer is yes, I would be pleased
to see imapsync brought back into Debian!

Now, for the guys who have time to read, I detail my answer below.

> But it  seems that  imapsync is  no longer  available in  the Debian
> repositories [2]  because the  developer was implementing  a payment
> model for  obtaining this  software and then  maybe he  thought that
> Debian could affect their income so he gave a resounding "No" [3] to
> continue distributing it. A very respectable decision, I think.

My final words on this discussion five years ago, in January 2011,
were:

"Do what you want, I promise I won't complain anymore about the
fact imapsync is on Debian or not."
It's here:
https://lists.debian.org/debian-legal/2011/01/msg00058.html

Those words are still available today and now I am also able to
transform the previous No in Yes. Even more: Yes, I would be proud to
see imapsync in Debian again!

So why I've changed my mind about imapsync in Debian? Well, the true
reason for my initial "No" was that imapsync in the current Debian of
those times was at least 2 years older than the current public
imapsync (that part is ok) and I was somehow fed up to receive Debian
users bugs reports directly about bugs already fixed upstream for a
long time.

The new business model was secondary since it was a try.  The free and
gratis github copy of imapsync started on the 12 March 2011, just one
month after imapsync was chosen to disappear from Debian Sid. Imapsync
disappearance in Debian was decided by its Debian packager, not by me,
not because of my "no" once clarified by the "do what you want", but
because the packager wanted to package only free and gratis software
from upstream, a respectable condition for someone also working for
free. He also asked me if I wanted to package imapsync in Debian
myself and I didn't take the charge.

Free, gratis, up to date imapsync download sites have always been
there, legally, fully permitted by the author in the license file or
directly. Imapsync has been packaged for a long time in Centos,
Fedora, Gentoo, ArchLinux, FreeBSD, OpenBSD. This has never weakened
my imapsync business, never.  I've now come to the following conclusion
about free software sales (and even non-free): If the price is fair
enough for them, people who want to buy buy, people who don't want to
buy don't buy, no matter the license. Think about when you do buy
software and when you don't, and why. Do it truly, don't fool
yourself.

> I was checking the official site [4] of imapsync and even though the
> developer seems  to have a  paid business  model, it seems  that the
> source code is still available. In fact he has documented the Debian
> installation process [5] and there he makes mention of downloading a
> tarball.  Although  I  do  not  see  a link  on  where  to  get  the
> tarball. Maybe I'm missing something?

The imapsync Debian installation document
[5] https://imapsync.lamiral.info/INSTALL.d/INSTALL.Debian.txt
says:

The license is now "No limits to do anything with this work and this
license".  Full dist/ is back to https://imapsync.lamiral.info/dist/

So feel free.

Feel free and get free imapsync at https://imapsync.lamiral.info/dist/
or at https://github.com/imapsync/imapsync

Debian folks will prefer github because of the systematic patch the
github maintainer applies, fixing the CVE
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4279
See
http://lamiral.info/~gilles/imapsync/#NUMBERS
for details about that issue.

> It seems that the license [6] has no restrictions
> For the current license, this could make it a candidate for
> incorporation in the Debian repositories again?

Yes!

Now some of my worries. Quoting
https://lists.debian.org/debian-user/2016/10/msg00482.html
"I am not going to even bother trying to understand if we can actually
distribute imapsync in Debian main given its very unusual license".

and
https://lists.debian.org/debian-user/2016/10/msg00483.html
"Yes, I agree that it is a somewhat strange license."

I thought that the complete license text, all contained in the simple
sentence "No limits to do anything with this work and this license",
was self-explanatory as one of the most free work license I ever
encountered in the universe.

I failed.

I see that I should write a FAQ about that sentence, explaining what
"no limits" means as well as "anything", maybe also "work" and
"license", a king of classic dictionary indeed. I took my time to
write that license, choosing words that could be understood by any
basic English speaker but I clearly missed this aim.

Now, seeing evidence that "No limits to do anything with this work and
this license" is not well understood, I really wonder, what any other
license longer than a single simple sentenc

Al Numow Residence - Comfort and Style

2016-11-21 Thread Vincci Property Management & Development
   

   
   

Not displaying correctly?   
https://zc1.campaign-view.com/ua/viewinbrowser?od=11287eca68e51e&rd=1280bc476a09e7ae&sd=1280bc476a097685&n=11699e4c1f0d323&mrd=1280bc476a097641&m=1
 View in Browser 
 

 
 
 
  
 
   

--
 
 
   

Please Visit Our Social Media 
 https://www.facebook.com/profile.php?id=100012871366054   
https://twitter.com/vinccire   https://www.instagram.com/vinccire/?hl=en 
We hope you like our newsletters. If you don't, simply  
https://zc1.maillist-manage.com/ua/optout?od=11287eca68e51e&rd=1280bc476a09e7ae&sd=1280bc476a097685&n=11699e4c1f0d323
  unsubscribe [ 
https://zc1.maillist-manage.com/ua/optout?od=11287eca68e51e&rd=1280bc476a09e7ae&sd=1280bc476a097685&n=11699e4c1f0d323
 ]. 
Message sent by YourName company: YourCompany LTD Company at Address, City. 
Phone
Number: +44 12 34567890, email: supp...@example.com, 
www.example.com Registration Number 1234567890. 
   
 



Re: Setting up reportbug

2016-11-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Nov 20, 2016 at 02:07:08PM -0800, Gary Roach wrote:
> I have tried several times to set up debians reportbug. I do not
> have an MTA installed and further I don't whant an MTA installed. I
> use Mozilla firebird (icedove) mail client and am a happy camper.
> But every time I try to report a bug, reportbug starts wanting an
> MTA. How do I get around this problem. Can I get around this
> problem. This account with verizon.net (aol now) is what I wish to
> use for all of my technical email.

Or just use the "-o FILE" option. This will generate a file named
FILE which you can *CAREFULLY* paste into your icedove.

Carefully, because FILE contains already mail headers: remove them
first and transfer the necessary ones (e.g.Subject). Do ask here
if you have any doubts.

The gory details are in the man page.

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgyw18ACgkQBcgs9XrR2kZccQCeIF1Tu6B8Pjyfkf0plQG5LN95
1LMAnig+o4cJOTslZBstBcLb2O4/Ln1t
=ATLG
-END PGP SIGNATURE-



Al Numow Residence - Comfort and Style

2016-11-21 Thread Vincci Property Management & Development
   

   
   

Not displaying correctly?   
https://zc1.campaign-view.com/ua/viewinbrowser?od=11287eca68e51e&rd=1280bc476a096aa0&sd=1280bc476a0973a9&n=11699e4c1c16d2e&mrd=1280bc476a097365&m=1
 View in Browser 
 

 
 
 
  
 
   

--
 
 
   

Please Visit Our Social Media 
 https://www.facebook.com/profile.php?id=100012871366054   
https://twitter.com/vinccire   https://www.instagram.com/vinccire/?hl=en 
We hope you like our newsletters. If you don't, simply  
https://zc1.maillist-manage.com/ua/optout?od=11287eca68e51e&rd=1280bc476a096aa0&sd=1280bc476a0973a9&n=11699e4c1c16d2e
  unsubscribe [ 
https://zc1.maillist-manage.com/ua/optout?od=11287eca68e51e&rd=1280bc476a096aa0&sd=1280bc476a0973a9&n=11699e4c1c16d2e
 ]. 
Message sent by YourName company: YourCompany LTD Company at Address, City. 
Phone
Number: +44 12 34567890, email: supp...@example.com, 
www.example.com Registration Number 1234567890. 
   
 



Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread Lisi Reisz
On Sunday 20 November 2016 20:54:17 Brian wrote:
[snip whole thread which doesn't match subject line]

The most frustrating thing about this whole thread, which I had been saving 
because I have a SANE problem (more later), and SANE problems are often to do 
with permissions, is that it has nothing *whatsoever* to do with SANE. :-(

It is about file permissions or USB key file permissions.  It is *not* about 
SANE. :-((

And it is obviously DE relevant anyway.

Lisi

Richard - Google "SANE" and "linux"



Re: [REPOST] Recovering when di misleads Synaptic et al.

2016-11-21 Thread Lisi Reisz
Why do we need three copies of this??
Lisi

On Saturday 19 November 2016 21:17:57 Richard Owlett wrote:
> This is *NOT* a bug report.
>
> I have a _USED_ laptop set aside for learning and experimentation.
> It has had as many as a half dozen clean installs in a single day ;/
> The CD drive has finally died [no plans to replace].
>
> With dd I have copied DVD 1 of Jessie to a USB flash drive.
> Install from the flash work fine.
>
> To add additional packages I must:
>
> richard@debian-jessie:~$ su -l
> Password:
> root@debian-jessie:~# gsettings set org.mate.media-handling
> automount false
> root@debian-jessie:~# mount -t iso9660 /dev/sdb /media/cdrom
>
> Any simplifications, perhaps with preseeding?
> TIA



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread Greg Wooledge
On Sat, Nov 19, 2016 at 12:51:58PM -0600, Richard Owlett wrote:
> I use fat16 and fat32 formatted USB flash drives

> When I plug one into my Debian machine I want totally unfettered 
> read/write access.
> [when logged in as root or *ANY* user ID]

You can't.

You have to be root to mount one of these things, or to edit the
/etc/fstab file to give an ordinary user the permission to mount one of
these things.

Didn't we tell you this multiple times over the last several weeks?
Yes, we did.

AS ROOT, you can determine the device name (which is dynamically
generated every time you plug it in), and then mount it with some
commands like:

mkdir -p /usb
mount -o uid=richard /dev/sdb1 /usb

Where /dev/sdb1 is the partition you want to mount, and /usb is a
directory you create specifically for the purpose of mounting the
device onto.  And "richard" is the username you want the files to
appear to be owned by.

ONCE IT IS MOUNTED, then user "richard" can read and write to the
files and directories.

To unmount it, you have to be root again.  And then it's simply:

umount /usb



Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread Eduardo M KALINOWSKI

On Seg, 21 Nov 2016, Lisi Reisz wrote:

The most frustrating thing about this whole thread, which I had been saving
because I have a SANE problem (more later), and SANE problems are often to do
with permissions, is that it has nothing *whatsoever* to do with SANE. :-(

It is about file permissions or USB key file permissions.  It is *not* about
SANE. :-((


Well, when the OP writes "sane" he does not mean sane the program, but  
rather that he wants reasonable or rational file permissions (see  
https://en.wiktionary.org/wiki/sane#Adjective ).


It's true that the subject could also be interpreted as "Coercing the  
permissions of files used by [the program] sane", but nevertheless  
what he wrote is perfectly correct, so don't berate him for that.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread Greg Wooledge
On Mon, Nov 21, 2016 at 01:26:45PM +, Eduardo M KALINOWSKI wrote:
> Well, when the OP writes "sane" he does not mean sane the program, but  
> rather that he wants reasonable or rational file permissions (see  
> https://en.wiktionary.org/wiki/sane#Adjective ).

I think, unfortunately, he actually means "I know what I want, and you
should know what I want, and I shouldn't have to explicitly say what
I wants, because everyone has the same background and experiences that
I do, so you all know what I mean without my saying it, right?"

After reading other responses in this massive thread, I come to a few
conclusions:

1) He wants auto-mounting of the inserted media, in the manner of Microsoft
   Windows.  I don't know how he expects to handle unmounting.

2) Apparently many Linux desktop environments offer this service, although
   nobody currently responding to this thread knows how they do this.
   It's voodoo.

3) My own previous response, coming from a no-desktop-environment viewpoint,
   was premature.  Everything I said was correct only in my own subset
   of the Debian world, where I use things that I understand and not
   voodoo desktop environments that nobody understands.



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread Darac Marjal

On Mon, Nov 21, 2016 at 08:18:39AM -0500, Greg Wooledge wrote:

On Sat, Nov 19, 2016 at 12:51:58PM -0600, Richard Owlett wrote:

I use fat16 and fat32 formatted USB flash drives



When I plug one into my Debian machine I want totally unfettered
read/write access.
[when logged in as root or *ANY* user ID]


You can't.

You have to be root to mount one of these things, or to edit the
/etc/fstab file to give an ordinary user the permission to mount one of
these things.


Let me restate this another way. Greg said "You have to be root to mount 
...". Another way to say this is "Only root can mount ...".


What's the difference? If you want to mount you can EITHER switch to 
root and issue a mount command as root, OR you can install something 
which runs AS ROOT and mounts the device automatically.


Now, I believe pmount was mentioned in this thread, as was udisks. These 
demons can be considered brokers. You ask them to mount the disk and 
they, running as root, mount the disk and set the appropriate 
permissions to your user.


There is another alternative that I just found, though. With a little 
hacking, you can get udev itself to mount the drive.


https://www.axllent.org/docs/view/auto-mounting-usb-storage/ shows a set 
of udev rules that will mount a vfat or ntfs USB stick to "/media/${File 
System ID or Label}", AND set the user permissions appropriately.


Pay appropriate attention to the line with "ENV{mount_options}=" in, 
though. Use the information elsewhere in this thread to set a sensible 
uid, gid and umask to get the permissions you require.




Didn't we tell you this multiple times over the last several weeks?
Yes, we did.

AS ROOT, you can determine the device name (which is dynamically
generated every time you plug it in), and then mount it with some
commands like:

mkdir -p /usb
mount -o uid=richard /dev/sdb1 /usb

Where /dev/sdb1 is the partition you want to mount, and /usb is a
directory you create specifically for the purpose of mounting the
device onto.  And "richard" is the username you want the files to
appear to be owned by.

ONCE IT IS MOUNTED, then user "richard" can read and write to the
files and directories.

To unmount it, you have to be root again.  And then it's simply:

umount /usb



--
For more information, please reread.



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread Darac Marjal

On Mon, Nov 21, 2016 at 01:53:25PM +, Darac Marjal wrote:

On Mon, Nov 21, 2016 at 08:18:39AM -0500, Greg Wooledge wrote:

On Sat, Nov 19, 2016 at 12:51:58PM -0600, Richard Owlett wrote:

I use fat16 and fat32 formatted USB flash drives



When I plug one into my Debian machine I want totally unfettered
read/write access.
[when logged in as root or *ANY* user ID]


You can't.

You have to be root to mount one of these things, or to edit the
/etc/fstab file to give an ordinary user the permission to mount one of
these things.


Let me restate this another way. Greg said "You have to be root to 
mount ...". Another way to say this is "Only root can mount ...".


What's the difference? If you want to mount you can EITHER switch to 
root and issue a mount command as root, OR you can install something 
which runs AS ROOT and mounts the device automatically.


Now, I believe pmount was mentioned in this thread, as was udisks. 
These demons can be considered brokers. You ask them to mount the disk 
and they, running as root, mount the disk and set the appropriate 
permissions to your user.


There is another alternative that I just found, though. With a little 
hacking, you can get udev itself to mount the drive.


https://www.axllent.org/docs/view/auto-mounting-usb-storage/ shows a 
set of udev rules that will mount a vfat or ntfs USB stick to 
"/media/${File System ID or Label}", AND set the user permissions 
appropriately.


Sorry, slight clarification as I read it again. It will mount ANY new 
device matching /dev/sd[a-z][0-9], but for vfat and ntfs drives it adds 
extra options to the mount command.



--
For more information, please reread.



Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Nov 21, 2016 at 08:34:42AM -0500, Greg Wooledge wrote:
> On Mon, Nov 21, 2016 at 01:26:45PM +, Eduardo M KALINOWSKI wrote:
> > Well, when the OP writes "sane" he does not mean sane the program, but  
> > rather that he wants reasonable or rational file permissions (see  
> > https://en.wiktionary.org/wiki/sane#Adjective ).
> 
> I think, unfortunately, he actually means "I know what I want, and you
> should know what I want, and I shouldn't have to explicitly say what
> I wants, because everyone has the same background and experiences that
> I do, so you all know what I mean without my saying it, right?"

Well paraphrased, albeit a bit biased. I think the discussion has the
potential to calibrate "our" expectations too.

> After reading other responses in this massive thread, I come to a few
> conclusions:
> 
> 1) He wants auto-mounting of the inserted media, in the manner of Microsoft
>Windows.  I don't know how he expects to handle unmounting.

I guess the way (Win)DOS has been doing since times immemorial: pull the
thing out and cope with the eventual corruption (yeah, I know Windows
has had a "safe eject" functionality for quite a while, but: how much
are people using it? and... the cultural roots hadn't it). But most DEs
have a button to "eject" the media (which really means unmount: now an
USB socket with a mechanical ejector would be really cool :-)

> 2) Apparently many Linux desktop environments offer this service, although
>nobody currently responding to this thread knows how they do this.
>It's voodoo.

Well: udisks was mentioned, and also pmount. Slowly we're getting the
pieces together. But you're right: DEs are (from my POV) horribly
inscrutable. That's one of the reasons I avoid them.

Sometimes I've to fix something for a customer (my most important customer
being my SO), and I'm invariably horrified at the Rube Goldberg quality
of those things. More frustrating is, it seems to be difficult to find
somebody who can point you to a rough sketch on how things work. But yes, YMMV.

> 3) My own previous response, coming from a no-desktop-environment viewpoint,
>was premature.  Everything I said was correct only in my own subset
>of the Debian world, where I use things that I understand and not
>voodoo desktop environments that nobody understands.

Yep. Seems we are on the same page there. Still I want to help users, even
those using voodoo, whithin my possibilities.

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgzAIkACgkQBcgs9XrR2kb1QgCeJD+/s259HrtLj/13ef8K5EOP
490An1WTIdt2uJxDkXe/V45o+Ia11u0g
=BXMq
-END PGP SIGNATURE-



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Nov 21, 2016 at 02:08:09PM +, Darac Marjal wrote:

[...]

> >https://www.axllent.org/docs/view/auto-mounting-usb-storage/ shows
> >a set of udev rules that will mount a vfat or ntfs USB stick to
> >"/media/${File System ID or Label}", AND set the user permissions
> >appropriately.
> 
> Sorry, slight clarification as I read it again. It will mount ANY
> new device matching /dev/sd[a-z][0-9], but for vfat and ntfs drives
> it adds extra options to the mount command.

Thanks for this one. This might be Richard's ultimate solution (albeit
a bit heavy-handed).

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgzAO4ACgkQBcgs9XrR2kYJSwCbB8mliA3lPbc239E3cuu6T7Ou
xv4An3OifvcIlXnPzAEotWFayGqt2kAK
=ObTz
-END PGP SIGNATURE-



Re: All settings are lost at logout

2016-11-21 Thread Kent West
On Sun, Nov 20, 2016 at 8:41 AM, <70147pers...@telia.com> wrote:

>
> A[fter a reinstall of Debian] all looked very fine, and I decided to
> restart the computer. The first observation was that suddenly all the
> devices defined and mounted in /etc/fstab appeared as icons on the desktop,
> and I could not remove them. Next was that all of my settings of Caja file
> manager were gone. I use to make some personal adaptation: first I prefer
> one mouse click to open a file from the icon, the list view instead of icon
> view and a few other options like these. Until now all of these settings
> has been saved and restored at every login, but now they are lost and has
> to be redone every time. The same deals with the wi-fi password, I have to
> write it in at every login.
>
> Next observation is that I can  add no program starters to the panel.
> Well, yes, I can add one starter, but no more, they do not appear there. I
> can remove the first icon, and add another one, but still just one.
> Creating them, even more than one, on the desktop causes no problem.
> If all these effects come from the same source I do not know, but I
> suspect they do. Some package might have unintentionally been removed, but
> if so I have not been able to find out which one. I have made reinstalls of
> al lot of them, e.g. mate-panel, but without any result.
> Could anyone find the common factor, I would appreciate it. If nothing
> else I will of course make a new reinstall, but it takes a good deal of
> time, and I feel it ought to be unnecessary.
>
> Regards
> Kaj
>
>
My first guess is that when you didn't wipe your /home partition, you
preserved your old home directory, and then logged in after the reinstall
with the same name but different user ID, which means not all of that
directory belongs to you.

I'd log out, switch to a VT (Ctrl-Alt-F2), log in as root, rename your user
directory (mv /home/kaj /home/kaj.bak), delete your current user (deluser
kaj), and then recreate your user (adduser kaj), so that you have a fresh
user directory.

This is only one of two or three ideas that come immediately to mind as a
way to deal with / test my theory that your user directory doesn't have the
correct perms, but they all boil down to suspecting your user directory
perms, and fixing them.

I doubt very seriously that a reinstall is needed.

-- 
Kent




-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Wine Enthusiasts List

2016-11-21 Thread Denise Baker


Hello,

Greetings of the day.

Checking if you'd be interested in taking a look at our *Wine 
Enthusiasts List* within USA ?


*Our Databases:-* *1.* Bee Enthusiasts List *2.* Spa and Resort Visitors 
List *3.* Liquor Enthusiasts List *4.* Beverage Enthusiasts List *5.* 
Skiers List *6.* Cruise Travelers List *7.* Camping Enthusiasts List and 
more..


The list of contacts are *opt-in verified* and can be used for unlimited 
multi-channel marketing.


*Information Fields:–* *Mailing Address,Contact Name (First, Middle and 
Last Name), List type and Opt-in email address.*


Could you please let me know your target audience. I will revert back 
with *cost and counts.*


Waiting for your valuable and sincere reply.

Thanks&Regards,
Denise Baker
Marketing Lead



Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread rhkramer
On Monday, November 21, 2016 09:11:21 AM to...@tuxteam.de wrote:
> On Mon, Nov 21, 2016 at 08:34:42AM -0500, Greg Wooledge wrote:
> > On Mon, Nov 21, 2016 at 01:26:45PM +, Eduardo M KALINOWSKI wrote:

> > 1) He wants auto-mounting of the inserted media, in the manner of
> > Microsoft
> > 
> >Windows.  I don't know how he expects to handle unmounting.



> > 2) Apparently many Linux desktop environments offer this service,
> > although
> > 
> >nobody currently responding to this thread knows how they do this.
> >It's voodoo.
> 
> Well: udisks was mentioned, and also pmount. Slowly we're getting the
> pieces together. But you're right: DEs are (from my POV) horribly
> inscrutable. That's one of the reasons I avoid them.

Just adding some  information to what I mentioned in an earlier post:

On my Wheezy machine, apparently udisks handles the mounting and unmounting of 
USB sticks (and maybe a lot more--running =udisks --dump= provides information 
on all my disks, including some health information from SMART.

As far as unmounting, if I right click on the device in the left hand pane / 
column of dolphin, the context menu gives me an option to "Safely remove "... 
Removable Media"'.

On my Jessie system, neither pmount nor udisks is installed, but udisks2 
apparently is, and I suspect it is what provides that functionality on Jessie.  
There does not seem to be a =udisks2 --dump= function.

Also, there is not an option to "Safely remove "... Removable Media"' when 
right clicking on the device in dolphin.

I try to make it a practice to run sync twice (and wait for it to return) 
before removing the pendrive.




Re: All settings are lost at logout

2016-11-21 Thread Kaj



Den 2016-11-21 15:53, skrev Kent West:
On Sun, Nov 20, 2016 at 8:41 AM, <70147pers...@telia.com  > > wrote: > > > A[fter a reinstall of 
Debian] all looked very fine, and I decided to > restart the computer. 
The first observation was that suddenly all the > devices defined and 
mounted in /etc/fstab appeared as icons on the > desktop, and I could 
not remove them. Next was that all of my > settings of Caja file manager 
were gone. I use to make some personal > adaptation: first I prefer one 
mouse click to open a file from the > icon, the list view instead of 
icon view and a few other options like > these. Until now all of these 
settings has been saved and restored at > every login, but now they are 
lost and has to be redone every time. > The same deals with the wi-fi 
password, I have to write it in at > every login. > > Next observation 
is that I can  add no program starters to the panel. > Well, yes, I can 
add one starter, but no more, they do not appear > there. I can remove 
the first icon, and add another one, but still > just one. Creating 
them, even more than one, on the desktop causes no > problem. If all 
these effects come from the same source I do not > know, but I suspect 
they do. Some package might have unintentionally > been removed, but if 
so I have not been able to find out which one. I > have made reinstalls 
of al lot of them, e.g. mate-panel, but without > any result. Could 
anyone find the common factor, I would appreciate > it. If nothing else 
I will of course make a new reinstall, but it > takes a good deal of 
time, and I feel it ought to be unnecessary. > > Regards Kaj > > > My 
first guess is that when you didn't wipe your /home partition, you > 
preserved your old home directory, and then logged in after the > 
reinstall with the same name but different user ID, which means not > 
all of that directory belongs to you. > > I'd log out, switch to a VT 
(Ctrl-Alt-F2), log in as root, rename > your user directory (mv 
/home/kaj /home/kaj.bak), delete your current > user (deluser kaj), and 
then recreate your user (adduser kaj), so > that you have a fresh user 
directory. > > This is only one of two or three ideas that come 
immediately to mind > as a way to deal with / test my theory that your 
user directory > doesn't have the correct perms, but they all boil down 
to suspecting > your user directory perms, and fixing them. > > I doubt 
very seriously that a reinstall is needed. > > -- Kent > > > > > -- Kent 
West<")))>< Westing Peacefully - > 
http://kentwest.blogspot.com


Hi Kent. Thank you for your answer.

A wee of your thoughts I have had myself. Among others I have earlier 
noticed that all these hidden config files residing in the home 
directory can give very confusing results when you install a previously 
used program in a new environment. So I tested to move all these hidden 
directories, all starting with a dot, into a specially created 
directory, in order to being able to put personal settings back when the 
problem is solved.  When running the different programs, you can see how 
they create new hidden directories to put their config files in.


So this I have tested without success. Next I have created a new user 
(test) with an own, new home directory. No success on that neither.


So I think that I have tested the essential parts in your suggestion, 
even if I have not been that drastic to clean my home directory completely.


One reason for my suspicion of a mistakenly removed program is that the 
removal of PulseAudio also took away of a lot of other programs, e.g. 
Gimp. Those I have had to lay back manually afterwards. Despite a lot of 
searching however, I have not found which program or service is lacking.


/Kaj



Re: All settings are lost at logout

2016-11-21 Thread Kent West
On Mon, Nov 21, 2016 at 9:39 AM, Kaj <70147pers...@telia.com> wrote:

>
>
> Den 2016-11-21 15:53, skrev Kent West:
> > On Sun, Nov 20, 2016 at 8:41 AM, <70147pers...@telia.com >
> <70147pers...@telia.com> 
> <70147pers...@telia.com>> wrote: > > > A[fter a reinstall of Debian] all
> looked very fine, and I decided to > restart the computer. The first
> observation was that suddenly all the > devices defined and mounted in
> /etc/fstab appeared as icons on the > desktop, and I could not remove them.
> Next was that all of my > settings of Caja file manager were gone. I use to
> make some personal > adaptation: first I prefer one mouse click to open a
> file from the > icon, the list view instead of icon view and a few other
> options like > these. Until now all of these settings has been saved and
> restored at > every login, but now they are lost and has to be redone every
> time. > The same deals with the wi-fi password, I have to write it in at >
> every login. > > Next observation is that I can  add no program starters to
> the panel. > Well, yes, I can add one starter, but no more, they do not
> appear > there. I can remove the first icon, and add another one, but still
> > just one. Creating them, even more than one, on the desktop causes no >
> problem. If all these effects come from the same source I do not > know,
> but I suspect they do. Some package might have unintentionally > been
> removed, but if so I have not been able to find out which one. I > have
> made reinstalls of al lot of them, e.g. mate-panel, but without > any
> result. Could anyone find the common factor, I would appreciate > it. If
> nothing else I will of course make a new reinstall, but it > takes a good
> deal of time, and I feel it ought to be unnecessary. > > Regards Kaj > > >
> My first guess is that when you didn't wipe your /home partition, you >
> preserved your old home directory, and then logged in after the > reinstall
> with the same name but different user ID, which means not > all of that
> directory belongs to you. > > I'd log out, switch to a VT (Ctrl-Alt-F2),
> log in as root, rename > your user directory (mv /home/kaj /home/kaj.bak),
> delete your current > user (deluser kaj), and then recreate your user
> (adduser kaj), so > that you have a fresh user directory. > > This is only
> one of two or three ideas that come immediately to mind > as a way to deal
> with / test my theory that your user directory > doesn't have the correct
> perms, but they all boil down to suspecting > your user directory perms,
> and fixing them. > > I doubt very seriously that a reinstall is needed. > >
> -- Kent > > > > > -- Kent West<")))>< Westing
> Peacefully - > http://kentwest.blogspot.com
>
> Hi Kent. Thank you for your answer.
>
> A wee of your thoughts I have had myself. Among others I have earlier
> noticed that all these hidden config files residing in the home directory
> can give very confusing results when you install a previously used program
> in a new environment. So I tested to move all these hidden directories, all
> starting with a dot, into a specially created directory, in order to being
> able to put personal settings back when the problem is solved.  When
> running the different programs, you can see how they create new hidden
> directories to put their config files in.
>
> So this I have tested without success. Next I have created a new user
> (test) with an own, new home directory. No success on that neither.
>
> So I think that I have tested the essential parts in your suggestion, even
> if I have not been that drastic to clean my home directory completely.
>
> One reason for my suspicion of a mistakenly removed program is that the
> removal of PulseAudio also took away of a lot of other programs, e.g. Gimp.
> Those I have had to lay back manually afterwards. Despite a lot of
> searching however, I have not found which program or service is lacking.
>
> /Kaj
>
>
I'd next try a different desktop environment ("sudo tasksel" might do the
job easily). If that works, you'll have a good indication that it has
something to do with MATE/Marco/Caja.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread Brian
On Mon 21 Nov 2016 at 10:37:33 -0500, rhkra...@gmail.com wrote:

> On my Jessie system, neither pmount nor udisks is installed, but udisks2 
> apparently is, and I suspect it is what provides that functionality on 
> Jessie.  
> There does not seem to be a =udisks2 --dump= function.

udisksctl dump

-- 
Brian.



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread Brian
On Mon 21 Nov 2016 at 15:13:02 +0100, to...@tuxteam.de wrote:

> On Mon, Nov 21, 2016 at 02:08:09PM +, Darac Marjal wrote:
> 
> [...]
> 
> > >https://www.axllent.org/docs/view/auto-mounting-usb-storage/ shows
> > >a set of udev rules that will mount a vfat or ntfs USB stick to
> > >"/media/${File System ID or Label}", AND set the user permissions
> > >appropriately.
> > 
> > Sorry, slight clarification as I read it again. It will mount ANY
> > new device matching /dev/sd[a-z][0-9], but for vfat and ntfs drives
> > it adds extra options to the mount command.
> 
> Thanks for this one. This might be Richard's ultimate solution (albeit
> a bit heavy-handed).

I cannot recollect or find any mention of the OP wanting to automount.
But, if it was required, there isudevil in Debian; no need to search
far and wide for a solution.

-- 

Brian.



Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread rhkramer
On Monday, November 21, 2016 11:25:13 AM Brian wrote:
> On Mon 21 Nov 2016 at 10:37:33 -0500, rhkra...@gmail.com wrote:
> > On my Jessie system, neither pmount nor udisks is installed, but udisks2
> > apparently is, and I suspect it is what provides that functionality on
> > Jessie. There does not seem to be a =udisks2 --dump= function.
> 
> udisksctl dump

Thanks!



Re: All settings are lost at logout

2016-11-21 Thread Gene Heskett
On Sunday 20 November 2016 09:41:10 70147pers...@telia.com wrote:

> After a journey in GNU/Linux for some years via Suse, Ubuntu and Linux
> Mint for Debian (LMDE) I finally decided to take the step into the
> master himself, Debian. So I downloaded the live ISO file and started
> the install process of Debian 8.6 with Mate and Marco window manager
> from a usb memory stick on my H-P laptop. The first try went quite
> well and the system came up running.
>
> But I made some mistakes when installing some programs, so I started
> it over in a clean reinstall. All partitions except the /home
> partition were reused but formatted. Also this time the "virgin"
> system was working well, and I started the job with installing all the
> applications I wanted.
>
> First, however, I installed the nVidia video driver, as I have never
> got Nouveau work as I want. I have an external screen connected via
> hdmi and that one has never got any image from Nouveau. Well this is
> another question, and despite quite a lot of effort to solve that, I
> have resigned and accept using nVidia which works quite well.
>
> Next thing to do before the application install process, was to remove
> the PulseAudio, which does note work very good together with some of
> the applications I want.
>
> So finally the turn had come to the real adaptation work. First I
> installed some music writing programs: LilyPond and Denemo, Ardour3
> and Jack. Next came Mozilla Thunderbird. And so it went on with, the
> GNU Emacs and a few other programs, all of which I have been using for
> many years without any problems.
>
> At this this stage all looked very fine, and I decided to restart the
> computer. The first observation was that suddenly all the devices
> defined and mounted in /etc/fstab appeared as icons on the desktop,
> and I could not remove them. Next was that all of my settings of Caja
> file manager were gone. I use to make some personal adaptation: first
> I prefer one mouse click to open a file from the icon, the list view
> instead of icon view and a few other options like these. Until now all
> of these settings has been saved and restored at every login, but now
> they are lost and has to be redone every time. The same deals with the
> wi-fi password, I have to write it in at every login.
>
> Next observation is that I can  add no program starters to the panel.
> Well, yes, I can add one starter, but no more, they do not appear
> there. I can remove the first icon, and add another one, but still
> just one. Creating them, even more than one, on the desktop causes no
> problem. If all these effects come from the same source I do not know,
> but I suspect they do. Some package might have unintentionally been
> removed, but if so I have not been able to find out which one. I have
> made reinstalls of al lot of them, e.g. mate-panel, but without any
> result. Could anyone find the common factor, I would appreciate it. If
> nothing else I will of course make a new reinstall, but it takes a
> good deal of time, and I feel it ought to be unnecessary.
>
> Regards
> Kaj

My first reaction when I run into a weird situation like this, is to 
assume that something in the path that you should own, has somehow 
become owned by root, which blocks your access.  Since "you" should own 
EVERYTHING in your /home/you directory, the first thing I would to is to 
do an empty "cd" to put you for sure at the top of your home directory.

Call up a terminal, and type:

cd
sudo chown -R yourusername:yourusername *

sudo of course will ask you for your password, and you must be in 
the /etc/sudoers file in order to do that.  If you are the first user 
added during the install, then you're already in this priviledged state.

That won't bring back whats missing but it will make it so that stored 
prefs can be stored and recovered the next time you login.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: All settings are lost at logout

2016-11-21 Thread Greg Wooledge
On Mon, Nov 21, 2016 at 11:53:35AM -0500, Gene Heskett wrote:
> Call up a terminal, and type:
> 
> cd
> sudo chown -R yourusername:yourusername *

This will miss the dot files, and the home directory itself.

sudo chown -R "$LOGNAME:$LOGNAME" .

And of course, you are doing this interactively, NOT in a script, which
means you should notice if the cd fails.  If the cd fails, DO NOT run
the chown command.

It would also be a good idea to *check* the ownerships of everything
before doing the chown, just to make sure you're solving the correct
problem.



Re: All settings are lost at logout

2016-11-21 Thread Brian
On Mon 21 Nov 2016 at 11:53:35 -0500, Gene Heskett wrote:

> sudo of course will ask you for your password, and you must be in 
> the /etc/sudoers file in order to do that.  If you are the first user 
> added during the install, then you're already in this priviledged state.

Only if there is no root password set during the install.

-- 
Brian.



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Nov 21, 2016 at 04:37:50PM +, Brian wrote:

[...]

> I cannot recollect or find any mention of the OP wanting to automount.

Not explicitly, sure. The point is, it was implicitly expected, because
for the OP, it's the "normal" thing. It Just Happens.

This sort of thing is what I meant by "recalibrating our expectations":
we are better able to help when we are better able to put ourselves
in the questioner's position.

> But, if it was required, there isudevil in Debian; no need to search
> far and wide for a solution.

Hm? My package search (and apt-file) turn empty on this.

thanks
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgzLGMACgkQBcgs9XrR2kbBTgCeMxfGHk3zGS92RQu0fvp1H6CZ
HT8An3AasC3MOBz4ShL2auIj0q6JsskD
=Okmw
-END PGP SIGNATURE-



Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread David Wright
Disclaimer: I have no idea what the subject of this thread is about.

On Mon 21 Nov 2016 at 15:11:21 (+0100), to...@tuxteam.de wrote:
> On Mon, Nov 21, 2016 at 08:34:42AM -0500, Greg Wooledge wrote:
> > On Mon, Nov 21, 2016 at 01:26:45PM +, Eduardo M KALINOWSKI wrote:
> > > Well, when the OP writes "sane" he does not mean sane the program, but  
> > > rather that he wants reasonable or rational file permissions (see  
> > > https://en.wiktionary.org/wiki/sane#Adjective ).
> > 
> > I think, unfortunately, he actually means "I know what I want, and you
> > should know what I want, and I shouldn't have to explicitly say what
> > I wants, because everyone has the same background and experiences that
> > I do, so you all know what I mean without my saying it, right?"
> 
> Well paraphrased, albeit a bit biased. I think the discussion has the
> potential to calibrate "our" expectations too.

Well, I know what my expectations are: to see an idiosyncratic problem
posed (it SHALL do this and that) and then see people slapped down for
not sticking to the precise conditions spelled out or implied by the OP,
should they make a suggestion that is probably more useful to others
having a similar (but not absolutely identical) problem.
The usefulness of many suggestions is limited, of course, by the OPs
insistence that a horse and cart is driven through the unix security
model merely because the OP never connects anything to the internet
(which is insane).

> > After reading other responses in this massive thread, I come to a few
> > conclusions:
> > 
> > 1) He wants auto-mounting of the inserted media, in the manner of Microsoft
> >Windows.  I don't know how he expects to handle unmounting.

As the OP always declares a desire to learn more, then it might be
appropriate to suggest writing a script running under root which
watches for any /dev/sd* devices to pop up, creates mount points,
appends lines to /etc/fstab (umask = 0, of course) and mounts them.
The script could sleep and loop or be run under cron.

> I guess the way (Win)DOS has been doing since times immemorial: pull the
> thing out and cope with the eventual corruption (yeah, I know Windows
> has had a "safe eject" functionality for quite a while, but: how much
> are people using it? and... the cultural roots hadn't it). But most DEs
> have a button to "eject" the media (which really means unmount: now an
> USB socket with a mechanical ejector would be really cool :-)

One could always reboot or, in the OP's case, reinstall Debian :)

> > 2) Apparently many Linux desktop environments offer this service, although
> >nobody currently responding to this thread knows how they do this.
> >It's voodoo.
> 
> Well: udisks was mentioned, and also pmount. Slowly we're getting the
> pieces together. But you're right: DEs are (from my POV) horribly
> inscrutable. That's one of the reasons I avoid them.
> 
> Sometimes I've to fix something for a customer (my most important customer
> being my SO), and I'm invariably horrified at the Rube Goldberg quality
> of those things. More frustrating is, it seems to be difficult to find
> somebody who can point you to a rough sketch on how things work. But yes, 
> YMMV.
> 
> > 3) My own previous response, coming from a no-desktop-environment viewpoint,
> >was premature.  Everything I said was correct only in my own subset
> >of the Debian world, where I use things that I understand and not
> >voodoo desktop environments that nobody understands.
> 
> Yep. Seems we are on the same page there. Still I want to help users, even
> those using voodoo, whithin my possibilities.

I'm not sure why the OP would want DE solutions. If you want to learn
how to troubleshoot car engines, you start with an old car, not with
one where about the only thing you can do when you lift the bonnet is
find that there's just room to plug into the computer diagnostic
socket (if that's where they go).

Cheers,
David.



Re: All settings are lost at logout

2016-11-21 Thread Gene Heskett
On Monday 21 November 2016 11:58:39 Greg Wooledge wrote:

> On Mon, Nov 21, 2016 at 11:53:35AM -0500, Gene Heskett wrote:
> > Call up a terminal, and type:
> >
> > cd
> > sudo chown -R yourusername:yourusername *
>
> This will miss the dot files, and the home directory itself.
>
> sudo chown -R "$LOGNAME:$LOGNAME" .
>
True, my bad.  OTOH, if he has somehow lost ownership of /home/him, he 
has a much larger problem, and he will need to become root and cd 
to /home, then use your command line verbatum, but I would first

echo $LOGNAME

To find out who the system really things he is.

> And of course, you are doing this interactively, NOT in a script,
> which means you should notice if the cd fails.  If the cd fails, DO
> NOT run the chown command.

Yep, he has much bigger problems in that event.

> It would also be a good idea to *check* the ownerships of everything
> before doing the chown, just to make sure you're solving the correct
> problem.

In my case thats around 35 Gb of stuff to sift thru as my email corpus 
goes back to around 2002 in some maildirs. Since I should absolutely own 
everything in my ~/usr directory, its just easier to let the system do 
it since it can't hurt anything.  I don't know of, or am not familiar 
with, any tool in our bag of tricks that could easily find the missed 
ownership(s).

Obviously the thought of doing that at the filesystems root = / would 
inflict damages similar to an rm -Rf. Common sense will be needed.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Problems with hibernation - randomly cannot resume [Solved?].

2016-11-21 Thread Kamil Jońca
Hugo Vanwoerkom  writes:

> On 11/17/2016 02:23 AM, Kamil Jońca wrote:
>> Debian sid laptop.
>> Recently I upgraded some packages.
>> And I have problem with hibernation (to disk).
>> When I turned on it resumes, but immediately restart.
>> Unfortunately it is not always. Sometimes it resumes properly.
>> What should I check/test etc?
>> KJ
>>
>
> I get this only with kernel 4.7.0-1.amd4. Try switching to
> 4.6.0-1-amd64 or 4.8.0-1-amd64.
Well, under other 4.8.0.1 all resumes were successfully so far.
Thanks.
KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/
I have had my television aerials removed.  It's the moral equivalent
of a prostate operation.
-- Malcolm Muggeridge



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread Brian
On Mon 21 Nov 2016 at 18:18:27 +0100, to...@tuxteam.de wrote:

> On Mon, Nov 21, 2016 at 04:37:50PM +, Brian wrote:
> 
> [...]
> 
> > I cannot recollect or find any mention of the OP wanting to automount.
> 
> Not explicitly, sure. The point is, it was implicitly expected, because
> for the OP, it's the "normal" thing. It Just Happens.

I have no idea what the OP's "normal" thing is when it comes to using
his computer. My expections (correct or not) are usually based on what
is said.

> This sort of thing is what I meant by "recalibrating our expectations":
> we are better able to help when we are better able to put ourselves
> in the questioner's position.

Someone deduced "He wants auto-mounting of the inserted media". The
evidence isn't there. Putting one's self in the a user's position is one
thing; putting words into his mouth is another.

> > But, if it was required, there isudevil in Debian; no need to search
> > far and wide for a solution.
> 
> Hm? My package search (and apt-file) turn empty on this.

udevil.

-- 
Brian.



Re: All settings are lost at logout

2016-11-21 Thread David Wright
On Mon 21 Nov 2016 at 12:23:49 (-0500), Gene Heskett wrote:
> On Monday 21 November 2016 11:58:39 Greg Wooledge wrote:
> 
> > On Mon, Nov 21, 2016 at 11:53:35AM -0500, Gene Heskett wrote:
> > > Call up a terminal, and type:
> > >
> > > cd
> > > sudo chown -R yourusername:yourusername *
> >
> > This will miss the dot files, and the home directory itself.
> >
> > sudo chown -R "$LOGNAME:$LOGNAME" .
> >
> True, my bad.  OTOH, if he has somehow lost ownership of /home/him, he 
> has a much larger problem, and he will need to become root and cd 
> to /home, then use your command line verbatum, but I would first
> 
> echo $LOGNAME
> 
> To find out who the system really things he is.
> 
> > And of course, you are doing this interactively, NOT in a script,
> > which means you should notice if the cd fails.  If the cd fails, DO
> > NOT run the chown command.
> 
> Yep, he has much bigger problems in that event.
> 
> > It would also be a good idea to *check* the ownerships of everything
> > before doing the chown, just to make sure you're solving the correct
> > problem.
> 
> In my case thats around 35 Gb of stuff to sift thru as my email corpus 
> goes back to around 2002 in some maildirs. Since I should absolutely own 
> everything in my ~/usr directory, its just easier to let the system do 
> it since it can't hurt anything.  I don't know of, or am not familiar 
> with, any tool in our bag of tricks that could easily find the missed 
> ownership(s).

Well, you could start from

# find / -mount -not -group 0 -exec ls -ld {} \; -o -not -user 0 -exec ls -ld 
{} \;

which is for listing all non-root.root files on a root filesystem.
Substitute an appropriate pathname for / and user number for 0.

> Obviously the thought of doing that at the filesystems root = / would 
> inflict damages similar to an rm -Rf. Common sense will be needed.

Cheers,
David.



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread Joe
On Mon, 21 Nov 2016 17:36:19 +
Brian  wrote:

> On Mon 21 Nov 2016 at 18:18:27 +0100, to...@tuxteam.de wrote:
> 
> > On Mon, Nov 21, 2016 at 04:37:50PM +, Brian wrote:
> > 
> > [...]
> >   
> > > I cannot recollect or find any mention of the OP wanting to
> > > automount.  
> > 
> > Not explicitly, sure. The point is, it was implicitly expected,
> > because for the OP, it's the "normal" thing. It Just Happens.  
> 
> I have no idea what the OP's "normal" thing is when it comes to using
> his computer. My expections (correct or not) are usually based on what
> is said.
> 
> > This sort of thing is what I meant by "recalibrating our
> > expectations": we are better able to help when we are better able
> > to put ourselves in the questioner's position.  
> 
> Someone deduced "He wants auto-mounting of the inserted media". The
> evidence isn't there. Putting one's self in the a user's position is
> one thing; putting words into his mouth is another.
> 

The requirement was for a non-root user to mount an arbitrary
FAT-formatted USB stick partition read-write in a predictable place.

One way of achieving this is to monitor /var/log/syslog while plugging
the drive in, observe how the OS identifies the drive, and use this
information to construct a mount statement to be typed into a
command window as root.

Or, since exactly the same procedure is necessary each time, it could
be done by a computer. The computer which the drive had just been
plugged into would be a good choice. Plug in a drive and a large button
appears on the screen, marked 'Mount the drive you just plugged in'.

While this does not actually constitute automounting, I suggest that it
differs by a single mouse click. And actually, I didn't deduce that
automounting was what the OP wanted, I said that it was what *I* had
working. The point was to demonstrate that software existed to do the
job the OP wanted done, even if I didn't see quite what software that
was.

-- 
Joe





Re: Coercing sane file permissions -- site specific

2016-11-21 Thread Brian
On Mon 21 Nov 2016 at 18:43:20 +, Joe wrote:

> On Mon, 21 Nov 2016 17:36:19 +
> Brian  wrote:
> 
> > Someone deduced "He wants auto-mounting of the inserted media". The
> > evidence isn't there. Putting one's self in the a user's position is
> > one thing; putting words into his mouth is another.
> 
> The requirement was for a non-root user to mount an arbitrary
> FAT-formatted USB stick partition read-write in a predictable place.

That is a fair summary. (The situation did become a little less clear
later on when Mate was mentioned).

> One way of achieving this is to monitor /var/log/syslog while plugging
> the drive in, observe how the OS identifies the drive, and use this
> information to construct a mount statement to be typed into a
> command window as root.

It's 2016; being root to get information about a plugged-in USB stick
and mount it is unnecessary.

> Or, since exactly the same procedure is necessary each time, it could
> be done by a computer. The computer which the drive had just been
> plugged into would be a good choice. Plug in a drive and a large button
> appears on the screen, marked 'Mount the drive you just plugged in'.
> 
> While this does not actually constitute automounting, I suggest that it
> differs by a single mouse click. And actually, I didn't deduce that
> automounting was what the OP wanted, I said that it was what *I* had
> working. The point was to demonstrate that software existed to do the
> job the OP wanted done, even if I didn't see quite what software that
> was.

The quote I gave (it's in double quotes) was not from one of your posts.
I understood exactly what you said and even responded to your
observation that a plugged in USB stick shows instantly in file managers
with a very short outline of what is involved. I'll flesh it out with
throwing dbus and udev into the mix. The thing about voodoo is that even
a hazy understanding of what it does removes its power.

-- 
Brian. 



Re: Coercing sane file permissions -- site specific

2016-11-21 Thread rhkramer
On Monday, November 21, 2016 02:39:04 PM Brian wrote:
> On Mon 21 Nov 2016 at 18:43:20 +, Joe wrote:
> > On Mon, 21 Nov 2016 17:36:19 +
> > 
> > Brian  wrote:
> > > Someone deduced "He wants auto-mounting of the inserted media". The
> > > evidence isn't there. Putting one's self in the a user's position is
> > > one thing; putting words into his mouth is another.

From the original post:


I use fat16 and fat32 formatted USB flash drives for EXACTLY 
ONE purpose.
It is to transfer data to/from a Windows machine.
There is NO [nor will there ever be] a network connection between 
them.

When I plug one into my Debian machine I want totally unfettered 
read/write access.
[when logged in as root or ANY user ID]


HOW?
{any one notice a tone of frustration ;/}


I don't see any mention of mounting, thus I conclude he doesn't expect to 
mount, i.e., he expects automount.

(When does he expect unfettered access?  When he plugs one into his machine,  
not after he mounts it.)

(Aside: I should probably avoid posting when I have a significant (or maybe 
any) headache...--I apparently get grouchy ;-)



Network Manager - network interfaces issue KDE

2016-11-21 Thread Karagkiaouris Diamantis

Dear All,


I have encountered an issue with Network Interfaces on Debian Testing 
with KDE-Plasma 5.8.2. If a pc change fast the type of connection 
between a lan and a wlan, NewtorkManager cannot address the change and 
although there is an ip for both interfaces you will not have access to 
internet. What i have done is to set the parameter *managed=true* on 
*/etc/NetworkManager/NetworkManager.conf* and then *systemctl restart 
NetworkManager* to take into account the change.



I just wanted to report it in case someone else faced it.

Kind Regards,
Diamantis



Re: hplip and use of the "driver plugin"

2016-11-21 Thread Lisi Reisz
On Saturday 19 November 2016 18:02:24 Jape Person wrote:
> For my "new" printer, maybe I should just find a
> way to put that old LaserJet directly on the network.

Install CUPS, client and server, on all the machines on your network, attach 
the printer to one of the machines (a dedicated printer server if you wish), 
and tell CUPS on that machine to share it. 

Or does tahat not count as directly?  I know it works.  I am currently doing 
it with a non-network printer. 

Lisi



Re: All settings are lost at logout

2016-11-21 Thread Kaj



Den 2016-11-21 17:18, skrev Kent West:

On Mon, Nov 21, 2016 at 9:39 AM, Kaj <70147pers...@telia.com
> wrote:



Den 2016-11-21 15:53, skrev Kent West:
> On Sun, Nov 20, 2016 at 8:41 AM, <70147pers...@telia.com > 

 >
wrote: > > > A[fter a reinstall of Debian] all looked very fine, and
I decided to > restart the computer. The first observation was that
suddenly all the > devices defined and mounted in /etc/fstab
appeared as icons on the > desktop, and I could not remove them.
Next was that all of my > settings of Caja file manager were gone. I
use to make some personal > adaptation: first I prefer one mouse
click to open a file from the > icon, the list view instead of icon
view and a few other options like > these. Until now all of these
settings has been saved and restored at > every login, but now they
are lost and has to be redone every time. > The same deals with the
wi-fi password, I have to write it in at > every login. > > Next
observation is that I can  add no program starters to the panel. >
Well, yes, I can add one starter, but no more, they do not appear >
there. I can remove the first icon, and add another one, but still >
just one. Creating them, even more than one, on the desktop causes
no > problem. If all these effects come from the same source I do
not > know, but I suspect they do. Some package might have
unintentionally > been removed, but if so I have not been able to
find out which one. I > have made reinstalls of al lot of them, e.g.
mate-panel, but without > any result. Could anyone find the common
factor, I would appreciate > it. If nothing else I will of course
make a new reinstall, but it > takes a good deal of time, and I feel
it ought to be unnecessary. > > Regards Kaj > > > My first guess is
that when you didn't wipe your /home partition, you > preserved your
old home directory, and then logged in after the > reinstall with
the same name but different user ID, which means not > all of that
directory belongs to you. > > I'd log out, switch to a VT
(Ctrl-Alt-F2), log in as root, rename > your user directory (mv
/home/kaj /home/kaj.bak), delete your current > user (deluser kaj),
and then recreate your user (adduser kaj), so > that you have a
fresh user directory. > > This is only one of two or three ideas
that come immediately to mind > as a way to deal with / test my
theory that your user directory > doesn't have the correct perms,
but they all boil down to suspecting > your user directory perms,
and fixing them. > > I doubt very seriously that a reinstall is
needed. > > -- Kent > > > > > -- Kent West
<")))>< Westing Peacefully - > http://kentwest.blogspot.com

Hi Kent. Thank you for your answer.

A wee of your thoughts I have had myself. Among others I have
earlier noticed that all these hidden config files residing in the
home directory can give very confusing results when you install a
previously used program in a new environment. So I tested to move
all these hidden directories, all starting with a dot, into a
specially created directory, in order to being able to put personal
settings back when the problem is solved.  When running the
different programs, you can see how they create new hidden
directories to put their config files in.

So this I have tested without success. Next I have created a new
user (test) with an own, new home directory. No success on that
neither.

So I think that I have tested the essential parts in your
suggestion, even if I have not been that drastic to clean my home
directory completely.

One reason for my suspicion of a mistakenly removed program is that
the removal of PulseAudio also took away of a lot of other programs,
e.g. Gimp. Those I have had to lay back manually afterwards. Despite
a lot of searching however, I have not found which program or
service is lacking.

/Kaj


I'd next try a different desktop environment ("sudo tasksel" might do
the job easily). If that works, you'll have a good indication that it
has something to do with MATE/Marco/Caja.


--
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Thank you Kent for the hints on how to solve my problem. Well now I have 
stepped out on unknown ground. I had never had any reason to use this 
program tasksel, and hence knew nothing about it. But well, after 
reading the man page, I gave it a try, and installed the LXDE 
environment. After reboot I found that most of, maybe every, program I 
had installed in Mate is here too. Maybe not so strange, but a welcome 
observation. So far I have not tested all these, so I do not know if 
they also behave the same as in the old environment

Re: All settings are lost at logout

2016-11-21 Thread Lisi Reisz
On Monday 21 November 2016 23:34:06 Kaj wrote:
> Den 2016-11-21 17:18, skrev Kent West:
> > On Mon, Nov 21, 2016 at 9:39 AM, Kaj <70147pers...@telia.com
> > > wrote:
> >
> > Den 2016-11-21 15:53, skrev Kent West:
> > > On Sun, Nov 20, 2016 at 8:41 AM, <70147pers...@telia.com >
> > > 
> >
> >  >
> > wrote: > > > A[fter a reinstall of Debian] all looked very fine, and
> > I decided to > restart the computer. The first observation was that
> > suddenly all the > devices defined and mounted in /etc/fstab
> > appeared as icons on the > desktop, and I could not remove them.
> > Next was that all of my > settings of Caja file manager were gone. I
> > use to make some personal > adaptation: first I prefer one mouse
> > click to open a file from the > icon, the list view instead of icon
> > view and a few other options like > these. Until now all of these
> > settings has been saved and restored at > every login, but now they
> > are lost and has to be redone every time. > The same deals with the
> > wi-fi password, I have to write it in at > every login. > > Next
> > observation is that I can  add no program starters to the panel. >
> > Well, yes, I can add one starter, but no more, they do not appear >
> > there. I can remove the first icon, and add another one, but still >
> > just one. Creating them, even more than one, on the desktop causes
> > no > problem. If all these effects come from the same source I do
> > not > know, but I suspect they do. Some package might have
> > unintentionally > been removed, but if so I have not been able to
> > find out which one. I > have made reinstalls of al lot of them, e.g.
> > mate-panel, but without > any result. Could anyone find the common
> > factor, I would appreciate > it. If nothing else I will of course
> > make a new reinstall, but it > takes a good deal of time, and I feel
> > it ought to be unnecessary. > > Regards Kaj > > > My first guess is
> > that when you didn't wipe your /home partition, you > preserved your
> > old home directory, and then logged in after the > reinstall with
> > the same name but different user ID, which means not > all of that
> > directory belongs to you. > > I'd log out, switch to a VT
> > (Ctrl-Alt-F2), log in as root, rename > your user directory (mv
> > /home/kaj /home/kaj.bak), delete your current > user (deluser kaj),
> > and then recreate your user (adduser kaj), so > that you have a
> > fresh user directory. > > This is only one of two or three ideas
> > that come immediately to mind > as a way to deal with / test my
> > theory that your user directory > doesn't have the correct perms,
> > but they all boil down to suspecting > your user directory perms,
> > and fixing them. > > I doubt very seriously that a reinstall is
> > needed. > > -- Kent > > > > > -- Kent West
> > <")))>< Westing Peacefully - > http://kentwest.blogspot.com
> >
> > Hi Kent. Thank you for your answer.
> >
> > A wee of your thoughts I have had myself. Among others I have
> > earlier noticed that all these hidden config files residing in the
> > home directory can give very confusing results when you install a
> > previously used program in a new environment. So I tested to move
> > all these hidden directories, all starting with a dot, into a
> > specially created directory, in order to being able to put personal
> > settings back when the problem is solved.  When running the
> > different programs, you can see how they create new hidden
> > directories to put their config files in.
> >
> > So this I have tested without success. Next I have created a new
> > user (test) with an own, new home directory. No success on that
> > neither.
> >
> > So I think that I have tested the essential parts in your
> > suggestion, even if I have not been that drastic to clean my home
> > directory completely.
> >
> > One reason for my suspicion of a mistakenly removed program is that
> > the removal of PulseAudio also took away of a lot of other programs,
> > e.g. Gimp. Those I have had to lay back manually afterwards. Despite
> > a lot of searching however, I have not found which program or
> > service is lacking.
> >
> > /Kaj
> >
> >
> > I'd next try a different desktop environment ("sudo tasksel" might do
> > the job easily). If that works, you'll have a good indication that it
> > has something to do with MATE/Marco/Caja.
> >
> >
> > --
> > Kent West<")))><
> > Westing Peacefully - http://kentwest.blogspot.com
>
> Thank you Kent for the hints on how to solve my problem. Well now I have
> stepped out on unknown ground. I had never had any reason to use this
> program tasksel, and h

Re: JACK Audio Connection Kit

2016-11-21 Thread kamaraju kusumanchi
On Tue, Nov 15, 2016 at 1:38 PM, Ric Moore  wrote:
> Is there some reason removing the libjack-jackd2-0 package removes
> everything audio/video and the kitchen sink??
>
> The following packages will be REMOVED:
>   buzztrax cheese clementine cube2 espeak ffmpeg flare-engine flare-game
>   fluidsynth giada gir1.2-cheese-3.0 gmidimonitor gnome-video-effects
>   gstreamer1.0-plugins-bad gstreamer1.0-plugins-good indicator-sound
>   libasound2-plugins libavdevice57 libcanberra-pulse libcheese-gtk25
>   libcheese8 libespeak1 libfarstream-0.2-5 libfluidsynth1 libjack-jackd2-0
>   libportaudio2 libpurple-bin libpurple0 librtmidi3 libsdl-mixer1.2
>   libsdl-mixer1.2-dev libsdl2-mixer-2.0-0 libsdl2-mixer-dev libxine2
>   libxine2-misc-plugins libxine2-plugins midisnoop milkytracker mpg123 osspd
>   osspd-pulseaudio petri-foo pidgin pidgin-libnotify projectm-pulseaudio
>   pulseaudio pulseaudio-esound-compat qmidiarp qsynth redeclipse sauerbraten
>   sdlbasic sdlbrt seq24 showq soundconverter speech-dispatcher timidity
>   timidity-daemon widelands xine-ui xubuntu-core xubuntu-desktop yoshimi
> 0 upgraded, 0 newly installed, 64 to remove and 0 not upgraded.
> After this operation, 924 MB disk space will be freed.
> Do you want to continue? [Y/n]
>
> Damn, that is a LOT!
>

To recursively list all packages that are installed on a system and
are dependencies of a package, you can do

apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME

Run the above command with PKGNAME as libjack-jackd2-0 and it should
give you an idea of why the package manager is trying to remove so
many packages.

hth
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: Debian v-8.5.0 Problem with Synaptic.

2016-11-21 Thread kamaraju kusumanchi
On Thu, Nov 17, 2016 at 3:30 PM, S. P. Molnar  wrote:
>
> I am running Debian v-8.5.0 and am having a problem with Synaptic.
>
> I get an error:
>
> E: jre1.8.0-112: subprocess installed post-removal script returned error
> exit status 127
>
> when I attempt an installation.
>
> Apparently the version of jre was not completely removed.
>
> How do I solve this problem?

This does not seem like a bug in synaptic but rather with the
package(s) that you were trying to operate upon. To help you better
please

1) list the steps to reproduce the issue
2) show the output of inxi -r

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: Problem upgrading bluez

2016-11-21 Thread kamaraju kusumanchi
On Sat, Nov 19, 2016 at 11:07 PM, MENGUAL Jean-Philippe
 wrote:
> Hi,
>
> Upgrading bluez/bluetooth packages fails on testing with:
> bluetoothd[14901]: D-Bus setup failed: Failed to connect to socket
> /var/run/dbus/system_bus_socket: Permission denied
>
> Permissions on the file are srw-rw-rw- 1 root root
>
> I've ii  libapparmor1:amd64  2.10.95-6 and ii
> libselinux1:amd64   2.6-3
>

Sounds like a bug to me. Try reinstalling that package (sudo apt-get
install --reinstall PKGNAME). If the error still occurs, please report
it. You can use reportbug to report bugs in packages.

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: Why? -- "A Modest Proposal"

2016-11-21 Thread kamaraju kusumanchi
On Thu, Nov 17, 2016 at 9:41 AM, Richard Owlett  wrote:
> I know nothing of the quality of code produced by these projects, nor of its
> monetary value. None of the SOC projects I've seen mentioned in various fora
> have been of more than passing interest.
>

It is interesting that you brought this up. Just today I came to know
that scikit-learn [1], a very popular python library among people
working on machine learning applications started out as a Google
Summer of Code project.

[1] - https://en.wikipedia.org/wiki/Scikit-learn

hth
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: Why? -- "A Modest Proposal"

2016-11-21 Thread kamaraju kusumanchi
On Wed, Nov 16, 2016 at 9:13 AM, Richard Owlett  wrote:
> There exist SOC  projects to encourage/mentor fledgling
> programmers.
> Considering the state of documentation, esp man pages, why no SOD  Documentation> projects for potential tech writers.
>
> In many areas, nerds are considered illiterate. I can see SOD projects as a
> vehicle to encourage technically oriented teens to hone their composition
> skills. Attempting to edit existing man pages might be a good starting
> point. It would obviously require mentors with an atypical mixture of skill
> sets.
>

One side note. IMHO man pages/info pages have a huge barrier of entry.
You have to learn a new language to write one and that can be
discouraging to some. Ideally, a documentation developer would just
focus on the content and does not spend much time on the meta aspects
of documentation (ex:- typesetting/formatting etc.,). From this
aspect, a wiki is an ideal way to document something... but may be
there are better tools out there that I am unaware of.

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: JACK Audio Connection Kit

2016-11-21 Thread Ric Moore

On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:

apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME



It lists just a couple of base packages. So, why would it want to remove 
half of mmy installed desktop? It's the same with firefox. What gives?? Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html