Ask a Question related to Linux / Unix Administration, Design and Development.
-
Dan #1
Why can't I rename this file?
Why can't I rename this file under my normal login?
$ pwd
/var/tmp
$ ls -ld
drwxrwxrwt 3 bin bin 83456 May 13 11:51 .
$ ls -l ar.exp
-rw-rw-rw- 1 root system 2150739 May 12 23:22 ar.exp
$ mv ar.exp art.exp
mv: 0653-401 Cannot rename ar.exp to art.exp:
Operation not permitted.
TIA,
Dan
Dan Guest
-
rename file and/or folder
I am a web developer and have several clients who I have just started on Contribute. Already we are all very frustrated over the limitation of... -
upload and rename file
I am trying to determine a way to upload a file usinf cffile, but to rename it before it gets written to the filesystem. I have users uploading... -
Rename a file
Hi, Is there any inbuilt command by which we can rename a file (in WinNT) Regards, Chinku __________________________________ Do you... -
Copy File and Rename
I need to copy about 200 files from one directory to another while renaming them. Does anyone have a short script to do this? TIA -
Rename an extrenal file
I´ve tryed BuddyAPI. Works very well in direcoter. But when im creating a projecter it doesnt work.....wired -
phn@icke-reklam.ipsec.nu #2
Re: Why can't I rename this file?
Dan <dan@nospam.com> wrote:
> Why can't I rename this file under my normal login?Note the 't' bit on the directory. From the manpage (FreeBSD) :> $ pwd
> /var/tmp
> $ ls -ld
> drwxrwxrwt 3 bin bin 83456 May 13 11:51 .
> $ ls -l ar.exp
> -rw-rw-rw- 1 root system 2150739 May 12 23:22 ar.exp
> $ mv ar.exp art.exp
> mv: 0653-401 Cannot rename ar.exp to art.exp:
> Operation not permitted.
1000 (the sticky bit) When set on a directory, unprivileged
users can delete and rename only those files in the direc*
tory that are owned by them, regardless of the permissions
on the directory. Under FreeBSD, the sticky bit is ignored
for executable files and may only be set for directories
(see sticky(8)).
AIX is strange, but in this respect unix-compatible.
--> TIA,
> Dan
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
phn@icke-reklam.ipsec.nu Guest
-
Barry Margolin #3
Re: Why can't I rename this file?
In article <CLNoc.34$pe4.49155@news.uswest.net>, Dan <dan@nospam.com>
wrote:
The directory's sticky bit is set. Only the owner of a file or the> Why can't I rename this file under my normal login?
>
> $ pwd
> /var/tmp
> $ ls -ld
> drwxrwxrwt 3 bin bin 83456 May 13 11:51 .
> $ ls -l ar.exp
> -rw-rw-rw- 1 root system 2150739 May 12 23:22 ar.exp
> $ mv ar.exp art.exp
> mv: 0653-401 Cannot rename ar.exp to art.exp:
> Operation not permitted.
owner of the directory may remove or rename the file.
--
Barry Margolin, [email]barmar@alum.mit.edu[/email]
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Barry Margolin Guest



Reply With Quote

