Hello All,
Got a subfolder on a CIFS only vfiler (NTFS qtree) that I can't open, delete or rename, even though I'm connected as a user that's a member of the local administrators for the vfiler. From a windows host if I right-click the folder and choose properties there isn't even a permissions tab. Can't seize ownership. Can't open the folder (denied).
From a cifs-mounted linux host I also strike out but with odd errors.
[root@host]# mv _DIVA\ templates delete
mv: cannot stat `_DIVA templates': No such file or directory
[root@host]# ls
_DIVA templates
[root@host]# ls -al
total 24
drwxrwxrwx 3 root root 0 Feb 11 21:07 .
drwxrwxrwx 28 root root 0 Jan 28 12:23 ..
?--------- ? ? ? ? ? _DIVA templates
[root@host]#
Note that the folder is called "_DIVA templates" I've tried copying and pasting it a few different ways to see if maybe it had funky/non-printable characters in the name but it doesn't appear so.
Any ideas?
Randy Rue
Seattle WA
Hi,
what is the qtree security style of the volume?
qtree security /vol/volumename
By default, this is unix and if you want to see the NTFS security tab, you need to set it to ntfs or at least mixed.
Bye,
Alexander Griesser
System-Administrator
ANEXIA Internetdienstleistungs GmbH
Telefon: +43-463-208501-320
Telefax: +43-463-208501-500
E-Mail: ag@anexia.at
Web: http://www.anexia.at
Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] Im Auftrag von Randy Rue Gesendet: Dienstag, 12. Februar 2013 06:43 An: toasters@teaparty.net Betreff: can't touch a CIFS folder?
Hello All,
Got a subfolder on a CIFS only vfiler (NTFS qtree) that I can't open, delete or rename, even though I'm connected as a user that's a member of the local administrators for the vfiler. From a windows host if I right-click the folder and choose properties there isn't even a permissions tab. Can't seize ownership. Can't open the folder (denied).
From a cifs-mounted linux host I also strike out but with odd errors.
[root@host]# mv _DIVA\ templates delete
mv: cannot stat `_DIVA templates': No such file or directory
[root@host]# ls
_DIVA templates
[root@host]# ls -al
total 24
drwxrwxrwx 3 root root 0 Feb 11 21:07 .
drwxrwxrwx 28 root root 0 Jan 28 12:23 ..
?--------- ? ? ? ? ? _DIVA templates
[root@host]#
Note that the folder is called "_DIVA templates" I've tried copying and pasting it a few different ways to see if maybe it had funky/non-printable characters in the name but it doesn't appear so.
Any ideas?
Randy Rue
Seattle WA
Randy, Is there a lock on the file by a client? I've come across this sort of thing when an automated process (run as an Admin) tries to delete a file, but a client still has a lock on it. Until the client releases the lock then the file/folder appears to be in limbo and I'm unable to access it as an admin. In some cases I've just deleted the lock (usually using Hyena), but in other cases I've had to do a "cifs shares -delete -f sharename", and then re-create the CIFS share ("cifs shares -add....etc....). Adrian.
"Randy Rue" rrue@fhcrc.org Sent by: toasters-bounces@teaparty.net To toasters@teaparty.net 12/02/2013 05:43 cc
Subject can't touch a CIFS folder?
Hello All,
Got a subfolder on a CIFS only vfiler (NTFS qtree) that I can’t open, delete or rename, even though I’m connected as a user that’s a member of the local administrators for the vfiler. From a windows host if I right-click the folder and choose properties there isn’t even a permissions tab. Can’t seize ownership. Can’t open the folder (denied).
From a cifs-mounted linux host I also strike out but with odd errors.
[root@host]# mv _DIVA\ templates delete mv: cannot stat `_DIVA templates': No such file or directory [root@host]# ls _DIVA templates
[root@host]# ls -al total 24 drwxrwxrwx 3 root root 0 Feb 11 21:07 . drwxrwxrwx 28 root root 0 Jan 28 12:23 .. ?--------- ? ? ? ? ? _DIVA templates [root@host]#
Note that the folder is called “_DIVA templates” I’ve tried copying and pasting it a few different ways to see if maybe it had funky/non-printable characters in the name but it doesn’t appear so.
Any ideas?
Randy Rue Seattle WA_______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
------------------------------------------------------------------------------------------------------------ Get the best from British Airways at ba.com http://www.ba.com -- This message is private and confidential and may also be legally privileged. If you have received this message in error, please email it back to the sender and immediately permanently delete it from your computer system. Please do not read, print, re-transmit, store or act in reliance on it or any attachments.
British Airways may monitor email traffic data and also the content of emails, where permitted by law, for the purposes of security and staff training and in order to prevent or detect unauthorised use of the British Airways email system.
Virus checking of emails (including attachments) is the responsibility of the recipient.
British Airways Plc is a public limited company registered in England and Wales. Registered number: 1777777. Registered office: Waterside, PO Box 365, Harmondsworth, West Drayton, Middlesex, England, UB7 0GB.
Additional terms and conditions are available on our website: www.ba.com
Hi Randy,
did you try removing/renaming with wildcards? (rmdir _DIVA* ) That helped me sometimes, when a Dir/File was there but not directly accessible.
Do you have access to vFiler0? (I don't think it will work within a vFiler...) Try priv set advanced ; rm ...
Also weird things can happen, if unicode isn't used. I.e. create_unicode and convert_unicode options on the volume.
That's all that comes to my mind right now.
Sebastian
On 12.02.2013 06:42, Randy Rue wrote:
Hello All,
Got a subfolder on a CIFS only vfiler (NTFS qtree) that I can't open, delete or rename, even though I'm connected as a user that's a member of the local administrators for the vfiler. From a windows host if I right-click the folder and choose properties there isn't even a permissions tab. Can't seize ownership. Can't open the folder (denied).
From a cifs-mounted linux host I also strike out but with odd errors.
[root@host]# mv _DIVA\ templates delete
mv: cannot stat `_DIVA templates': No such file or directory
[root@host]# ls
_DIVA templates
[root@host]# ls -al
total 24
drwxrwxrwx 3 root root 0 Feb 11 21:07 .
drwxrwxrwx 28 root root 0 Jan 28 12:23 ..
?--------- ? ? ? ? ? _DIVA templates
[root@host]#
Note that the folder is called "_DIVA templates" I've tried copying and pasting it a few different ways to see if maybe it had funky/non-printable characters in the name but it doesn't appear so.
Any ideas?
Randy Rue
Seattle WA
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Hi Randy,
did you try removing/renaming with wildcards? (rmdir _DIVA* ) That helped me sometimes, when a Dir/File was there but not directly accessible.
Do you have access to vFiler0? (I don't think it will work within a vFiler...) Try priv set advanced ; rm ...
Also weird things can happen, if unicode isn't used. I.e. create_unicode and convert_unicode options on the volume.
That's all that comes to my mind right now.
Hi folks,
Another gotcha is upper/lower case. When you create a file or folder with CIFS (Windows) the upper/lower case letters are preserved. So I can create file "Hello.txt" and that is what I see in a folder listing. But CIFS filename lookup is case insensitive, so if I later write to file "hello.txt" (via CIFS) then I actually write to "Hello.txt", instead of creating a new file.
NFS, however, uses case insensitive file names, so with NFS you can create both "hello.txt" and "Hello.txt". When you list the folder contents with CIFS I think that you see both files. However, you can only access ONE of them because the case insensitive search quits at the first hit. Even if you point and click, that ultimately becomes a case insensitive directory search that may find something other than what you clicked. Spooky.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
Confirmed for real for sure that the qtree security was NTFS. It really was (and other folders on the volume show NTFS ACLs as they should).
Was ready to try priv set advanced and rm from the root filer but first I tried again using rm -rf * from the linux CIFS mount. This time it worked.
Maybe there was an open handle to the folder. But this was under a folder that had been migrated to other storage, and the original had been renamed DO_NOT_USE and was supposedly idle for over a week. Hopefully I didn't just delete some data that some user was still modifying...
----- Original Message -----
From: "Sebastian Goetze" spgoetze@gmail.com To: "Randy Rue" rrue@fhcrc.org Cc: toasters@teaparty.net Sent: Tuesday, February 12, 2013 4:40:59 AM Subject: Re: can't touch a CIFS folder?
Hi Randy,
did you try removing/renaming with wildcards? (rmdir _DIVA* ) That helped me sometimes, when a Dir/File was there but not directly accessible.
Do you have access to vFiler0? (I don't think it will work within a vFiler...) Try priv set advanced ; rm ...
Also weird things can happen, if unicode isn't used. I.e. create_unicode and convert_unicode options on the volume.
That's all that comes to my mind right now.
Sebastian
On 12.02.2013 06:42, Randy Rue wrote:
Hello All,
Got a subfolder on a CIFS only vfiler (NTFS qtree) that I can’t open, delete or rename, even though I’m connected as a user that’s a member of the local administrators for the vfiler. From a windows host if I right-click the folder and choose properties there isn’t even a permissions tab. Can’t seize ownership. Can’t open the folder (denied).
From a cifs-mounted linux host I also strike out but with odd errors.
[root@host]# mv _DIVA\ templates delete mv: cannot stat `_DIVA templates': No such file or directory [root@host]# ls _DIVA templates
[root@host]# ls -al total 24 drwxrwxrwx 3 root root 0 Feb 11 21:07 . drwxrwxrwx 28 root root 0 Jan 28 12:23 .. ?--------- ? ? ? ? ? _DIVA templates [root@host]#
Note that the folder is called “_DIVA templates” I’ve tried copying and pasting it a few different ways to see if maybe it had funky/non-printable characters in the name but it doesn’t appear so.
Any ideas?
Randy Rue Seattle WA
_______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters