![]() |
|
|
#12 |
|
Jun 2010
Pennsylvania
2·467 Posts |
Thank you... still getting "Permission denied" even after doing the chmod and then the chown commands.
Possibly related: I discovered that I could right-click on the mprime icon to get the Properties, but when I put a check mark next to "Allow executing file as program," the check mark disappears right away. I'm wondering if I need to actually install Zorin OS on some kind of drive before any of this works. (Currently running it on a live DVD -- not a CD as I wrote before.) Rodrigo EDIT: I wrote that and then EdH's post appeared after I submitted mine. Last fiddled with by Rodrigo on 2013-11-06 at 21:20 Reason: add comment on EdH |
|
|
|
|
|
#13 |
|
Sep 2002
Database er0rr
3,739 Posts |
Can you do
Code:
ls -l Also, please post the output of Code:
cat /etc/mtab Last fiddled with by paulunderwood on 2013-11-06 at 22:25 |
|
|
|
|
|
#14 |
|
Jun 2010
Pennsylvania
3A616 Posts |
OK, I'll do that as soon as I figure out how to redirect the terminal output to a file. I knew how to do that in MS-DOS. It'll be another opportunity to learn my way around Linux.
![]() I can confirm, though, that it's mprime 64-bit and Zorin OS x64. Rodrigo |
|
|
|
|
|
#15 |
|
Sep 2002
Database er0rr
3,739 Posts |
To redirect standard output, append the command with "> your_file_here" e.g.
Code:
ls -l > ls_output Code:
ls -l .. > ls_parent Also print the contents of "/etc/mtab" here, maybe via: Code:
cp /etc/mtab mtab_copy Code:
whoami Last fiddled with by paulunderwood on 2013-11-07 at 04:30 |
|
|
|
|
|
#16 | ||||
|
Jun 2010
Pennsylvania
11101001102 Posts |
Quote:
Code:
total 30336 -rw-r--r-- 1 live live 2110 Dec 12 2012 license.txt -rw-r--r-- 1 live live 0 Nov 7 00:23 ls_output -rw-r--r-- 1 live live 30852745 Dec 12 2012 mprime -rw-r--r-- 1 live live 20019 Dec 12 2012 readme.txt -rw-r--r-- 1 live live 6860 Dec 12 2012 stress.txt -rw-r--r-- 1 live live 24526 Dec 12 2012 undoc.txt -rw-r--r-- 1 live live 45832 Dec 12 2012 whatsnew.txt Quote:
Code:
total 32 drwx------ 2 live live 32768 Nov 7 00:24 mPrime Quote:
Code:
/cow / overlayfs rw 0 0 proc /proc proc rw,noexec,nosuid,nodev 0 0 sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0 udev /dev devtmpfs rw,mode=0755 0 0 devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0 tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0 /dev/sr0 /cdrom iso9660 ro,noatime 0 0 /dev/loop0 /rofs squashfs ro,noatime 0 0 none /sys/fs/fuse/connections fusectl rw 0 0 none /sys/kernel/debug debugfs rw 0 0 none /sys/kernel/security securityfs rw 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev 0 0 none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0 none /run/shm tmpfs rw,nosuid,nodev 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0 gvfs-fuse-daemon /home/live/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=live 0 0 /dev/sdb1 /media/9021-9EC0 vfat rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks 0 0 /dev/sdc1 /media/FC30-3DA9 vfat rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks 0 0 Quote:
FWIW, this is a Live DVD system. Hope these printouts help to track down the issue! Rodrigo Last fiddled with by Rodrigo on 2013-11-07 at 06:10 Reason: clarity |
||||
|
|
|
|
|
#17 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Quote:
|
|
|
|
|
|
|
#18 |
|
Sep 2002
Database er0rr
3,739 Posts |
This link has the answer. You will need to "umount" the drive and remount it will the "exec" flag, but heed the warnings about every file then being executable.
Code:
ls /media/FC30-3DA9 Code:
umount /media/FC30-3DA9 Code:
mkdir /media/FC30-3DA9 mount -t vfat -o rw,auto,user,fmask=0022,dmask=0000,exec /dev/sdc1 /media/FC30-3DA9
Last fiddled with by paulunderwood on 2013-11-07 at 14:32 |
|
|
|
|
|
#19 |
|
Jun 2010
Pennsylvania
2·467 Posts |
Wow, that worked!! (For the benefit of anybody later looking to do this: I did have to sudo in order to perform the mkdir and mount operations.)
Thank you very much, Paul. Now I can perform the comparison. Rodrigo |
|
|
|
|
|
#20 |
|
Sep 2002
Database er0rr
3,739 Posts |
|
|
|
|
|
|
#21 |
|
Jun 2010
Pennsylvania
93410 Posts |
One last, quick question:
If I want to convert all those files back to non-programs (for example, so that I can copy the pWxxxxxx files back to the original location to run in Windows), do I umount and then mount again as given above but leaving out the "exec" part? Or do I need to do something else? Rodrigo Last fiddled with by Rodrigo on 2013-11-08 at 06:44 |
|
|
|
|
|
#22 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
250018 Posts |
Quote:
Many file systems are mounted executable by default. Some removable devices containing file systems are not so mounted to protect you against sundry nasties. Anyone else here old enough to remember viruses being spread by floppies? |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ubuntu saddies | ET_ | GPU Computing | 12 | 2013-05-14 14:30 |
| New laptop with ubuntu | pinhodecarlos | Linux | 30 | 2013-04-12 09:23 |
| Upgrading Ubuntu from 9.04 to 11.04 | ET_ | Linux | 9 | 2012-03-05 20:04 |
| how to install on ubuntu? | yeah | Information & Answers | 2 | 2011-03-02 17:43 |
| Ubuntu 9.10 | henryzz | Linux | 11 | 2010-01-29 21:31 |