Re: [newbie] chmod syntax
Roger Sherman wrote: Hi! I just copied my mp3 dir from the winbites partition of my PC to the Linux, in my user profile, and when I checked the permissions, it listed as access being given to user, group, and others. Now, what I want to do is to make it so only user has access, and the way I was trying to do it was by opening a su terminal and typing: chmod -r 700 /home/rog/mp3 but then I'd hit enter, and it would say chmod: 700: No such file or directory I checked the man pages, and it seemed to indicate I had the syntax right, but I guess I'm misinterpreting it somehow...anyways, what would the proper syntax for that be? -- peace, Rog Hi Rog...aren't you mixing modes there? I mean you can use letters or numbers in your chmod commands, but not both, I think? Try: chmod 700 /home/rog/mp3 You should still go into /home/rog/mp3 and do a chmod 700 * as well... That should work... -- /\ DarkLord \/
Re: [Re: [newbie] chmod syntax]
try chmod -R 700 /home/rog/mp3 Cheers --Al "Ronald J. Hall" [EMAIL PROTECTED] wrote: Roger Sherman wrote: Hi! I just copied my mp3 dir from the winbites partition of my PC to the Linux, in my user profile, and when I checked the permissions, it listed as access being given to user, group, and others. Now, what I want to do is to make it so only user has access, and the way I was trying to do it was by opening a su terminal and typing: chmod -r 700 /home/rog/mp3 but then I'd hit enter, and it would say chmod: 700: No such file or directory I checked the man pages, and it seemed to indicate I had the syntax right, but I guess I'm misinterpreting it somehow...anyways, what would the proper syntax for that be? -- peace, Rog Hi Rog...aren't you mixing modes there? I mean you can use letters or numbers in your chmod commands, but not both, I think? Try: chmod 700 /home/rog/mp3 You should still go into /home/rog/mp3 and do a chmod 700 * as well... That should work... -- /\ DarkLord \/ Get your own FREE, personal Netscape WebMail account today at http://home.netscape.com/webmail
Re: [Re: [newbie] chmod syntax]
Konqueror (KDE2), GMC (GNOME) and MC (console) can change permissions graphically. In Konqueror and GMC, all you have to do is right click the file/directory and select propeties. In the properties window you will be able to change the permissions. MC is a bit trickier, but much more powerful. On Mon, 11 Dec 2000 14:32, Altoine Barker wrote: try chmod -R 700 /home/rog/mp3 Cheers --Al "Ronald J. Hall" [EMAIL PROTECTED] wrote: Roger Sherman wrote: Hi! I just copied my mp3 dir from the winbites partition of my PC to the Linux, in my user profile, and when I checked the permissions, it listed as access being given to user, group, and others. Now, what I want to do is to make it so only user has access, and the way I was trying to do it was by opening a su terminal and typing: chmod -r 700 /home/rog/mp3 but then I'd hit enter, and it would say chmod: 700: No such file or directory I checked the man pages, and it seemed to indicate I had the syntax right, but I guess I'm misinterpreting it somehow...anyways, what would the proper syntax for that be? -- peace, Rog Hi Rog...aren't you mixing modes there? I mean you can use letters or numbers in your chmod commands, but not both, I think? Try: chmod 700 /home/rog/mp3 You should still go into /home/rog/mp3 and do a chmod 700 * as well... That should work... -- Sridhar Dhanapalan. Your mouse has moved. Windows must be rebooted to acknowledge this change.
Re: [newbie] chmod syntax
On Saturday 09 December 2000 15:47, you wrote: Hi! I just copied my mp3 dir from the winbites partition of my PC to the Linux, in my user profile, and when I checked the permissions, it listed as access being given to user, group, and others. Now, what I want to do is to make it so only user has access, and the way I was trying to do it was by opening a su terminal and typing: chmod -r 700 /home/rog/mp3 but then I'd hit enter, and it would say chmod: 700: No such file or directory chmod thinks you are trying to set permissions on a file named 700. Try either "chmod -r /home/rog/mp3" or "chmod 700 /home/rog/mp3" -- Alex (Go easy on me, I'm a COBOL programmer in real life)
Re: [newbie] chmod syntax
On Sat, 9 Dec 2000, A V Flinsch wrote: On Saturday 09 December 2000 15:47, you wrote: Hi! I just copied my mp3 dir from the winbites partition of my PC to the Linux, in my user profile, and when I checked the permissions, it listed as access being given to user, group, and others. Now, what I want to do is to make it so only user has access, and the way I was trying to do it was by opening a su terminal and typing: chmod -r 700 /home/rog/mp3 but then I'd hit enter, and it would say chmod: 700: No such file or directory chmod thinks you are trying to set permissions on a file named 700. Try either "chmod -r /home/rog/mp3" or "chmod 700 /home/rog/mp3" Actually I got it worked out, but thanks anyways! It turned out I needed to capitalize the R... -- peace, Rog http://www.slammingrooves.com Registered Linux user #190719