Choose style:

Author Topic: Executing files on the external harddrive  (Read 1256 times)

0 Members and 1 Guest are viewing this topic.

Offline susavane

  • nOOb
  • *
  • Posts: 13
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4
Executing files on the external harddrive
« on: September 09, 2014, 06:06:40 am »
Hi Peppermint helpers,
how can I execute files like for example "SuperFlexibleSynchronizer" when they are stored on an external device?
It works when I copy the application to my home folder. But if it stays on the external I can't set any permissions.
Thank you in advance,  greetings,
Susanne
 :-X

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Executing files on the external harddrive
« Reply #1 on: September 09, 2014, 07:19:10 am »
You have a few options

A) Take ownership of the executable
(assuming your username is susavane)
Code: [Select]
sudo chown susavane:susavane /full/path/to/executable

B) Change ownership for the entire external HDD
Code: [Select]
sudo chown -R susavane:susavane /path/to mountoint

C) Modify the permissions for the executable so anyone can read/write/execute
Code: [Select]
sudo chmod 777 /full/path/to/executable

D) Change permissions for the entire external HDD so veryone has read/write/execute permission
Code: [Select]
sudo chmod 777 -R /path/to mountoint
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline susavane

  • nOOb
  • *
  • Posts: 13
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4
Re: Executing files on the external harddrive
« Reply #2 on: September 10, 2014, 11:36:36 am »
HI PCNetSpec,
thank you for your quick answer.
I tried to use the second and the fourth command to have the permissions for the entire external HDD
"chown -R susanne:susanne /media/susanne/Transcend" and then
"sudo chmod 777 -R /media/susanne/Transcend"
But nothing changed in the behaviour of the application.
Or what did you mean with "/path/to/mountoint", ist ist not the path to the external drive?
Greetings,
Susanne

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26082
  • Karma: 2842
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Executing files on the external harddrive
« Reply #3 on: September 10, 2014, 12:44:28 pm »
What's the output from:
Code: [Select]
ls -al /media/susanne/Transcend
and
Code: [Select]
mount

Is this card ALWAYS going to be attached to the Peppermint PC ?
and
Does it need to be readable by another OS (such as Windows) ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec