Re: permission denied - can files be locked in linux?

From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 11/21/04


Date: 21 Nov 2004 16:35:11 GMT


"Max" <nospam@notvalid.com> writes:

]I understand permissions, but I don't have shell access. Can you give me
]some idea what is causing the lock on the files and ways to remove it? I
]think PHP can lock files, but I didn't know it affected the filesystem...

If you do not have control over the system, talk to the people that do.

And I doubt that you do understand permissions.
lsattr and chattr are NOT the usual permissions.

]I'm using EZ Web Hosting -- Apache 1.3.33 (Unix) -- I don't know what
]filesystem.

]Thanks

]"Michael Heiming" <michael+USENET@www.heiming.de> wrote in message
]news:mnm572-o2v.ln1@news.heiming.de...
]> In alt.os.linux Max <nospam@notvalid.com>:
]>> I'm having problems deleting and overwriting files on linux. I'm trying
]>> to
]>> modify templates in a PHP application on the live server. Even when I set
]>> to
]>> 777, some files still give me permission denied and I cannot overwrite or
]>> delete them, even using the app provided by the hosting company. Is it
]>> possible the PHP app could be locking them (like Windows does)? How do I
]>> get
]>> around this without shutting down the app or the server?
]>
]> Try:
]>
]> man lsattr
]> man chattr
]>
]> Not uncommon, to prevent people from changing files in a shared
]> dir they shouldn't. If not, show us the output of 'mount'
]> concerning the file-system in question.
]>
]> --
]> Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
]> mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
]> #bofh excuse 193: Did you pay the new Support Fee?

]----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
]http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
]---= East/West-Coast Server Farms - Total Privacy via Encryption =---



Relevant Pages

  • Re: Linked .csv File Locking
    ... MS Access can lock a linked .csv file even though the file permissions are ... and the directory permissions are read-only. ...
    (microsoft.public.access.security)
  • Re: access() is a security hole?
    ... >> Perhaps the way to avoid the race is to open the file, lock it, ... > can't tell you that access should have been blocked due to permissions ... > inode returned by the fstatand statare the same makes the race ... > there's no way to securely do this and handle symlinks (because you ...
    (FreeBSD-Security)
  • Re: permission denied - can files be locked in linux?
    ... I understand permissions, but I don't have shell access. ... think PHP can lock files, but I didn't know it affected the filesystem... ... even using the app provided by the hosting company. ...
    (alt.os.linux)
  • Re: error when I unzip
    ... On Sunday 14 October 2007 10:58:43 Hex Star wrote: ... It's permissions are set to root and so a lock symbol shows in the icon to ... "Truth lies within ourselves: it takes no rise from outward things, ...
    (Ubuntu)
  • RE: IIS still vulnerable
    ... definitely lock permissions down on the ntfs level for the iusr ... Set Basic NTFS Permissions for IIS 5.0 ...
    (microsoft.public.inetserver.iis.security)