简体   繁体   中英

Create file on unmounted folder

What happen if we try to create a file on a unmounted folder? Does the file is created on local system?

I have a mounted folder that could sometimes unmount for reasons

I'm going to schedule a oracle procedure that writes a file inside there, what will happen if somehow the folder is unmounted

Does the file is created on local system?

Yes. Or, better, the file is created into that directory (don't call folder unix directories... :)), wherever that directory is (it could be part of a mounted remote file system, in that case it was not part of the local system).

Writing permissions on the directory play a role, and the mount command can also play with those permissions, but this is another, complicated matter.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM