Re: chmod u+s

2022-08-24 Thread Patrick ZAJDA
Le 24/08/2022 à 18:21, Gabriel Moreau a écrit : À ma connaissance, sous Linux, le chmod u+s sur un dossier ne sers à rien ! Ce qui sers sur un dossier est  chmod g+s  chmod o+t Le premier affecte tout nouveau fichier au groupe du dossier (pratique dans un partage puisque les personnes ne

Re: chmod u+s

2022-08-24 Thread Patrick ZAJDA
Le 24/08/2022 à 18:12, Gabriel Moreau a écrit : Cela ne fonctionne que pour les exécutables binaires. Cela ne fonctionne pas pour les scripts. C'est une sécurité car un script est trop facilement modifiable. C'est la raison pour laquelle il y avait il y a longtemps perlsuid... et ainsi de

Re: chmod u+s

2022-08-24 Thread Gabriel Moreau
Sauf que je ne comprends pas ce que ça implique sur un dossier, en tout cas je n'arrive pas à appliquer ça pour m'en rendre compte. À ma connaissance, sous Linux, le chmod u+s sur un dossier ne sers à rien ! Ce qui sers sur un dossier est chmod g+s chmod o+t Le premier affecte tout

Re: chmod u+s

2022-08-24 Thread Gabriel Moreau
- Dans le cas d'un fichier, peut-être qu'un script bash ne permet pas d'appliquer mais changer son propriétaire et le chmod u+s ne m'a pas permis d'avoir les droits de l'utilisateur propriétaire. Cela ne fonctionne que pour les exécutables binaires. Cela ne fonctionne pas pour les scripts

Re: chmod u+s

2022-08-24 Thread Patrick ZAJDA
Merci à tous pour vos réponses. J'ai bien lu, en tout cas la page man de chmod. Sauf que je ne comprends pas ce que ça implique sur un dossier, en tout cas je n'arrive pas à appliquer ça pour m'en rendre compte. Pire encore, je n'arrive même pas à appliquer ça pour un fichier. Du coup, en

RE: chmod u+s

2022-08-24 Thread Nisar JagabarAli
(\_)) `-'(. .)`-' \_/ From: Patrick ZAJDA Sent: mercredi 24 août 2022 15:10 To: Debian user french Subject: chmod u+s Hello, Quelqu'un pourrait-il, en des mots simple, m'expliquer à quoi sert le mode s pour un dossier ? Je le remarque entre autre sur le dossier download de transmission-remote

Re: chmod u+s

2022-08-24 Thread Jean-Pierre Giraud
/linux/man-pages/man7/inode.7.html https://man7.org/linux/man-pages/man1/chmod.1.html C'est en effet un bon réflexe de commencer par lire par lire la page du manuel... J'en profite pour signaler que depuis 2020, l'équipe de traduction en français de Debian s'investit avec une forte intensité pour

Re: chmod u+s

2022-08-24 Thread Jean-Pierre Giraud
Bonjour, Le 24/08/2022 à 16:43, Belaïd a écrit : Bonjour, Il me semble que c'est le sticky bit (chmod +t) qui fait ce que tu as expliqué et non u+s Le mer. 24 août 2022 à 16:35, Sébastien NOBILI <mailto:s-liste-debian-user-fre...@pipoprods.org>> a écrit : Bonjour, Le 2

Re: chmod u+s

2022-08-24 Thread Basile Starynkevitch
/man1/chmod.1.html et je cherche toujours des partenaires intéressés par RefPerSys <http://refpersys.org/>. Merci. -- Basile Starynkevitch (only mine opinions / les opinions sont miennes uniquement) 92340 Bourg-la-Reine, France web page: starynkevitch.net/Basile/

Re: chmod u+s

2022-08-24 Thread Sébastien NOBILI
Le 2022-08-24 16:43, Belaïd a écrit : Il me semble que c'est le sticky bit (chmod +t) qui fait ce que tu as expliqué et non u+s En effet, confusion de ma part… "Sticky", "+t", "+s"… Merci d'avoir relevé. Sébastien

Re: chmod u+s

2022-08-24 Thread Belaïd
Bonjour, Il me semble que c'est le sticky bit (chmod +t) qui fait ce que tu as expliqué et non u+s Le mer. 24 août 2022 à 16:35, Sébastien NOBILI < s-liste-debian-user-fre...@pipoprods.org> a écrit : > Bonjour, > > Le 2022-08-24 15:10, Patrick ZAJDA a écrit : > > Quelqu'u

Re: chmod u+s

2022-08-24 Thread Sébastien NOBILI
Bonjour, Le 2022-08-24 15:10, Patrick ZAJDA a écrit : Quelqu'un pourrait-il, en des mots simple, m'expliquer à quoi sert le mode s pour un dossier ? Ça interdit la suppression d'éléments du dossier par quiconque autre que le propriétaire. C'est également utilisé dans le dossier /tmp Tout

chmod u+s

2022-08-24 Thread Patrick ZAJDA
sous-répertoires de celui-ci appartiendraient au même propriétaire. En faisant chmod g+s j'ai bien le comportement que je pense, à savoir que le groupe est conservé même si c'est un autre utilisateur qui crée un sous-répertoire et le mode g+s est également mis sur le répertoire créé. Mais

Re: Where to change default chmod of /dev/pts/* ???

2015-11-20 Thread Sven Joachim
On 2015-11-20 15:56 +0100, Decstasy wrote: > Hello, > > since there is systemd some things have changed... Anyway I hope > someone here can help me :) > > I want to change the default chmod of /dev/pts/* from 620 to 660. Are you sure you want to this? Reasonable valu

Where to change default chmod of /dev/pts/* ???

2015-11-20 Thread Decstasy
Hello, since there is systemd some things have changed... Anyway I hope someone here can help me :) I want to change the default chmod of /dev/pts/* from 620 to 660. In the past it can be changed by /etc/defaults/devpts But it does not work at all. I could not find any entry in /etc/fstab

Re: su chmod -755 /usr

2015-06-12 Thread Julian Brooks
Cheers Bob :) Uuummm - work files yes, system configs/settings not really. Any top tips, like where are the permission file/s? On 12 June 2015 at 22:07, Bob Proulx b...@proulx.com wrote: Julian Brooks wrote: All seems well, valuable lesson(s) learnt. Seriously thought it was terminal,

Re: su chmod -755 /usr

2015-06-12 Thread Bob Proulx
Julian Brooks wrote: All seems well, valuable lesson(s) learnt. Seriously thought it was terminal, appreciate the wisdom people. Glad to hear you solved your problem. In the future with a similar problem you would be able to restore your current system permissions from your backup. Not the

Re: su chmod -755 /usr

2015-06-12 Thread Bob Proulx
perhaps I wasn't clear enough. For example I could run 'find' down the backup tree and print the file modes of the files there. cd /path/to/backup find . -type l -prune -o -printf chmod %m %p\n There are no whitespace in most files in /usr and therefore the above would print out a series

Re: su chmod -755 /usr

2015-06-10 Thread Julian Brooks
Many thanks for the replies. (I did say I'm sketchy here) I was attempting to alter permissions on a folder. I then read that all folders leding up to it must also have permission altered. So I then mistakenly actually ran 'sudo chmod -755 /usr/lib/TheFolderIMeantToAlter' and all folders

su chmod -755 /usr

2015-06-09 Thread Julian Brooks
Hey all, Yes I'm an idiot... Not very experienced user here - 1st post: I mistakenly ran 'chmod -755 /usr'. How can I fix my permissions? Haven't rebooted yet, too scared. Currently getting around as root. Would prefer to avoid reinstall if possible. Cheers, Julian

Re: su chmod -755 /usr

2015-06-09 Thread Cam Hutchison
Julian Brooks jbee...@gmail.com writes: Hey all, Yes I'm an idiot... Not very experienced user here - 1st post: I mistakenly ran 'chmod -755 /usr'. How can I fix my permissions? Run 'chmod 755 /usr'. All your command did was remove permissions from the /usr directory. Just set them back

Re: su chmod -755 /usr

2015-06-09 Thread Mikael Flood
Helllo Julian, Should just be to revert the change with 'chmod 755 /usr'. On 10 June 2015 at 05:40, Julian Brooks jbee...@gmail.com wrote: Hey all, Yes I'm an idiot... Not very experienced user here - 1st post: I mistakenly ran 'chmod -755 /usr'. How can I fix my permissions? Haven't

chmod 777 e chown 777 acidentais

2012-12-10 Thread Fred Maranhão
Caros, Tenho uma máquina aqui onde acidentalmente foi feito um chmod -R 777 /var e chown -R 777 /var (isso mesmo. chown. fazer as coisas com presa é uma merda. mas depois o cabra foi corrigindo) eu fiz um ls -lR /var desta máquina e de outra máquina e comparei os dois com o kdiff3, mas tem

Re: chmod 777 e chown 777 acidentais

2012-12-10 Thread Fabiano
escreveu: Caros, Tenho uma máquina aqui onde acidentalmente foi feito um chmod -R 777 /var e chown -R 777 /var (isso mesmo. chown. fazer as coisas com presa é uma merda. mas depois o cabra foi corrigindo) eu fiz um ls -lR /var desta máquina e de outra máquina e comparei os dois com o

Re: chmod 777 e chown 777 acidentais

2012-12-10 Thread Fred Maranhão
. mas tem alguma diferença? Fabiano Enviado via iPhone Em 10/12/2012, às 16:55, Fred Maranhão fred.maran...@gmail.com escreveu: Caros, Tenho uma máquina aqui onde acidentalmente foi feito um chmod -R 777 /var e chown -R 777 /var (isso mesmo. chown. fazer as coisas com presa é uma merda

Re: kök dizinde hatalı chmod kullanımı

2012-03-22 Thread Engin YILMAZ
: Merhaba arkadaşlar Bir nokta koymayı unuttum ve yanlışlıkla aşağıdaki komutu root olarak çalıştırdım; chmod -R 777 /* Hata yaptıgımı ekranda birçok yazının hızlıca geçmesinden sonra anladım ve komutu durdurdum. Tabii jetonun düşmesi biraz geç oldu. Şimdi sudo yapınca şu hata çıkıyor; y@debian:~$ sudo

Re: kök dizinde hatalı chmod kullanımı

2012-03-19 Thread Engin KUZU
yazdı: Merhaba arkadaşlar Bir nokta koymayı unuttum ve aşağıdaki komutu root olarak çalıştırdım; chmod -R 777 /* Hata yaptıgımı ekranda birçok yazının hızlıca geçmesinden sonra anladım ve komutu durdurdum. Tabii jetonun düşmesi biraz geç oldu. Şimdi sudo yapınca şu hata çıkıyor; y@debian

Re: kök dizinde hatalı chmod kullanımı

2012-03-19 Thread Remzi AKYUZ
yapabilirsin. root olmak icinde acilista single mode yada gruba parametre olarak init=/bin/bash faydalanabilirsin. Gecmis olsun. On Tuesday, March 20, 2012 05:24 AM, yalçın karagöz wrote: Merhaba arkadaşlar Bir nokta koymayı unuttum ve yanlışlıkla aşağıdaki komutu root olarak çalıştırdım; chmod

Problem with chmod

2011-05-10 Thread Gorka
Hi. I have got Ubuntu 11.04 installed on my pendrive. In /ME folder I have got some files.bin to upgrade the BIOS an so. The problem is that I can't execute them. It says I have no permissions.These are 7001 (last number refers back to the sticky bit) I'm trying to set 'sudo chmod 777 *', but I

Re: Problem with chmod

2011-05-10 Thread Kousik Maiti
Go to the parent directory. Run sudo chmod -R 777 * On Tue, May 10, 2011 at 4:34 PM, Gorka gorkali...@yahoo.es wrote: Hi. I have got Ubuntu 11.04 installed on my pendrive. In /ME folder I have got some files.bin to upgrade the BIOS an so. The problem is that I can't execute them. It says I

RE: Problem with chmod

2011-05-10 Thread Gorka
Parent directory is / Aparently it changes permissions to 777, but suddenly they turn into 7001 again. There is some kind of persistency. Chown works well, but chmod works so. De: Kousik Maiti [mailto:kousiks...@gmail.com] Enviado el: martes, 10 de mayo de 2011 13:17 Para: Gorka CC

Re: Problem with chmod

2011-05-10 Thread Chris Davies
to set 'sudo chmod 777 *', but I can't. What filesystem have you put on the pendrive? Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/tmqn98xii6

RE: Problem with chmod

2011-05-10 Thread Gorka
. The problem is that I can't execute them. It says I have no permissions.These are 7001 (last number refers back to the sticky bit) I'm trying to set 'sudo chmod 777 *', but I can't. What filesystem have you put on the pendrive? Chris I have formated with FAT32 and then followed these instructions

Re: Problem with chmod

2011-05-10 Thread shawn wilson
have got some files.bin to upgrade the BIOS an so. The problem is that I can't execute them. It says I have no permissions.These are 7001 (last number refers back to the sticky bit) I'm trying to set 'sudo chmod 777 *', but I can't. What filesystem have you put on the pendrive? Chris

Re: Problem with chmod

2011-05-10 Thread Bob McGowan
On 05/10/2011 05:18 AM, Gorka wrote: Parent directory is / Aparently it changes permissions to 777, but suddenly they turn into 7001 again. There is some kind of persistency. Chown works well, but chmod works so. --deleted other suggestions for brevity-- Try creating a new

Re: Problem with chmod

2011-05-10 Thread Chris Davies
to set 'sudo chmod 777 *', but I can't. Gorka gorkali...@yahoo.es wrote: I have formated with FAT32 and then followed these instructions ... http://www.ubuntu.com/download/ubuntu/download There's nothing in there, that I can see, that refers to upgrading the BIOS. The filesystem containing /ME

Re: Problemas com permissões chmod

2010-01-12 Thread Adriano Rafael Gomes
Em Mon, 11 Jan 2010 23:51:43 -0200 gunix gustavo.gru...@gmail.com escreveu: Porem se eu de uma maquina linux ou até mesmo no serivodr se eu mandar criar um arquivo com o comando toutch e permissão não é dada para o grupo. O grupo fica com direito apenas de leitura, sendo que preciso que fique

Problemas com permissões chmod

2010-01-11 Thread gunix
Galera, tenho um servidor de arquivos, com samba e NFS rodando. Tenho um diretorio comum a um grupo de trabalho e com permissão, 770. drwsrws--- 13 root G_TI 4096 Jan 11 23:33 public_ti Setei o bit +s para que ao gravar o arquivo seja respeitado o grupo do diretorio e nao o grupo

Chmod

2009-04-16 Thread Fernando Xavier
Alguém sabe de alguma forma para dar um chmod em uma lista de arquivos resultante de um ls? Queria fazer isso em linha de comando sem jogar o resultado do ls em um arquivo temporário. Abs -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe

Re: Chmod

2009-04-16 Thread Gunther Furtado
Olá, 2009/4/16 Fernando Xavier fernando.xav...@gmail.com: Alguém sabe de alguma forma para dar um chmod em uma lista de arquivos resultante de um ls? Não sei se funciona no seu caso mas você já deu uma olhada no xargs? Queria fazer isso em linha de comando sem jogar o resultado do ls em

Re: Chmod

2009-04-16 Thread Fernando Xavier
Perfeito! Era isso que precisava. Executei algo mais ou menos assim: find diretorio -mtime -1 -type f -print | xargs chmod 755 Muito obrigado! abs 2009/4/16 Gunther Furtado gunfurt...@gmail.com: Olá, 2009/4/16 Fernando Xavier fernando.xav...@gmail.com: Alguém sabe de alguma forma para dar

Re: Chmod

2009-04-16 Thread Allison Vollmann
Em 16/4/2009 10:46, Fernando Xavier escreveu: Alguém sabe de alguma forma para dar um chmod em uma lista de arquivos resultante de um ls? Queria fazer isso em linha de comando sem jogar o resultado do ls em um arquivo temporário. Abs Você pode usar os coringas do shell se for algo

Re: Chmod

2009-04-16 Thread Rodolfo
Ainda prefiro um jeito mais fácil: chmod -vR 755 DIRETORIO tudo que tiver dentro desse diretório vaireceber os parâmetros tb. depois é só aplicar permissões especiais pra algumas pastas específicas 2009/4/16 Fernando Xavier fernando.xav...@gmail.com Perfeito! Era isso que precisava

Re: problem with chmod

2009-04-07 Thread Chris Bannister
On Fri, Apr 03, 2009 at 12:22:49AM +0800, Bret Busby wrote: bretnewworkstation:~# ls -l /data total 780 -rw-r--r-- 1 bret bret 382652 2009-04-03 00:03 *.* -rw-r--r-- 1 bret bret 382652 2009-04-03 00:04 WonkyAcerWebPage_Iceape.jpg That looks a bit suspicious. -- Chris. == I contend that

problem with chmod

2009-04-02 Thread Bret Busby
I have created a new data partition for a Ubuntu/Debian dual boot system, using gparted from the Debian 4 installation. Now I have to figure out how to make the new data partition accessible. chmod (from the Debian system) seems to be designed to frustrate. it used to be that using a syntax

Re: problem with chmod

2009-04-02 Thread Alex Samad
On Thu, Apr 02, 2009 at 07:55:59PM +0800, Bret Busby wrote: I have created a new data partition for a Ubuntu/Debian dual boot system, using gparted from the Debian 4 installation. [snip] chmod 777 /data I think when you use octects you have to prefix with 0 so try chmod 0777 /data

Re: problem with chmod

2009-04-02 Thread Alex
Bret Busby wrote: I have created a new data partition for a Ubuntu/Debian dual boot system, using gparted from the Debian 4 installation. Now I have to figure out how to make the new data partition accessible. chmod (from the Debian system) seems to be designed to frustrate. it used

Re: problem with chmod

2009-04-02 Thread Eduardo M KALINOWSKI
Bret Busby wrote: I have created a new data partition for a Ubuntu/Debian dual boot system, using gparted from the Debian 4 installation. Now I have to figure out how to make the new data partition accessible. chmod (from the Debian system) seems to be designed to frustrate. it used

Re: problem with chmod

2009-04-02 Thread Christofer C. Bell
On Thu, Apr 2, 2009 at 6:55 AM, Bret Busby b...@busby.net wrote: I know that is how the syntax used to be, because I remember a person (on a UNIX system) losing his account, when he accidentally entered chmod . , which changed his . file permissions to zero, and not even the sysadmin could

Re: problem with chmod

2009-04-02 Thread Bret Busby
On Thu, 2 Apr 2009, Alex Samad wrote: On Thu, Apr 02, 2009 at 07:55:59PM +0800, Bret Busby wrote: I have created a new data partition for a Ubuntu/Debian dual boot system, using gparted from the Debian 4 installation. [snip] chmod 777 /data I think when you use octects you have

Re: problem with chmod

2009-04-02 Thread Bret Busby
On Thu, 2 Apr 2009, Eduardo M KALINOWSKI wrote: If I use the format above, no error is returned; it just doesn't do anything. chmod 777 /data You're changing the permissions of the directory... bretnewworkstation:~# ls -l /data total 16 drwx-- 2 root root 16384 2009-04-02 17:34 lost

Re: problem with chmod

2009-04-02 Thread Bret Busby
On Thu, 2 Apr 2009, Christofer C. Bell wrote: On Thu, Apr 2, 2009 at 6:55 AM, Bret Busby b...@busby.net wrote: I know that is how the syntax used to be, because I remember a person (on a UNIX system) losing his account, when he accidentally entered chmod . , which changed his . file

Re: problem with chmod

2009-04-02 Thread Boyd Stephen Smith Jr.
of the account, he had effectively made his account, totally inaccessible to everyone, including the superuser. Outside of enhanced access controls like SELinux and AppArmor, processes with the euid of 0 ignore permission bits. Even if you chmod 000 a file on purpose, a superuser can chmod

Re: problem with chmod

2009-04-02 Thread Alex Samad
On Thu, Apr 02, 2009 at 09:42:38AM -0300, Eduardo M KALINOWSKI wrote: Bret Busby wrote: [snip] ... but looking at the contents of the directory. To check the permissions on /data itself, try ls -l -d /data how easy it is to miss the simple things ... [snip] -- You can't cheat the

Re: NTFS: 3g won't shut up on chmod/chown errors

2008-11-20 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dexter Filmore wrote: Won't do me good, lots of subdirs where I need to copy selections. Will mount on another machine and copy over 100MBit, will have to do. Filed a bug report, we'll see. In the meantime you could have a look at rsync. It has

Re: NTFS: 3g won't shut up on chmod/chown errors

2008-11-19 Thread Raj Kiran Grandhi
Dexter Filmore wrote: I use these options to mount an NTFS partition: users,gid=fuse,umask=0002,silent,utf8,locale=de_DE.utf8 Now silent is supposed to suppress warnings on chmod/chown errors, each time a copy operation is completed I get couldn't change permissions on XY I need to copy

Re: NTFS: 3g won't shut up on chmod/chown errors

2008-11-19 Thread Dexter Filmore
Am Mittwoch, 19. November 2008 09:02:03 schrieb Raj Kiran Grandhi: Dexter Filmore wrote: I use these options to mount an NTFS partition: users,gid=fuse,umask=0002,silent,utf8,locale=de_DE.utf8 Now silent is supposed to suppress warnings on chmod/chown errors, each time a copy

Re: NTFS: 3g won't shut up on chmod/chown errors

2008-11-19 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dexter Filmore wrote: Am Mittwoch, 19. November 2008 09:02:03 schrieb Raj Kiran Grandhi: Whatever is wrong with good old 'cp'? You can just add a redirect to /dev/null if the warnings bother you. What's wrong with the driver working as supposed

Re: NTFS: 3g won't shut up on chmod/chown errors

2008-11-19 Thread Dexter Filmore
Am Mittwoch, 19. November 2008 20:02:33 schrieb Johannes Wiedersich: Dexter Filmore wrote: Am Mittwoch, 19. November 2008 09:02:03 schrieb Raj Kiran Grandhi: Whatever is wrong with good old 'cp'? You can just add a redirect to /dev/null if the warnings bother you. What's wrong with the

NTFS: 3g won't shut up on chmod/chown errors

2008-11-18 Thread Dexter Filmore
I use these options to mount an NTFS partition: users,gid=fuse,umask=0002,silent,utf8,locale=de_DE.utf8 Now silent is supposed to suppress warnings on chmod/chown errors, each time a copy operation is completed I get couldn't change permissions on XY I need to copy a pretty big range of files

Re: chmod, or better solutions ?

2008-10-13 Thread Juha Tuuna
Jochen Schulz wrote: The only idea that pops into my mind would be chroots for every user. But I don't see a point in doing that. Maybe just one chroot with absolute minimal software available for all users or perhaps use ${YOUR_FAVOURITE_VIRTUALIZATION_SOFTWARE_HERE}? -- Juha Tuuna -- To

Re: chmod, or better solutions ?

2008-10-13 Thread Sjoerd Hardeman
Shams Fantar wrote: Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home directory. Regards, Isn't it enough to just secure the home dirs? You

chmod, or better solutions ?

2008-10-12 Thread Shams Fantar
Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home directory. Regards, -- http://snurf.info Civil Engineering section project : http://civil-e

Re: chmod, or better solutions ?

2008-10-12 Thread Jochen Schulz
Shams Fantar: I'd like to know if it's very fine and clean to chmod -R 700 / ; This will prevent non-root users from reading *any* file on the system. If user 'shams' wants to list his home directory /home/shams, he has to have permissions to list / and /home as well. Or are there any

Re: chmod, or better solutions ?

2008-10-12 Thread Eugene V. Lyubimkin
Shams Fantar wrote: Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home directory. No, this is definitely wrong approach - risk to get broken

Re: chmod, or better solutions ?

2008-10-12 Thread Osamu Aoki
On Sun, Oct 12, 2008 at 03:56:09PM +0200, Shams Fantar wrote: Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home directory. Most likely

Re: chmod, or better solutions ?

2008-10-12 Thread Shams Fantar
Osamu Aoki wrote: On Sun, Oct 12, 2008 at 03:56:09PM +0200, Shams Fantar wrote: Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home

Re: chmod, or better solutions ?

2008-10-12 Thread Shams Fantar
Eugene V. Lyubimkin wrote: Shams Fantar wrote: Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home directory. No, this is definitely

Re: chmod, or better solutions ?

2008-10-12 Thread Shams Fantar
Jochen Schulz wrote: Shams Fantar: I'd like to know if it's very fine and clean to chmod -R 700 / ; This will prevent non-root users from reading *any* file on the system. If user 'shams' wants to list his home directory /home/shams, he has to have permissions to list / and /home

Re: chmod, or better solutions ?

2008-10-12 Thread John Hasler
Shams Fantar writes: I'd like to know if it's very fine and clean to chmod -R 700 / That would be a very, very, very bad idea. It would cripple your system and you would probably end up reinstalling. My purpose beeing that local users can't access/read any file which isn't in their own home

Re: chmod, or better solutions ?

2008-10-12 Thread Ron Johnson
On 10/12/08 08:56, Shams Fantar wrote: Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home directory. As others have said, this is pretty much

Re: chmod, or better solutions ?

2008-10-12 Thread Eduardo M KALINOWSKI
John Hasler wrote: Shams Fantar writes: My purpose beeing that local users can't access/read any file which isn't in their own home directory. Then they would not be able to run any programs. What are you trying to achieve? You can easily arrange for them not to be able to access

Re: chmod, or better solutions ?

2008-10-12 Thread Chris Bannister
On Sun, Oct 12, 2008 at 03:56:09PM +0200, Shams Fantar wrote: Hi all, I'd like to know if it's very fine and clean to chmod -R 700 / ; Or are there any better solutions ? My purpose beeing that local users can't access/read any file which isn't in their own home directory. So they can't ls

Apache+PHP-suPHP+Suhosin = chmod Problems

2008-08-01 Thread Jan Zilatny
Hi! I'm running a local setup using Debian Etch 4.0, Apache 2.2, PHP 5.2.0 (suPHP+Suhosin) - all are the default Debian Packages, as my development system. The problem I'm having is that all files created by PHP Skript are only chmoded to 600, so only the user who created them has read access

Re: chmod 670

2007-11-14 Thread Gabor Gombas
On Tue, Nov 13, 2007 at 01:25:35PM -0300, Patricio Rojo wrote: - If you try 'ls', then its contents are shown Yes, because you have read permission. - If you try 'cd' to it, you get permission denied. Yes, because you do not have search (x) permission. - If you try 'ls -l', you get many

Re: chmod 670

2007-11-14 Thread Andrew Sackville-West
On Wed, Nov 14, 2007 at 02:08:12PM +1100, Owen Townend wrote: On Tue, 2007-11-13 at 12:49 -0800, Andrew Sackville-West wrote: . can you provide the exact output from ls -l? Usually, ??? indicates some kind of filesystem damage. . I'm running Ubuntu 7.10 and was able to

chmod 670

2007-11-13 Thread Patricio Rojo
Hi, I don't know whether this is a bug or it is expected behavior. If this is a bug I would appreciate someone telling me who to report it to:D... I recently noticed that strange things happen if you do 'chmod 670' on a directory that you own, and whose group is set to one you belong

Re: chmod 670

2007-11-13 Thread Owen Townend
On Tue, 2007-11-13 at 13:25 -0300, Patricio Rojo wrote: Hi, I don't know whether this is a bug or it is expected behavior. If this is a bug I would appreciate someone telling me who to report it to:D... I recently noticed that strange things happen if you do 'chmod 670

Re: chmod 670

2007-11-13 Thread Andrew Sackville-West
recently noticed that strange things happen if you do 'chmod 670' on a directory that you own, and whose group is set to one you belong. - If you try 'ls', then its contents are shown - If you try 'cd' to it, you get permission denied. - If you try 'ls -l', you get many interrogation signs

Re: chmod 670

2007-11-13 Thread Raj Kiran Grandhi
Patricio Rojo wrote: Hi, I don't know whether this is a bug or it is expected behavior. If this is a bug I would appreciate someone telling me who to report it to:D... I recently noticed that strange things happen if you do 'chmod 670' on a directory that you own, and whose group is set

Re: chmod 670

2007-11-13 Thread Owen Townend
appreciate someone telling me who to report it to:D... I recently noticed that strange things happen if you do 'chmod 670' on a directory that you own, and whose group is set to one you belong. - If you try 'ls', then its contents are shown - If you try 'cd' to it, you

Re: chmod 670

2007-11-13 Thread s. keeling
Owen Townend [EMAIL PROTECTED]: On Tue, 2007-11-13 at 13:25 -0300, Patricio Rojo wrote: I recently noticed that strange things happen if you do 'chmod 670' on a directory that you own, and whose group is set to one you belong. - If you try 'ls', then its contents are shown

Re: chmod 670

2007-11-13 Thread s. keeling
Raj Kiran Grandhi [EMAIL PROTECTED]: Is there some reason why you would chmod 670 and not chmod 770? To cause filesystem breakage? :-) It's not a bright thing to do. Users do a lot of not bright things. We should know what's going to happen when they do this. It's interesting phenomena

Re: How to chmod files in my web server

2007-03-19 Thread Jordi
Thank Wei Chen, you solved all my doubts. I am using Drupal as CMS, it is great. I recommend you to use it. So long, and thanks very much Jordi R Cardona -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: How to chmod files in my web server

2007-03-19 Thread Jordi
Just one last question Wei Chen: And the files inside that folders are ok chmoded that way? Jordi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: How to chmod files in my web server

2007-03-19 Thread Wei Chen
On 19 Mar 2007 04:18:27 -0700, Jordi [EMAIL PROTECTED] wrote: Just one last question Wei Chen: And the files inside that folders are ok chmoded that way? Thanks for your recommendation. Yes. All files can be set 644 and all directories can be set 755 except that the upload directory should

Re: How to chmod files in my web server

2007-03-19 Thread Jordi
Thanks Wei Chen!! Jordi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

How to chmod files in my web server

2007-03-18 Thread Jordi
Hello I have a web server in my PC. I need to chmod the files correctly so I don't have a security risk. I am using a CMS for the website. I have full access to my pc, as it is in my house, and I can manipulate it through keyboard, so I have no problem to change the chmod to the most restrictive

Re: How to chmod files in my web server

2007-03-18 Thread Wei Chen
On 18 Mar 2007 09:16:35 -0700, Jordi [EMAIL PROTECTED] wrote: Hello I have a web server in my PC. I need to chmod the files correctly so I don't have a security risk. I am using a CMS for the website. I have full access to my pc, as it is in my house, and I can manipulate it through keyboard

Re: How to chmod files in my web server

2007-03-18 Thread Jordi
Hi Wei Chen, Thanks for that excelent info. I think 755 is all right. The execute bit for a directory means the permission of going into the directory. And what about setting the files to chmod 744 ? That way will be better? Or not? Jordi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

Re: How to chmod files in my web server

2007-03-18 Thread Wei Chen
On 18 Mar 2007 13:24:54 -0700, Jordi [EMAIL PROTECTED] wrote: Hi Wei Chen, Thanks for that excelent info. I think 755 is all right. The execute bit for a directory means the permission of going into the directory. And what about setting the files to chmod 744 ? That way will be better

Re: setuid(UID) and chmod 4550 misbehaving

2006-10-20 Thread Eugenio Jordán González
Hi: I know it's already pretty late to try to provide some hints on this issue, but didn't like to miss the chance in case some other people might hit same issue in the future. Provided plugin for Squirrelmail + Cyrus + SASL uses, as per code, a call to saslpasswd2 binary. In fact, it's

Re: setuid(UID) and chmod 4550 misbehaving

2006-10-20 Thread Kevin Mark
On Fri, Oct 20, 2006 at 08:25:03PM +0200, Eugenio Jordán González wrote: Hi: I know it's already pretty late to try to provide some hints on this issue, but didn't like to miss the chance in case some other people might hit same issue in the future. Provided plugin for Squirrelmail +

Re: setuid(UID) and chmod 4550 misbehaving

2006-10-20 Thread Roberto C. Sanchez
On Fri, Oct 20, 2006 at 11:38:12PM -0400, Kevin Mark wrote: On Fri, Oct 20, 2006 at 08:25:03PM +0200, Eugenio Jordán González wrote: Hi: I know it's already pretty late to try to provide some hints on this issue, but didn't like to miss the chance in case some other people might hit

Re: setuid(UID) and chmod 4550 misbehaving

2006-10-20 Thread Kevin Mark
On Fri, Oct 20, 2006 at 11:51:03PM -0400, Roberto C. Sanchez wrote: snip Hmm. I am part of the cyrus-sasl maintenance team and we are desperately trying to get away from the current packages since they have essentially been unmaintained for over two years. We just uploaded the But would I be

Re: setuid(UID) and chmod 4550 misbehaving

2006-10-20 Thread Roberto C. Sanchez
On Sat, Oct 21, 2006 at 12:22:47AM -0400, Kevin Mark wrote: On Fri, Oct 20, 2006 at 11:51:03PM -0400, Roberto C. Sanchez wrote: snip Hmm. I am part of the cyrus-sasl maintenance team and we are desperately trying to get away from the current packages since they have essentially been

Re: [OT] Executar CHMOD via gFTP

2006-08-17 Thread Paulo Estrela - UNIFACS
de Laia [EMAIL PROTECTED] To: debian-user-portuguese@lists.debian.org Sent: Wednesday, August 16, 2006 11:07 AM Subject: [OT] Executar CHMOD via gFTP Pessoal, Estamos ajustando um servidor web em um freeBSD com essas configuracoes: FreeBSD 6.1-RC FreeBSD 6.1-RC #0 Apache/2.0.55 (FreeBSD) PHP

Re: [OT] Executar CHMOD via gFTP

2006-08-17 Thread Marcelo Luiz de Laia
Paulo Estrela - UNIFACS wrote: Olá, Muito provavelmente alguém fez alterações na configuração do servidor FTP não permitindo que você altere a permissões dos arquivos. Procure o administrador desse servidor e pergunte a ele se ele não modificou algo. Ola Paulo e demais, Com relacao a

[OT] Executar CHMOD via gFTP

2006-08-16 Thread Marcelo Luiz de Laia
pasta root do site por meio do gFTP. Mas, hoje, quando loguei la, nao consegui mais. Da erro: SITE CHMOD 777 phpinfo.php 550 phpinfo.php: Permission denied Alguem teria alguma sugestao sobre o assunto? O que eu teria feito no meu gFTP para que isso tornasse impossivel de realizar? Ou seria

[Off] chmod recursivo em arquivos e diretórios

2006-05-07 Thread Fabio Guerrazzi
Pessoal, Tenho uma partição com 24G de arquivos em vários diretórios que está a maior bagunça em relação a permissões de acesso. Gostaria de dar um chmod 755 para todos os diretórios/subdirs e chmod 644 para todos os arquivos, mas não tenho idéia de como fazer. -- Fabio. -- To UNSUBSCRIBE

  1   2   3   4   5   >