Ubuntu 12 problem - imarkovic, markopvict i ostali Linux znalci
STRANA 1 OD 1
Bundeva
Ubuntu 12 problem - imarkovic, markopvict i ostali Linux znalci
19.10.2017. 22:09
T65343
status: user broj poruka: 409
Imam problem sa ovim i nakon guglanja nista nisam uspeo.
WinSCPom se nakacim sa SFTP, mogu da kopiram fajlove is bilo kog DIRa ali ne mogu da ih obirisem, promenim ime, kopiram nista u direktorijum, daje neki error 3. Ime mogu da promenim ako koristim mv iz koznole kao sudo su ali nije elegantno. Ne mgu da instaliram MC pa iz njega da radim jer mi glupi apt-get vraca neke greske a ne smem mnogo da instaliram jer je ovo server koji ljudi koriste za neki sajt. Probao sam chmod i shown za te dirove i fajlove ali dzaba iz WinSCP nece da ih brise ili reimenuje
Jel ima nacin da preko WinSCP mogu da menjam fajlove i slicno? Neki predlog
Re: Ubuntu 12 problem - imarkovic, markopvict i ostali Linux znalci
19.10.2017. 22:32
#640151
status: user broj poruka: 19002
SFTP > SSH
Ne mozes zato sto verovatno kao taj user imas dozvolu samo za Read za taj folder. Treba da stavis sve dozvole, ako vec hoces da brises i sve ostalo. Ako je user u sudoers grupi, kucas komandu dok si ulogovan kao taj user: `sudo chmod -R 777 /home/folder` (tj. punu putanju za taj folder). 777 je za read,write,execute, dakle sve. Ako imas problem da dodelis dozvolu sebi kao user, onda taj user nije sudo, pa treba to da uradis kao root bez sudo i treba negde da se doda user, zaboravih sad, a nemam pri ruci fajl koji sam pravio za Debian.
Mislim da WinSCP sluzi samo za kopiranje fajlova, nisam siguran da li moze da se brise/menja.
mv komanda, kakva takva koristi se za rename. Za direktoriju dodajes -R (mv -R staro ime novo ime).
Za brisanje fajlova: rm -f filename Za brisanje foldera sa sadrzajem: rm -f
Mislim da sam ti ispravno napisao komande, ako zapne, za ubuntu se nalazi sve zivo na netu.
:: Imam problem sa ovim i nakon guglanja nista nisam uspeo. :: :: WinSCPom se nakacim sa SFTP, mogu da kopiram fajlove is bilo kog DIRa ali ne mogu da ih obirisem, promenim ime, kopiram nista u direktorijum. Ime mogu da promenim ako korstim mv iz koznole kao sudo su ali nije elegantno. Ne mgu da isntaliram MC pa iz njega da radim jer mi glupi apt-get vraca neke greske a ne smem mnogo da instaliram jer je ovo server koji ljudi koriste za neki sajt :: :: Jel ima nacin da preko WinSCP mogu da menjam fajlove i slicno? Neki predlo :: :: Hvala
WinSCP sam par puta koristio za kopiranje, pa ne znam sta sve moze, ali ako brise iz PuTTy-ja, onda je sve u redu. Ako iz putty-ja moze, a iz WinSCP-a ne moze, onda ne moze, a ne bi ni trebalo po meni.
:: ja sam za taj fajl odradio chmod 777 /.... ali dalje ga iz WinSCP ne mogu obrisati. Iz PuTTY sve rad :: :: ::
`The aim of public education is not to spread enlightement at all. It is simply to reduce as many individuals as possible to the same safe level, to breed a standard citizenry, to put down dissent and originallity.`
:: http://tinyurl.com/y9cazvj :: :: `The aim of public education is not to spread enlightement at all. It i :: simply to reduce as many individuals as possible to the same safe level :: to breed a standard citizenry, to put down dissent and originallity.` :: ::
http://tinyurl.com/ybjfsk8a +- http://tinyurl.com/yb6hgpr9 (1. Add `sudo /opt/libexec/sftp-server` to connections settings in winscp 2. Putty to unmount filesystem `sudo mount -o remount,rw /` 3. upload / change files that you want. 4. when done lock filesystem `sudo mount -o remount,ro /` and close winscp) = ko zna mozda i proradi
`The aim of public education is not to spread enlightement at all. It is simply to reduce as many individuals as possible to the same safe level, to breed a standard citizenry, to put down dissent and originallity.`
Njemu treba `rename` i `remove`, ne bih se ja zezao na serveru pomocu WinSCP, to je samo mala pomoc za kopiranje, za sve ostalo samo terminal iz user profila...
:: neka proba vise varijanti (sve su manje vise iste :: :: http://tinyurl.com/y77uv6j :: :: deluje mi da aplikacija tripuje :: :: http://tinyurl.com/ybjfsk8 :: + :: http://tinyurl.com/yb6hgpr :: (1. Add `sudo /opt/libexec/sftp-server` to connections settings in winsc :: 2. Putty to unmount filesystem `sudo mount -o remount,rw / :: 3. upload / change files that you want :: 4. when done lock filesystem `sudo mount -o remount,ro /` and close winscp :: :: ko zna mozda i prorad :: :: `The aim of public education is not to spread enlightement at all. It i :: simply to reduce as many individuals as possible to the same safe level :: to breed a standard citizenry, to put down dissent and originallity.` :: ::
`The aim of public education is not to spread enlightement at all. It is simply to reduce as many individuals as possible to the same safe level, to breed a standard citizenry, to put down dissent and originallity.`
Jbg, kod Linuxa nikad dovoljno opreza, pogotovo server. Ja otkad sam pretrpeo ransomware napad, sve svodim na sigurnost i zastitu, kuci i na poslu.
:: ufuf, al smo strasljivi.. :: :: planiran upgrade/overkill . :: https://youtu.be/2LXijv0d3Ac?t=32 :: :: `The aim of public education is not to spread enlightement at all. It i :: simply to reduce as many individuals as possible to the same safe level :: to breed a standard citizenry, to put down dissent and originallity.` :: ::
`The aim of public education is not to spread enlightement at all. It is simply to reduce as many individuals as possible to the same safe level, to breed a standard citizenry, to put down dissent and originallity.`
Ma da, svo smece se na kraju pocisti, kao da ga nije bilo.
:: http://tinyurl.com/y7dyq8l :: :: http://tinyurl.com/y8nyyym :: :: bice kacamaka, prvo se najave, potom sledi.. :: :: :: `The aim of public education is not to spread enlightement at all. It i :: simply to reduce as many individuals as possible to the same safe level :: to breed a standard citizenry, to put down dissent and originallity.` :: ::
Broj postavljenih tema: 60367. Broj poslatih odgovora: 647106. Trenutno niste prijavljeni na PC Berzu i zbog toga imate status 'gosta'. Kao gost ne možete da šaljete poruke na Forum. Ako ste registrovani kao član PC Berze, prijavite se. Ako ste novi korisnik, molimo registrujte se da bi dobili mogućnost aktivnog učešća u radu Foruma.