![]() |
script on USB key ubuntu
I try to run a sript from the usb key but does not run.
the same script run hard disk. |
Hi,
check the mount permissions of the USB key. Which filesystem format does it have? |
Tanks crts, here is the mount info: /dev/sdc1 /media/7006-72B1 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
an other info: the same key with the same script run on an other PC! ??? |
Quote:
Code:
showexecCode:
mount -o remount,rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,exec,utf8,flush,errors=remount-ro /dev/sdXX |
Hi crts,
when i try your command i get the folowing error: root@al-N68S3:/home/al# mount -o remount,rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=is o8859-1,shortname=mixed,exec,utf8,flush,errors=remount-ro /dev/sdc1 mount: can not find /dev/sdc1 in /etc/fstab or /etc/mtab thanks |
Quote:
Code:
mount -o rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,exec,utf8,flush,errors=remount-ro /dev/sdc1 /path/to/mountpoint |
Thank you crts,
root@al-N68S3:/home/al# mount -o rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,exec,utf8,flush,errors=remount-ro /dev/sdc1 /USBDISK mount: le point de montage /USBDISK n'existe pas root@al-N68S3:/home/al# mount -o rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,exec,utf8,flush,errors=remount-ro /dev/sdc1 /media/USBDISK mount: le point de montage /media/USBDISK n'existe pas root@al-N68S3:/home/al# mount -o rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,exec,utf8,flush,errors=remount-ro /dev/sdc1 /media mount: périphérique spécial /dev/sdc1 n'existe pas I have tried the syntaxes above , but i still get erros. so i have formated the usb key with ext4 in stead of fat and the script run now i will reformat it back to FAT and see what`s happen thank you vey much crts |
Quote:
Code:
mkdir /media/USBDISKQuote:
Code:
dmesg|tailCode:
# dmesg |tail |
Hi CRTS,
Thank you for your help. yes i have there was no directory to mount the the usb key now it works in FAT too thanks |
| All times are GMT -5. The time now is 05:40 PM. |