![]() |
2013-12-09
, 03:33
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#2
|
![]() |
2013-12-09
, 11:19
|
|
Posts: 132 |
Thanked: 225 times |
Joined on Dec 2013
|
#3
|
Your MyDocs directory is probably on a FAT partition, thus doesn't support full file permissions. Also you should use user account when inside your /home/user. Devel-su "root" has not full permissions there.
For convenience (although not necessary)I'd suggest you to save your scripts to /home/user/bin and/or /root/bin, add those directories to your $PATH and run those scripts as respective user they belong to.
![]() |
2013-12-09
, 12:36
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#4
|
Thank you, it's better now. But i still cannot execute my script (trying './myscript.sh', permission denied). Also chmod +x doesn't say anything bad about permissions, but 'ls -al' then shows that no permissions to the file were added.
I've heared bout develsh command, is it somehow connected with my situation?
![]() |
2013-12-09
, 16:55
|
|
Posts: 132 |
Thanked: 225 times |
Joined on Dec 2013
|
#5
|
No, it is the FAT partiton that is the problem.
Do as @ladoga says and put the script somewhere else, you cannot run ANYTHING from MyDocs. (unless you have formatted it to some real filesystem, that is...)
![]() |
2013-12-09
, 22:57
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#6
|
And what is the right way to do it? I mean, would it be correct to connect N9 to unix (e. g. kali linux) and format the mounted volume into ext3 or something? Cause I very doubt about it..
![]() |
2013-12-09
, 23:23
|
|
Posts: 132 |
Thanked: 225 times |
Joined on Dec 2013
|
#7
|
That's the sane thing to do, of course. But I assume you want to use it with Windows, and then you cannot format it to extfs.
But what I am after, is that do you just really have to have this script of yours on MyDocs? Can you put it to somewhere that it is possible to execute it?
The Following User Says Thank You to zxcvbnm3230 For This Useful Post: | ||
Also I tried creating the file in /home/user/MyDocs/scripts/ and it even didn't let me save it! Is it normal? Sorry for such a noobish questions, but I really don't know what to do. I thought things like this should be easily done with N9.