Skip to main content

Thread: Permission denied


i want write c programs geany memory stick. after program saved stick, compiles ok permission denied when try run it. have tried right click on file , go permission properties , check box marked "execute" not stay checked.

i'm not sure how use command line go file on memory stick , try chmod.

try this:
code:
 chmod 777 'path/to/file'
remove qoutes , put in full path file, example chmod 777 /media/stick/file

777 read/write/execute might want try longer version of rwxr--r-- read write execute owner, read groups , other users.

way, first number owner of file, second number groups file linked , third number others is, well, others.

7 rwx , breakdown number 1 execute, 2 write , 4 read... add ones want together.

(if remember correctly)


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Permission denied


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues