Merhaba millet Bir dosyayı bir Sftp for MobaXterm ile kopyalamakta sorun yaşıyorum "izin reddedildi" hatası alıyorum. Try/try2 klasörlerimin sahipliğini veya izinlerini değiştirmeye çalışırsam, "böyle bir dosya veya yönlendirme hatası" alıyorum. Biliyorum , orada da benzer bir soru burada, ama ben burada (Amazon AWS Filezilla transfer permission denied) yaptıklarını yeni hiç bir şey görünüyor Yaptığım budur (Ben-kök, tabii ki):Dosyayı Sftp'ye AWS örneğine kopyalayamıyorum
[[email protected]]# ls
[[email protected]]# mkdir try
[[email protected]]# ls
try
[[email protected]]# chown -R ec2-user /try
chown: cannot access `/try': No such file or directory
[[email protected]]# chown -R ec2-user /try/
chown: cannot access `/try/': No such file or directory
[[email protected]]# ls
try
[[email protected]]# chown -R ec2-user/try
chown: missing operand after `ec2-user/try'
Try `chown --help' for more information.
[[email protected]]# cd try
[[email protected]]# mkdir try2
[[email protected]]# ls
try2
[[email protected]]# cd ..
[[email protected]]# chown -R ec2-user try/try2
chown: cannot access `try/try2': No such file or directory
[[email protected]]# chown -R ec2-user /try/try2
chown: cannot access `/try/try2': No such file or directory
[[email protected]]# cmod -R 755 /try/try2
-bash: cmod: command not found
[[email protected]]# chmod -R 755 /try/try2
chmod: cannot access `/try/try2': No such file or directory
[[email protected]]#
It düşük bir çabaya benziyor, ama göründüğünden öte, son bir buçuk saat boyunca bunun üzerinde oturuyorum ve hızlı bir çözüme ihtiyacım var - gelecekteki kamu direklerine bir yığın şey yüklemem gerekiyor.
[[email protected]]# chown ec2-user /home/ec2-user/try/try2
[[email protected]]# chown -R ec2-user /home/ec2-user/try/
[[email protected]]# cmod -R 755 ec2-user /home/ec2-user/try/
-bash: cmod: command not found
[[email protected]]# chmod -R 755 ec2-user /home/ec2-user/try/
chmod: cannot access `ec2-user': No such file or directory
[[email protected]]# ls
try
[[email protected]]# cd ..
[[email protected]]# ls
ec2-user
[[email protected]]# cd ec2-user/
[[email protected]]# ls
try
[[email protected]]# cd ..
[[email protected]]# ls -la
total 12
drwxr-xr-x. 3 root root 4096 Mar 20 04:18 .
dr-xr-xr-x. 26 root root 4096 Mar 20 04:18 ..
drwx------. 4 ec2-user ec2-user 4096 Mar 20 05:34 ec2-user
[[email protected]]# chown -R root /home/ec2-user/try/
[[email protected]]# ls -la
total 12
drwxr-xr-x. 3 root root 4096 Mar 20 04:18 .
dr-xr-xr-x. 26 root root 4096 Mar 20 04:18 ..
drwx------. 4 ec2-user ec2-user 4096 Mar 20 05:34 ec2-user
[[email protected]]#
benim hatadır: Ayrıca tam yolunu kullanarak çalıştı?
Bu konuyla ilgili bir konu değil - bu, programlama hakkında değil, oldukça basit linux kullanımıyla ilgili bir sorudur. –
Alternatif bir yer önerebilir misiniz? – Michael
Tam olarak ne yapmaya çalışıyorsunuz? Sonunda – helloV