Automatic Mount Udf On The DVD - Rights

I have CENTOS 6.3 and I use the DVD with created filesystem UDF.
When I put my DVD to PC all is working fine and UDF is automaticaly mounted and I have folder LinuxUDF.

But I would like to change rights on that folder. I can not find where is it possible to set it.
I tried udev, autofs ... but without success.

Have you got any idea where to find it ?


Similar Content



Automatic Mount Udf On The DVD - Rights

I have CENTOS 6.3 and I use the DVD with created filesystem UDF.
When I put my DVD to PC all is working fine and UDF is automaticaly mounted and I have folder LinuxUDF.

But I would like to change rights on that folder during atomatic mounting. I can not find where is it possible to set it.
I tried udev, autofs ... but without success.

Have you got any idea where to find it ?

Can We Mount Shares On Already Mounted Filesystem, E.g. /tmp?

Hello,
I just want to know if it is possible to mount a share to /tmp on RHEL 6.6?

For example to mount <device hosting share>:/vol/share_name as /tmp
which is already mounted as follows:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/SDVol-LVtmp
1998672 512380 1381436 28% /tmp

Thank you.

Is It Food Have Find Command Running In Cron Every Day Once To Delete Older Files

I need to clean-up some folder. I have a cron job which uses find command to find and delete 25 days older file.

Code:
find $FOLDER_PATH/$FOLDER -depth -regex  ^$FOLDER_PATH/$FOLDER/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ -type d -mtime +25  -exec ls -ld {} \;   >> /tmp/deleted_folders.log

When this running it occupies 1-3% of cpu. And it may take longer time based on the folder size.

Is it ok to have find command running as cron job ?

Fuse Mount Point - Permission Denied

Hi everyone,

I created a fuse mountpoint. After mounting, the file permissions are all screwed up and it says I cannot ls or cd. Permission denied.

The file permissions look like this:
d????????? ? ? ? ? ? temp

and when i list the mounted devices I get:
/dev/fuse on /temp type fuse (rw,nosuid,nodev)

I used mono-fuse. I just created a new folder with permissions 777 and then did a mount. After unmounting I can do all operations, but when I mount, I get such error.

I used
HelloFS.exe that comes along with mono fuse for testing. Can someone shed some light on this weird behavior and what mistake ive done. Thank you !!

-Sethu

Sharing Folders And Mounting Shares With SetGID / Samba

OK this is kinda long, so I will shorten it as much as I can, as to not be long-winded.

My current network at home:
1 - CentOS 7 desktop (server)
1 - Ubuntu 14.04 desktop
1 - Fedora 21 laptop
2 - Windows 7 desktops
some other various windows boxes also that don't get used regularly, but are on the network.

My 2 Linux desktops (which I use as servers, but they really aren't) have shared folders on them, which I share to the network via Samba (CIFS). I use Samba because Linux is smarter than Windows and Windows won't read NFS, so I share them as Samba so all devices can see them.

Generally speaking, if I share the folders on each box as 0777, I have no issues. But lately I have been wanting to implement some better security, so I wanted to SETGID and chown the shared folders from the local machine to a specific group, then change the folders to 2774.

My problem is that I keep getting permissions errors when trying to connect from the other Linux machines, and sometimes the Windows machines also. My main question is: do I CHMOD 2774 the local mount-point before mounting it? Or so I CHMOD 2774 the shared folder on the other server, then mount it locally to a folder whose permissions are different? Or do I CHMOD both of them the same?

basically the uis and gid ownerships change on a local folder when I mount a shared drive to that folder, so when I try to write or sometimes read that local folder, I get permissions errors.

I can provide any additional info needed.

Find 30 Days Old And Delete Prints Error Msg File Not Found After Deleting It

I have a shell script to find folders which are 25 days older and delete it, and put the deleted folder details into log file like this

Code:
 find /ahome/xxx/$FOLDER -type d -mtime +25  -exec ls -ld {} \;  -exec rm -rf {} \;  >> mylogfile.log

after running this command it deletes the folder and logs the folder deleted. But also print error msg
Code:
find: /ahome/prksh/dir/test: No such file or directory

How to suppress the error msg

Dual Boot Centos7 And Kali

I had Kali and Linux Mint installed and erased Mint to install Centos7. Grub was totally deleted and I could only boot into grub recovery. Many hours of cussing later I got Kali back, I can see Centos filesystem mounted on my desktop and in disk utility. I never finished setting Centos up as I was rushed out the door which probably caused the problem in the first place, for some reason it's raid and although it's 2 harddrives they are not set up for raid and 1 is Kali and 1 is Centos. The Centos boot folder is still empty after running grub-install on it twice and it does not show in grub. How do I get Centos as an option?

Data Is Not Visible Which Is Mounted On /dev/sdb1

Hi All,

I have Redhat5.3 running on my machine. I have 800 GB data mounted on /dev/sdb1 partition. When I reboot my machine and after reboot the data is not available in /data folder. I have already use mount command but its not working.

Can anyone help me how to retrieve those data.

"make Install" In A Custom Directory ?

hi,

Because i am cross compiling busybox for an arm board and can't install directy busybox on it (it don't have apt-get/sudo/make) i tried to compile busybox with arm-linux-gcc and "make" it in a custom directory with /usr/ /bin/ sbin/ this way i could copy paste the folder and the exe in a clean root and transfert this root to my board.

Sadly i don't seems to be able to change the installation patch.
i tried with :
Code:
make install PREFIX=/home/blabla1/blabla2/blabla3

but when going into the blabla3 folder i find no file (/usr/ /bin/ and /sbin/ are present because i created them myself).

./configure can't be used because the file don't exist.

Any idea on how i could change the installation patch ?

Create Folder With Same Permission

I want to copy a folder and have the same permission as a existing folder , I tried cp -r -p may copy permission but it also copy everything includes sub-directory and files to new folder , would advise the way how to create a folder with copying all files to new created folder ? thanks