Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2002
    Posts
    209

    webmin problem - Chmod failed - it may not supported on remote site

    hi,

    I used ws_ftp to upload files to server but when I tried to chmod a file to777 , it said "553 Permission denied on server (chmod) Chmod failed - it may not supported on remote site" .

    what should I do to allow users be able to chmod files on remote site (control panel is webmin)?

    (I've already use chown -R user.user /path/to/directory but it doesnt work)

    thanks

  2. #2
    Join Date
    Jun 2002
    Posts
    209
    anyone ?please

  3. #3
    Join Date
    Sep 2002
    Posts
    900
    I'm not familiar with webmin, I've only seen screenshots and read about it but it might be possible that the file you are trying to chmod is not owned by the user that you using to chmod the file.

    Do an ls -l and see who the file is owned by. You may need to use the root account to change who the file is owned by.

  4. #4
    Join Date
    Sep 2002
    Location
    Mansfield
    Posts
    314
    If you can post an ls -alF of the files in question. Webmin stores the username and uses it for permissions.

    It also may be that the system will not allow files to be 777 - not really a bad thing, IMHO.
    GUI admin tools have no honor. It is a good day to vi.

  5. #5
    Join Date
    Jun 2002
    Posts
    209
    hi

    total 420
    drwxr-xr-x 9 gcnetads gcnetads 4096 Oct 13 16:58 ./
    drwxr-xr-x 3 gcnetads gcnetads 4096 Oct 13 05:36 ../
    -rw-r--r-- 1 gcnetads gcnetads 5443 Oct 13 16:56 adclick.php
    -rw-r--r-- 1 gcnetads gcnetads 4053 Oct 13 16:56 adframe.php
    -rw-r--r-- 1 gcnetads gcnetads 2553 Oct 13 16:56 adimage.php
    -rw-r--r-- 1 gcnetads gcnetads 4028 Oct 13 16:56 adjs.php
    -rw-r--r-- 1 gcnetads gcnetads 5613 Oct 13 16:56 adlayer.php
    -rw-r--r-- 1 gcnetads gcnetads 3558 Oct 13 16:56 adlog.php
    drwxr-xr-x 6 gcnetads gcnetads 4096 Oct 13 16:52 admin/
    -rw-r--r-- 1 gcnetads gcnetads 7807 Oct 13 16:56 adpopup.php
    -rw-r--r-- 1 gcnetads gcnetads 8373 Oct 13 16:56 adview.php
    -rw-r--r-- 1 gcnetads gcnetads 5692 Oct 13 16:56 adxmlrpc.php
    -rw-r--r-- 1 gcnetads gcnetads 69400 Oct 13 16:56 ChangeLog
    drwxr-xr-x 2 gcnetads gcnetads 4096 Oct 13 16:52 client/
    -rwxr--r-- 1 gcnetads gcnetads 5738 Oct 13 19:01 config.inc.php*
    drwxr-xr-x 2 gcnetads gcnetads 4096 Oct 13 16:52 documentation/
    -rw-r--r-- 1 gcnetads gcnetads 1141 Oct 13 16:56 index.php
    -rw-r--r-- 1 gcnetads gcnetads 150 Oct 13 16:56 INSTALL
    drwxr-xr-x 8 gcnetads gcnetads 4096 Oct 13 16:54 language/
    -rw-r--r-- 1 gcnetads gcnetads 10931 Oct 13 16:56 lib-acl.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 1012 Oct 13 16:56 lib-cache.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 2050 Oct 13 16:56 lib-cleantables.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 9688 Oct 13 16:56 lib-dbconfig.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 6174 Oct 13 16:56 lib-db.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 3568 Oct 13 16:56 lib-io.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 7602 Oct 13 16:56 lib-log.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 2268 Oct 13 16:56 lib-mail.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 35319 Oct 13 16:56 lib-priority.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 2734 Oct 13 16:56 lib-remotehost.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 10072 Oct 13 16:56 lib-reports.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 2436 Oct 13 16:56 lib-userlog.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 5079 Oct 13 16:56 lib-view-direct.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 8809 Oct 13 16:56 lib-view-main.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 8772 Oct 13 16:56 lib-view-query.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 7289 Oct 13 16:56 lib-view-zone.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 6592 Oct 13 16:56 lib-warnings.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 30934 Oct 13 16:56 lib-xmlrpc.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 10555 Oct 13 16:56 lib-xmlrpcs.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 15515 Oct 13 16:56 LICENSE
    drwxr-xr-x 2 gcnetads gcnetads 4096 Oct 13 16:54 maintenance/
    drwxr-xr-x 5 gcnetads gcnetads 4096 Oct 13 16:55 misc/
    -rw-r--r-- 1 gcnetads gcnetads 2109 Oct 13 16:56 phpadsnew.inc.php
    -rw-r--r-- 1 gcnetads gcnetads 6249 Oct 13 16:56 README
    drwxr-xr-x 3 gcnetads gcnetads 4096 Oct 13 16:55 samples/



    not only 777 but also other setting like 744 isnt working

    I used the following command
    chown -R user1.user1 /path/to/directory
    then user1 can remove files in that directory but he can't set chmod ...

    thanks.

  6. #6
    Join Date
    Sep 2002
    Location
    Mansfield
    Posts
    314
    It almost has to be the way the ftp daemon is set up. I know some of our users are not allowed to set the execute bit until we look at the script, and ~website users never have cgi.
    GUI admin tools have no honor. It is a good day to vi.

  7. #7
    Join Date
    Jun 2002
    Posts
    209
    thanks for the reply

    could you tell me where I could fix this in webmin please?

  8. #8
    Join Date
    Sep 2002
    Location
    Mansfield
    Posts
    314
    It's not in Webmin if I'm right - proftpd lets us set what permissions a user can apply. Not sure about wu-ftpd.

    Prolly have to look at the conf file for wu-ftpd.
    GUI admin tools have no honor. It is a good day to vi.

  9. #9
    Join Date
    Jun 2002
    Posts
    209
    thanks PHBPendragon
    I checked webmin -> wu_ftp and found the option about chmod . now my users can chmode files

    could you also help me on my email problem please?
    I've tried so many times but I just cant get my email working.
    I created a user(servicegcnet) in webmin -> system -> users then went to servers -> sendmail configuration -> mail alliases
    I put servicegcnet in Address and set alliase to "email address [email protected]"
    but it never works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •