folke
1
Hello!
I’m trying to rename a couple of files. Here my code:
(0…files.size).each do |i|
File.rename(files[i], episodeList[i])
end
I get the error-messege “Permission denied - Permission denied - . or
S05 E09 - The Real Ghostbusters (Errno::EACCES)”.
The directory is set so everyone can read and write. I can’t come up
with what I’m suppose to do? I’m really grateful for help!
folke
2
I get the error-messege “Permission denied - Permission denied - . or
S05 E09 - The Real Ghostbusters (Errno::EACCES)”.
The directory is set so everyone can read and write. I can’t come up
with what I’m suppose to do? I’m really grateful for help!
Files are also setted to 777 permissions?
iñ
folke
3
On Nov 16, 2009, at 8:22 PM, Iñigo Medina García wrote:
I get the error-messege “Permission denied - Permission denied - . or
S05 E09 - The Real Ghostbusters (Errno::EACCES)”.
The directory is set so everyone can read and write. I can’t come up
with what I’m suppose to do? I’m really grateful for help!
Files are also setted to 777 permissions?
In UNIX, rename changes the directory, so file permissions do not matter
– a file inode is not even looked in, let alone modified.
Gennady.
folke
4
Sorry, I meant that I’ve setted the files to 777 as well.
folke
5
Files are also setted to 777 permissions?
In UNIX, rename changes the directory, so file permissions do not matter – a file inode is not even looked in, let alone modified.
Gennady.
Yep. I was thinking on changing file’s content.
Thanks Gennady.
iñ