Results 1 to 9 of 9

Thread: file permissions

Hybrid View

  1. #1

    file permissions

    hi,
    how can i set a file to be hidden to others but visible to the file owner?
    thanks

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

  3. #3
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re:file permissions

    dosent putting a dot before the file name hide it?

    .example

  4. #4

    Re:file permissions

    [quote author=boblucci link=board=12;threadid=9983;start=0#msg90573 date=1100711242]
    dosent putting a dot before the file name hide it?

    .example
    [/quote]ls -la shows it.

  5. #5
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:file permissions

    [quote author=trickster link=board=12;threadid=9983;start=0#msg90574 date=1100711666]
    [quote author=boblucci link=board=12;threadid=9983;start=0#msg90573 date=1100711242]
    dosent putting a dot before the file name hide it?

    .example
    [/quote]ls -la shows it.
    [/quote]
    You can't totally hide a file name based on who is reading it. If you set the correct permission, others won't be able to read it.

    So if you do "chmod 600 <yourfile>", then no one but you will be able to read and write.

  6. #6
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re:file permissions

    [quote author=Compunuts link=board=12;threadid=9983;start=0#msg90638 date=1100851152]
    [quote author=trickster link=board=12;threadid=9983;start=0#msg90574 date=1100711666]
    [quote author=boblucci link=board=12;threadid=9983;start=0#msg90573 date=1100711242]
    dosent putting a dot before the file name hide it?

    .example
    [/quote]ls -la shows it.
    [/quote]
    You can't totally hide a file name based on who is reading it. If you set the correct permission, others won't be able to read it.

    So if you do "chmod 600 <yourfile>", then no one but you will be able to read and write.
    [/quote]

    But if you cant see it, how do you open it

  7. #7

    Re:file permissions

    I'm thinking he wants some sort of setup and permissions like on AFS with "look" attrib (I think thats what it is) and read and a whole bunch of other perms.

  8. #8

    Re:file permissions

    Couldn't you move the files, needed to be hidden, to a directory and set that directory to be read only by you?

  9. #9
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:file permissions

    [quote author=boblucci link=board=12;threadid=9983;start=0#msg90656 date=1100886945]
    But if you cant see it, how do you open it
    [/quote]
    If you do "ls -la", you will see everything including the one with . (dot) as well.

Similar Threads

  1. Ubuntu default file permissions
    By RickDev in forum Ubuntu / Debian
    Replies: 1
    Last Post: 01-02-2007, 06:59 PM
  2. File permissions upon creating the file
    By cloverm in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 05-17-2004, 07:48 PM
  3. Help with file permissions
    By boblucci in forum Linux - General Topics
    Replies: 3
    Last Post: 04-21-2003, 02:28 PM
  4. Confused on file system permissions
    By jayc in forum Linux - General Topics
    Replies: 2
    Last Post: 01-20-2003, 05:49 PM
  5. file permissions reset to 755
    By gomez alert in forum Mandriva
    Replies: 7
    Last Post: 05-15-2002, 10:10 PM

Bookmarks

Posting Permissions

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