+ Post New Thread
Results 1 to 4 of 4
*nix Thread, Security for directory not changing in Technical; Ive got a directory that ive ran the following commands on Code: chown -hR jack:www zage chmod -R 775 zage ...
  1. #1

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20

    Security for directory not changing

    Ive got a directory that ive ran the following commands on
    Code:
    chown -hR jack:www zage
    chmod -R 775 zage
    This seems to change the directory security correctly, heres the output from ls -l
    Code:
    drwxr-xr-x  3 jack www       4096 2008-01-11 00:02 zage
    But from my ftp server a user who is in the www cant create a folder or delete a folder already in the directory. The FTP server seems to be using the users details not just a standard account on the system.

    Oh yer its Ubuntu 7.10 Server Edition that im using

    Does anyone have any ideas on how to solve this because im stumped

    Thanks
    Jack D
    Last edited by Jackd; 11th January 2008 at 12:27 AM. Reason: Added "Ubuntu 7.10 Server Edition"

  2. #2
    greenfieldsupport's Avatar
    Join Date
    Mar 2007
    Location
    Newton Aycliffe, Durham
    Posts
    240
    Thank Post
    14
    Thanked 3 Times in 3 Posts
    Rep Power
    16
    from that it says that Jack can read write execute etc.

    but group and other can just read execute

    sounds like your chmod command isnt working, try running it as root

    sudo chmod -R 775 zage

  3. #3
    greenfieldsupport's Avatar
    Join Date
    Mar 2007
    Location
    Newton Aycliffe, Durham
    Posts
    240
    Thank Post
    14
    Thanked 3 Times in 3 Posts
    Rep Power
    16
    ls -l should read


    drwxrwxr-x zarge

  4. #4

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20
    im running my chmod as root?

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 31st January 2008, 12:17 PM
  2. Changing From II6 > Apache
    By FN-GM in forum Web Development
    Replies: 6
    Last Post: 2nd December 2007, 01:00 AM
  3. Changing Internet Security Level VIA GPO
    By johnkay21 in forum Windows
    Replies: 1
    Last Post: 3rd July 2007, 01:45 PM
  4. Changing IP Scope
    By limbo in forum Wireless Networks
    Replies: 6
    Last Post: 23rd January 2007, 05:34 PM
  5. Script to set active directory object security
    By meastaugh1 in forum Windows
    Replies: 4
    Last Post: 5th January 2007, 04:28 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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