Linux Lite Forums
[Nearly SOLVED] Permissions in Thunar - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: General (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=4)
+--- Forum: Suggestions and Feedback (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=13)
+--- Thread: [Nearly SOLVED] Permissions in Thunar (/showthread.php?tid=1497)

Pages: 1 2


[Nearly SOLVED] Permissions in Thunar - ukbrian - 02-01-2015

When running the live DVD if I open thunar and I click on a partition in the sidebar it opens and displays the contents but after installing on a HDD and I do the same thing it asks for my password.

On other 14.04 distros the partitions are displayed unmounted but when you click on one it just auto mounts and displays the contents so I'm guessing the permissions ain't being set by the installer correctly.

Also as I've mentioned elsewhere the default keyboard is not being set by the installer it remains set as US keyboard. this again doesn't happen with other 14.04 versions.

I've added the UK keyboard and deleted the US one, rebooted and gone into keyboard settings, checked " Use system defaults" and it returns to the US settings.

Sorry if I come over as being negative but I feel these points should be addressed.

I like what your doing! you have attracted a strong loyal community, well done the team, good luck be with you all.
ukbrian

PS
I keep getting emails when I post a PM and I can't find where to turn them off, I've been through every profile option, I don't find the software very intuitive.


Re: Permissions in thunar - Valtam - 02-01-2015

(02-01-2015, 01:38 PM)ukbrian link Wrote: When running the live DVD if I open thunar and I click on a partition in the sidebar it opens and displays the contents but after installing on a HDD and I do the same thing it asks for my password.

On other 14.04 distros the partitions are displayed unmounted but when you click on one it just auto mounts and displays the contents so I'm guessing the permissions ain't being set by the installer correctly.

Where are you mounting your partitions? If you mount them in home, they won't need any permissions.

(02-01-2015, 01:38 PM)ukbrian link Wrote: Also as I've mentioned elsewhere the default keyboard is not being set by the installer it remains set as US keyboard. this again doesn't happen with other 14.04 versions.

I've added the UK keyboard and deleted the US one, rebooted and gone into keyboard settings, checked " Use system defaults" and it returns to the US settings.

We have seen your other post. I'm not sure why you're getting that, I have set mine up the same as yours and UK keyboard sticks after reboot no problem. Go through the language guide in the Help Manual slowly and carefully, it does work.

(02-01-2015, 01:38 PM)ukbrian link Wrote: Sorry if I come over as being negative but I feel these points should be addressed.

We don't have ego's here so as long as your criticism is constructive and polite, it will be valued and listened to.

(02-01-2015, 01:38 PM)ukbrian link Wrote: PS
I keep getting emails when I post a PM and I can't find where to turn them off, I've been through every profile option, I don't find the software very intuitive.

I've never looked at that before in my profile and I found it quite intuitive, on the left is Personal Messaging - click on that, then on the right select "Notify by email every time you receive a personal message: Never"


[Image: xUUdZnf.png]


Re: Permissions in thunar - bitsnpcs - 02-01-2015

Hello Jerry,
this left menu in the profile (or any other pages) is not visible by default.
Where at the top of the left menu it reads "Profile Info >>", it displays the profile page without this left menu.
This phrase "Profile Info >>",  where '>>' are arrows, the word doesn't appear but the two arrows do appear in the opposite direction like so '<<', they appear at the top right hand side of the page, above the black bar that reads Profile.
Clicking these arrows then makes the menu on the left hand side appear for future navigation/ editing.

To replicate the standard user view, if you click the arrows on the left menu where it reads "Profile Info >>", it will remove the menu for you and show how the page appears to users initially.


Re: Permissions in thunar - ukbrian - 02-02-2015

@bitsnpcs
well done that man!

That was the view I was looking for.

I did find another way to get there but your way is best and should be the default IMO
I bought Vbulletin but never used many years ago just to see what an admin could do to the screen forms.

@jerry
Quote:We don't have ego's here so as long as your criticism is constructive and polite, it will be valued and listened to.
The reply I expected! respect to you sir.

I'll reply to your post in more detail later, I'm enjoying myself copying my running LL onto a USB, booting from it and then installing to another HDD/partition.

I've done it a few times but I want to do it a few more times before I do a video.


Re: Permissions in thunar - bitsnpcs - 02-02-2015

Hello ukbrian,

glad I was able to give a little help back. Smile





Re: Permissions in thunar - ukbrian - 02-02-2015

(02-02-2015, 01:50 AM)bitsnpcs link Wrote: Hello ukbrian,
glad I was able to give a little help back. Smile
Thank you friend, very much appreciated.

It's 6:30 AM so I'm winding down now, just tidying things up.


Re: Permissions in thunar - Kirkx - 02-23-2015

Quote:Ukbrian:
On other 14.04 distros the partitions are displayed unmounted but when you click on one it just auto mounts and displays the contents so I'm guessing the permissions ain't being set by the installer correctly.

Quote:Jerry:
Where are you mounting your partitions? If you mount them in home, they won't need any permissions.

I have noticed the same thing. In Xubuntu when you left-click on a partition in Thunar (they are all shown in the left pane) it will just auto mount in:

Code:
/media/my-profile/

In LL a window pops up asking for the password, the auto-mounting is not enabled:

http://i.imgur.com/JhQAfQE.png


Re: Permissions in thunar - ukbrian - 02-23-2015

Add this line in your sudoer's file, it seems to do the job but I expect there's a more elegant solution but meanwhile.
"user" is my user name so use your own instead
Code:
user   ALL=NOPASSWD: /usr/bin/thunar



Re: Permissions in thunar - AustinTexas - 02-23-2015


You should not be making that change in /etc/sudoers
/etc/sudoers gets modified occasionally (upgrades - depending on how you do your upgrade) and you will lose your edits.
You will notice that the last line of the /etc/sudoers file is:
#includedir /etc/sudoers.d
The proper way to add "user  ALL=NOPASSWD: /usr/bin/thunar" is to open leafpad as root:
Code:
gksudo leafpad


Add your line to the new text document, save as /etc/sudoers.d/personal (You can name the file anything you like.)
In order to function correctly, the file has to have the correct permissions, so enter the command:
Code:
sudo chmod 0440 /etc/sudoers.d/personal

Also, if you mess up, you just delete your personal file, and sudoers remains intact.
Find the instructions here:
Code:
sudo cat /etc/sudoers.d/README



Re: Permissions in thunar - ukbrian - 02-24-2015

@Kirkx
Thanks friend
At one time if I opened gparted I ended up with 6 thunar windows opening on my desktop but then the penny dropped, I had my extenal hub/drive connected with a usb cable instead of my usual esata lead so I did this.
[Image: 8kxTOZem.png]

If you combine that with AustinTexas's quality advice, he must be a sysadmin or hardware network guy and use
Code:
user   ALL=NOPASSWD: /usr/bin/thunar
in the correct place rather than using visudo LL will behave normally like xUbuntu and Mint Xfce.

@AustinTexas
[Image: th_crying_zps5iqjspc9.gif]
I'm sorry I do try to remember things but there's so much to remember but what you say and the way you say it makes sense and avoides the use of visudo and the weird editor, I will do it the right way in future, I'll be a good boy.

Very good advice Bro
[Image: th_loveyou_zpskxxvbcxk.gif]

So for the final sudoers lesson, what's the best way to express what I do here, I don't want ever to be asked for a password and I have two launchers, one is "sudo reboot" and the other is "sudo halt" halt seems to be playing up with systemd.
Code:
user     ALL=NOPASSWD: /usr/sbin/gparted
user     ALL=NOPASSWD: /usr/sbin/synaptic
user   ALL=NOPASSWD: /usr/bin/thunar
user ALL=(ALL) NOPASSWD: ALL

I had this advice from secipolla when LMDE first started up, I like one click buttons on my desktop
Code:
secipolla
sudo visudo
me ALL=(root) NOPASSWD: /sbin/halt
me ALL=(root) NOPASSWD: /sbin/reboot
Thank you for giving me the only thing of any value we all have which is time, I'll try not to waste yours.
[Image: Enu2wxm.jpg]

I'm expecting to get a static isp shortly so I hope to put up a Mumble server which I used for a couple of weeks when Ikey launched Solus OS, he did a podcast, and it looks the next step along from skype to me.

Maybe Jerry should think about mumble for the forum and podcasts on his server.

heers Bro but I think us scooter kids are getting outnumbered by u bikers, there's at least 2 of you now counting that other TX man rokytnji, I'm off recruiting
[Image: C0Wr7Wim.jpg]