Web Hosting Talk







View Full Version : chmod in cygwin doesn't work


kellylam
06-23-2004, 10:46 PM
Hello...
I'm currently having trouble using chmod in cygwin....
I'm using Windows XP...but when i use chmod, it doesn't change anything...
I've read the CYGWIN FAQ It suggested for me to change my passwd so that i'm not viewed as 'administrator'....currently when i do echo $USER , i get 'Administrator'...

I tried to follow the instruction but when i get to here:

" Type these commands to configure your /etc/passwd:
mkpasswd -l > /etc/passwd
mkpasswd -u username -d domain >> /etc/passwd ",

It doesn't work as it said that "mkpasswd: illegal option -- u"....

Does anyone knows how to make it works????

Thanks heaps for your help =)

regards,
Kelly

ckeeper
06-24-2004, 12:46 PM
well first, chmod dont work on windows
second, open a command line and check what the option you can use with your mkpasswd
"mkpasswd: illegal option -- u" mean that the option doesnt exist in the verison you have..

eljk2u
06-24-2004, 04:56 PM
Hi -
I've been using ms-dos to ftp to one of my sites, since File Zilla has been having troubles with it...It's incredibly easy to do - search for info if you like, but here's the gem: once in the correct remote DIR with the file, type -

(ftp>) quote site chmod 755 filename.ext

fini!

Hope this helps,
El

kellylam
06-25-2004, 09:47 AM
Originally posted by ckeeper
well first, chmod dont work on windows
second, open a command line and check what the option you can use with your mkpasswd
"mkpasswd: illegal option -- u" mean that the option doesnt exist in the verison you have..

Does that means that i need to be online to do the work?? Because I don't want to always have to be connected to work on it...
----------

Btw, i think chmod does work on windows. Because on my other desktop computer, it works. Just that on the laptop i was using didn't work....so i was wondering why.

Regards,
Kelly :)